Aller au contenu

Photo

Getting exact numbers for spell/skill formulas


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Yargoyle

Yargoyle
  • Members
  • 25 messages
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);


#2
eriaa

eriaa
  • Members
  • 143 messages
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

Modifié par eriaa, 25 décembre 2009 - 07:06 .


#3
Trylane

Trylane
  • Members
  • 183 messages
You can rightclick most of these constants and click "Go to definition" (or similar).