aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-17 02:53:39 +0200
committerQAston <none@none>2009-08-17 02:53:39 +0200
commit41c12d173b8d0cf297edf70e40b8e13b9bf3af35 (patch)
tree483b138dcad5abd803330495cc211c3a90218173 /src/bindings/scripts
parent6359bfb27ac42392dc3a314fc5fe194964485931 (diff)
*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
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/scripts/world/npcs_special.cpp19
1 files changed, 0 insertions, 19 deletions
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)