I DLed the editor in hopes I'd be able to see the full formula for every ability. So far, I've seen mystic variables like those below. Where can I find the values for the names in caps like FLAME_BLAST_DAMAGE_FACTOR?
float fDamage = (100.0f + GetCreatureSpellPower(stEvent.oCaster)) * FLAME_BLAST_DAMAGE_FACTOR;
ApplyEffectDamageOverTime(oTarget, stEvent.oCaster, stEvent.nAbility, fDamage, FLAME_BLAST_DAMAGE_DURATION, DAMAGE_TYPE_FIRE);
Getting exact numbers for spell/skill formulas
Débuté par
Yargoyle
, déc. 25 2009 05:55
#1
Posté 25 décembre 2009 - 05:55
#2
Posté 25 décembre 2009 - 07:01
That would be under spell constants script. When you open up the script for the spells for example, at the top there will be lines that say something like #include "spell_constants_h". That means it's including some other script or in this case, constants.
In this case, FLAME_BLAST_DAMAGE_FACTOR = 0.45
In this case, FLAME_BLAST_DAMAGE_FACTOR = 0.45
Modifié par eriaa, 25 décembre 2009 - 07:06 .
#3
Posté 25 décembre 2009 - 10:48
You can rightclick most of these constants and click "Go to definition" (or similar).





Retour en haut






