mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Adjust Rogue Evade drop
Live seems to be inconsistent with how much hate is dropped, but I parsed ~69% drop on the highest and ~39% for the lowest. So round to 70 and 40. It was also fairly obvious there was a min hate it could drop you to, which parsed out to ~100 hate.
This commit is contained in:
parent
3dec02881a
commit
5a08e0ffd9
@ -1343,8 +1343,8 @@ bool Mob::PassCharismaCheck(Mob* caster, uint16 spell_id) {
|
||||
|
||||
void Mob::RogueEvade(Mob *other)
|
||||
{
|
||||
int amount = other->GetHateAmount(this) - (GetLevel() * 13);
|
||||
other->SetHateAmountOnEnt(this, std::max(1, amount));
|
||||
int amount = other->GetHateAmount(this) * zone->random.Int(40, 70) / 100;
|
||||
other->SetHateAmountOnEnt(this, std::max(100, amount));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user