Fix rogue's evade to be single target

This is also a lot nice performance wise
This commit is contained in:
Michael Cook (mackal)
2014-03-05 01:34:17 -05:00
parent 05df6c5b21
commit d70c4d7bbe
5 changed files with 28 additions and 8 deletions
+8
View File
@@ -1447,3 +1447,11 @@ bool Mob::PassCharismaCheck(Mob* caster, Mob* spellTarget, uint16 spell_id) {
return false;
}
void Mob::RogueEvade(Mob *other)
{
int amount = other->GetHateAmount(this) - (GetLevel() * 13);
other->SetHate(this, std::max(1, amount));
return;
}