Jump to content

lostsoul123

Members
  • Posts

    3
  • Joined

  • Last visited

lostsoul123's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Found the answer sorry for silly questions
  2. Please help me out with this script i dont know whats wrong with it When i write it in vs it tells me No instance of constructor matches the argument list class spell_mage_temporal_shield_trigger : public SpellScriptLoader { public:    spell_mage_temporal_shield_trigger() : SpellScriptLoader("spell_mage_temporal_shield_trigger") {}    class spell_mage_temporal_shield_trigger_AuraScript : public AuraScript    {//this script will be added to 115610 for triggering 115611       PrepareAuraScript(spell_mage_temporal_shield_trigger);       void HandleAfterEffectApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)       {          TC_LOG_INFO("misc", "Aura Effect has just been applied on target!");          Unit* caster = GetTarget();          if (caster->HasAura(115610) && caster->MeleeDamageBonusTaken || caster->HasAura(115610) && caster->SpellDamageBonusTaken)             caster->CastSpell(caster, 115611, true);       }       void Register() OVERRIDE       {          AfterEffectApply += AuraEffectApplyFn(spell_mage_temporal_shield_trigger_AuraScript::HandleAfterEffectApply, EFFECT_0, SPELL_AURA_DUMMY, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);       }          AuraScript* GetAuraScript() const OVERRIDE       {          return new spell_mage_temporal_shield_trigger_AuraScript();       }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.