Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Basic and made by Sunrise!:D//
- switch(GetId())
- {
- case 71903:
- if(caster->GetTypeId() == TYPEID_PLAYER && urand(1,5)== 1)
- caster->CastSpell(caster, 71905, true);
- break;
- case 71905:
- if (apply)
- {
- if(GetStackAmount()== 1)
- caster->AddAura(72521, caster);
- if(GetStackAmount() == 6)
- {
- caster->RemoveAura(72521);
- caster->CastSpell(caster, 72523, false);
- }
- if(GetStackAmount() == 6)
- {
- caster->RemoveAura(72523);
- caster->RemoveAura(71905);
- caster->CastSpell(caster, 71904, false);
- caster->CastSpell(caster, 73422, false);
- }
- break;
- }
- if (!apply && aurApp->GetRemoveMode()!= aura_remove_by_stack)
- {
- caster->RemoveAura(72521);
- caster->RemoveAura(72523);
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement