Fix snake's HP for hunter's Snake Trap

--HG--
branch : trunk
This commit is contained in:
Shocker
2010-09-03 19:04:32 +03:00
parent 5469af3775
commit ee83ffdfca
2 changed files with 1 additions and 4 deletions

View File

@@ -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));