AgonyAunt / Sigil-City-of-Doors-PW

2 stars 4 forks source link

Monk - Meditative Strikes #373

Closed edmaster44 closed 6 years ago

edmaster44 commented 6 years ago

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.

edmaster44 commented 6 years ago

//Meditative Strike

include "x2_inc_itemprop"

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!

edmaster44 commented 6 years ago

To be tested

edmaster44 commented 6 years ago

Updated, needs to be attached too OnEquip Event.

edmaster44 commented 6 years ago

Done and ready to go.