fix(Core/Spells): Crown Parcel Service Uniform should dismount players (#10654)

- Closes #10652
This commit is contained in:
UltraNix
2022-02-15 12:46:53 +01:00
committed by GitHub
parent 979c312169
commit a92708686d

View File

@@ -459,9 +459,15 @@ class spell_gen_aura_service_uniform : public AuraScript
if (target->GetTypeId() == TYPEID_PLAYER)
{
if (target->getGender() == GENDER_MALE)
{
target->SetDisplayId(MODEL_GOBLIN_MALE);
}
else
{
target->SetDisplayId(MODEL_GOBLIN_FEMALE);
}
target->RemoveAurasByType(SPELL_AURA_MOUNTED);
}
}