From 6bb0ff8948b6e9b3a9480a2307f88a53a0ae19f1 Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 28 Jul 2009 23:27:45 +0200 Subject: *Implement attribute flag SPELL_ATTR_EX3_BLOCKABLE_SPELL - now spells: Gouge, Kick, Wing Clip, Rake, Hamstring are blocable - by thenecromancer. --HG-- branch : trunk --- src/bindings/scripts/scripts/npc/npcs_special.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/npc/npcs_special.cpp b/src/bindings/scripts/scripts/npc/npcs_special.cpp index 655ab7b4ffd..2c0bcd51918 100644 --- a/src/bindings/scripts/scripts/npc/npcs_special.cpp +++ b/src/bindings/scripts/scripts/npc/npcs_special.cpp @@ -1689,7 +1689,7 @@ struct TRINITY_DLL_DECL npc_mirror_image : SpellAI { DoCast(spellId); uint32 casttime = me->GetCurrentSpellCastTime(spellId); - events.ScheduleEvent(spellId, casttime ? casttime : 500 + GetAISpellInfo(spellId)->cooldown); + events.ScheduleEvent(spellId, (casttime ? casttime : 500) + GetAISpellInfo(spellId)->cooldown); } } }; -- cgit v1.2.3