mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
[Bug Fix] Remove duplicate logic in GetActSpellHealing reducing HOT criticals (#2786)
# Notes - Removes duplicate critical chance roll in `Mob::GetActSpellHealing`. - Not sure if this was Live-like or an oversight, but it seems to drastically reduce the possibility of a HOT getting a critical. - A 1% chance becomes a 0.01% chance being we have to roll twice.
This commit is contained in:
parent
037be84f38
commit
8c12f7b431
@ -437,8 +437,7 @@ int64 Mob::GetActSpellHealing(uint16 spell_id, int64 value, Mob* target, bool fr
|
||||
}
|
||||
}
|
||||
|
||||
if (critical_chance && zone->random.Roll(critical_chance))
|
||||
value *= critical_modifier;
|
||||
value *= critical_modifier;
|
||||
}
|
||||
|
||||
if (IsNPC() && CastToNPC()->GetHealScale()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user