I was wondering if it is possible to change combat magic to instead use attack instead of spellpower. Initially I have tried this...
eEffects[0] = EffectModifyProperty(PROPERTY_ATTRIBUTE_ATTACK, COMBAT_MAGIC_ATTACK_BONUS + MaxF(GetCreatureSpellPower(stEvent.oCaster)/5.0,0.0)
to
eEffects[0] = EffectModifyProperty(PROPERTY_ATTRIBUTE_SPELLPOWER, COMBAT_MAGIC_ATTACK_BONUS + MaxF(GetCreatureAttack(stEvent.oCaster)/5.0,0.0)
in the spell_modal.nss, but when compiling I get the error, "E: 13:03:41 - spell_modal.nss - spell_modal.nss(80): Undefined identifier (GetCreatureAttack)"
Where would I go to create GetCreatureAttack, or is this the total wrong way to go about it? Any help would be much appreciated, thanks.
combat magic modding
Débuté par
sneakow
, avril 23 2010 08:10





Retour en haut






