SE_Root and SE_RootBreakChance updates

This commit is contained in:
KayenEQ
2014-03-06 07:36:47 -05:00
parent d22c8832f7
commit 55f5d4affa
7 changed files with 38 additions and 28 deletions
+10
View File
@@ -2533,6 +2533,16 @@ void Mob::ApplySpellsBonuses(uint16 spell_id, uint8 casterlevel, StatBonuses* ne
newbon->FrenziedDevastation += spells[spell_id].base2[i];
break;
case SE_Root:
if (newbon->Root[0] && (newbon->Root[1] > buffslot)){
newbon->Root[0] = 1;
newbon->Root[1] = buffslot;
}
else {
newbon->Root[0] = 1;
newbon->Root[1] = buffslot;
}
break;
}
}
}