mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 08:06:23 +00:00
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->getGender() == GENDER_MALE)
|
||||
{
|
||||
target->SetDisplayId(MODEL_GOBLIN_MALE);
|
||||
}
|
||||
else
|
||||
{
|
||||
target->SetDisplayId(MODEL_GOBLIN_FEMALE);
|
||||
}
|
||||
|
||||
target->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user