So I've been recently on a mission to get Deathknights working, but its driving me crazy. I'm trying to get the Type+Status of currently active Runes.
Just for those who don't know how Deathknights work (rest can skip this):
Deathknights have Runes to fight. They are similiar to the Rogues's combo-points. There are always 6 Runes. Each rune can either be active (charged) or not active (on cooldown). I.e. When you cast a spell that needs 1 Blood Rune, one of your active blood runes is going to be used and you can't cast that spell again until the cooldown is completed (or there's another active bloodrune). Here's a picture:
So I assumed this can't really be so complicated. I looked for changing values at Unit Structure, Player Structure, Player Base... but they don't seem to be stored there.
So I had another idea, I noticed there's a LUA-Function GetRuneCooldown(slotnr). After playing around a little in Olly I found the address of it at: 0x56DA00. Okay, so I set some breakpoints there to see what its doing and maybe that way I can find out where the Runes are stored. After doing that for a couple hours I realized I really have no idea what I'm doing :confused:
Here's that function in Olly:
Any advice ?