Fix snake's HP for hunter's Snake Trap

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

No files matched your search

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