mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-16 13:00:42 -04:00
Core:
* add helping methods for manipulating unit's health and use it where applicable * fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces) --HG-- branch : trunk
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
if (NewPet->getDeathState() == DEAD)
|
||||
NewPet->setDeathState(ALIVE);
|
||||
|
||||
NewPet->SetHealth(NewPet->GetMaxHealth());
|
||||
NewPet->SetFullHealth();
|
||||
NewPet->SetPower(NewPet->getPowerType(),NewPet->GetMaxPower(NewPet->getPowerType()));
|
||||
|
||||
switch (NewPet->GetEntry())
|
||||
|
||||
Reference in New Issue
Block a user