Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Big Bad Bot on November 24, 2014, 02:26:37 pm
-
Hello everyone. Right now I want to do something pretty weird. I'm looking to make a custom spell that reflects some attributes placed in other DBC rows or simply the character attributes (like his HP, MP, celerity level, etc). I know some "codes" in the column 177 point to the data of other fields in the same row, like "$s1" who reflects the value of column 81, "$t2" and "$d" who points to loop time and duration time (just other fields really).
TL;DR?
I want to make a spell that shows in the description the strenght of the character player, like (if he have 200): "This spell does 200 damage points" (I don't care if the spell doesn't really do that damage, it's an example).
So guys, do you think that this is possible?
PS: There's a graphic representation about what I want to do.
-
For character level it's possible, but not for anything else that I know of. For level, make a dummy spell effect and set the EffectRealPointsPerLevel column for that effect to 1, then when you use $sX for that effect it will show character level in the tool tip
-
That's usefull. Doesn't solve my problem, but helps a lot; thanks!
-
I'm not sure if there is a solution for this. The closest is spells that add a % of your stat to something. For example, Nurturing Instincts increases your healing by a % of your agility.
Now I suppose you could try doing this via a 2-spell system. Spell 1 would be the damage spell and spell 2 would be the damage modifier. You could try normalizing Spell 1 to deal 0 base damage. Spell 2 then modifies spell 1 by adding 100% of, for example, your intelligence (which is let's say 100). So now Spell 1 should do 100 damage. However, I'm not sure if Spell 1's tooltip will reflect that.
-
Restores $o1 health over $d. Must remain seated while eating. If you spend at least 10 seconds eating you will become well fed and gain $19705s1 Stamina and Spirit for $19705d.
Taken from spell 5004 (Food) which is using spell 19705 (Well Fed) as triggered spell. Might help a bit.
-
Damn this double post thing.
-
Restores $o1 health over $d. Must remain seated while eating. If you spend at least 10 seconds eating you will become well fed and gain $19705s1 Stamina and Spirit for $19705d.
Taken from spell 5004 (Food) which is using spell 19705 (Well Fed) as triggered spell. Might help a bit.
That doesn't help at all. The well fed just increases his stamina and spirit by a set amount. He's looking for a way that references his character's actual stamina and spirit.