Changed SE_LimitMaxMana to SE_MeleeVulnerability - Weakness/Mitigation verse melee damage

(Despite lives SPA lable as the former it clearly is not what the effect does from all spell examples)
This commit is contained in:
KayenEQ
2014-07-03 10:55:59 -04:00
parent ee741048e9
commit 0d2127f874
6 changed files with 20 additions and 13 deletions
+1 -11
View File
@@ -2942,7 +2942,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
case SE_FcIncreaseNumHits:
case SE_CastonFocusEffect:
case SE_FcHealAmtIncoming:
case SE_LimitManaMax:
case SE_MeleeVulnerability:
case SE_DoubleRangedAttack:
case SE_ShieldEquipHateMod:
case SE_ShieldEquipDmgMod:
@@ -4287,11 +4287,6 @@ int16 Client::CalcAAFocus(focusType type, uint32 aa_ID, uint16 spell_id)
LimitFailure = true;
break;
case SE_LimitManaMax:
if(spell.mana > base1)
LimitFailure = true;
break;
case SE_LimitTarget:
if (base1 < 0) {
if (-base1 == spell.targettype) //Exclude
@@ -4718,11 +4713,6 @@ int16 Mob::CalcFocusEffect(focusType type, uint16 focus_id, uint16 spell_id, boo
return 0;
break;
case SE_LimitManaMax:
if(spell.mana > focus_spell.base[i])
return 0;
break;
case SE_LimitTarget:
if (focus_spell.base[i] < 0) {
if (-focus_spell.base[i] == spell.targettype) //Exclude