Core/Commands: The .setskill command is now usable even if the player doesn't already have the skill learned.
This commit is contained in:
1 parent
bbd84d211d
commit
735cebf7a3
2 files changed
+10
-12
No files matched your search
@@ -5072,6 +5072,7 @@ void Spell::EffectResurrectPet(SpellEffIndex /*effIndex*/)
|
||||
hadPet = false;
|
||||
}
|
||||
|
||||
// TODO: Better to fail Hunter's "Revive Pet" at cast instead of here when casting ends
|
||||
Pet* pet = player->GetPet(); // Attempt to get current pet
|
||||
if (!pet || pet->IsAlive())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user