mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
Fix rogue's evade to be single target
This is also a lot nice performance wise
This commit is contained in:
1 parent
05df6c5b21
commit
d70c4d7bbe
5 files changed
+28
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user