fix(Core/Spells): Crown Parcel Service Uniform should dismount players (#10654)
- Closes #10652
This commit is contained in:
@@ -459,9 +459,15 @@ class spell_gen_aura_service_uniform : public AuraScript
|
|||||||
if (target->GetTypeId() == TYPEID_PLAYER)
|
if (target->GetTypeId() == TYPEID_PLAYER)
|
||||||
{
|
{
|
||||||
if (target->getGender() == GENDER_MALE)
|
if (target->getGender() == GENDER_MALE)
|
||||||
|
{
|
||||||
target->SetDisplayId(MODEL_GOBLIN_MALE);
|
target->SetDisplayId(MODEL_GOBLIN_MALE);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
target->SetDisplayId(MODEL_GOBLIN_FEMALE);
|
target->SetDisplayId(MODEL_GOBLIN_FEMALE);
|
||||||
|
}
|
||||||
|
|
||||||
|
target->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user