Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
- index 13a378c..4daf55c 100644
- --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp
- +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp
- @@ -4347,6 +4347,24 @@ void AuraEffect::HandleAuraModRoot(AuraApplication const *aurApp, uint8 mode, bo
- target->ToPlayer()->setInWorgenForm();
- break;
- }
- + case 33395: //Freeze, Water Elemental
- + {
- + Unit* pPlayer = GetCaster()->GetOwner();
- + uint32 uiChance;
- + if (pPlayer && pPlayer->GetTypeId() == TYPEID_PLAYER)
- + {
- + if (pPlayer->HasAura(86259))
- + uiChance = 33;
- + else if (pPlayer->HasAura(86260))
- + uiChance = 66;
- + else if (pPlayer->HasAura(86314))
- + uiChance = 100;
- + if (roll_chance_i(uiChance))
- + if (Aura* aura = pPlayer->AddAura(44544, pPlayer))
- + aura->SetStackAmount(2);
- + }
- + break;
- + }
- default:
- break;
- }
Add Comment
Please, Sign In to add comment