mobs aggro to pets
This commit is contained in:
@@ -159,9 +159,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
|
||||
MovementManager.translocate(pet, owner.getLoc(), owner.region);
|
||||
}
|
||||
pet.recalculateStats();
|
||||
if(pet.isPet()){
|
||||
pet.healthMax = pet.level * 0.5f * 120;
|
||||
}
|
||||
pet.healthMax = pet.level * 0.5f * 120;
|
||||
pet.setHealth(pet.healthMax);
|
||||
PetMsg pm = new PetMsg(5, pet);
|
||||
Dispatch dispatch = Dispatch.borrow(owner, pm);
|
||||
|
||||
Reference in New Issue
Block a user