diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-03-07 12:36:15 -0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-08-17 20:04:14 +0200 |
commit | 40a9055a5fe994dd0b79ebb099e29dbc1d517b0b (patch) | |
tree | 5ae0cb561a3d127fda427741d2a78d393ddb6b6f | |
parent | 27b5d1834850a1e7c64cb03200cdf7610d354730 (diff) |
Core/Auras: Implement Roc form shapeshift
Closes #16164
(cherrypicked from c7a5aa3902ca548ac4355d659e29c6c88cef3525)
-rw-r--r-- | src/server/game/Spells/Auras/SpellAuraEffects.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 65541ec7fd2..1859256b0a1 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -1683,7 +1683,18 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo Unit* target = aurApp->GetTarget(); ShapeshiftForm form = ShapeshiftForm(GetMiscValue()); - uint32 modelid = target->GetModelForForm(form); + uint32 modelid = 0; + + switch (GetId()) + { + // Roc Form + case 35200: + modelid = 4877; + break; + default: + modelid = target->GetModelForForm(form); + break; + } if (apply) { |