From 41c12d173b8d0cf297edf70e40b8e13b9bf3af35 Mon Sep 17 00:00:00 2001 From: QAston Date: Mon, 17 Aug 2009 02:53:39 +0200 Subject: *Add spell_bonus_data for lightwell - by Elron *Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks *Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead. --HG-- branch : trunk --- src/bindings/scripts/scripts/world/npcs_special.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/world/npcs_special.cpp b/src/bindings/scripts/scripts/world/npcs_special.cpp index ef826d4af3a..2fa1df0c128 100644 --- a/src/bindings/scripts/scripts/world/npcs_special.cpp +++ b/src/bindings/scripts/scripts/world/npcs_special.cpp @@ -1766,33 +1766,14 @@ CreatureAI* GetAI_npc_ebon_gargoyle(Creature* pCreature) return new npc_ebon_gargoyleAI (pCreature); } -//TODO: 30% Attackdamage check for Lightwell struct TRINITY_DLL_DECL npc_lightwellAI : public PassiveAI { npc_lightwellAI(Creature *c) : PassiveAI(c) {} - //uint32 desummon_timer; - void Reset() { - //desummon_timer = 180000; m_creature->CastSpell(m_creature, 59907, false); // Spell for Lightwell Charges } - - /* - void UpdateAI(const uint32 diff) - { - if (desummon_timer < diff) - { - m_creature->Kill(m_creature); - }else desummon_timer -= diff; - - if (!m_creature->HasAura(59907)) - { - m_creature->Kill(m_creature); - } - } - */ }; CreatureAI* GetAI_npc_lightwellAI(Creature* pCreature) -- cgit v1.2.3