Closed edmaster44 closed 6 years ago
//Meditative Strike
object oTarget = GetSpellTargetObject();
//Get Damage based on Wisdom Modifer int nWisdomBounus = GetAbilityModifier(ABILITY_WISDOM);
int nDamage = IPGetDamageBonusConstantFromNumber(nWisdomBounus); //Damage based on Modifer and it's effect, magical effect eDamage = EffectDamageIncrease(nDamage,DAMAGE_TYPE_MAGICAL); //Makes it Undispellable, does not ge removed by resting eDamage = SupernaturalEffect(eDamage);
//Applies effect too Player Permanently ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDamage, oTarget); } //Script, to be edited!
To be tested
Updated, needs to be attached too OnEquip Event.
Done and ready to go.
Nerf, reduce requirement from 20 to 15 too account ECL Races. Make it work only for Monk weapons and add magical damage effect too only apply too Weapons, not character too avoid multiplying it.