mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Fix snake's HP for hunter's Snake Trap
--HG-- branch : trunk
This commit is contained in:
@@ -1689,6 +1689,7 @@ public:
|
||||
else
|
||||
IsViper = false;
|
||||
|
||||
me->SetMaxHealth(uint32(107 * (me->getLevel() - 40) * 0.025f));
|
||||
//Add delta to make them not all hit the same time
|
||||
uint32 delta = (rand() % 7) * 100;
|
||||
me->SetStatFloatValue(UNIT_FIELD_BASEATTACKTIME, float(Info->baseattacktime + delta));
|
||||
|
||||
Reference in New Issue
Block a user