diff options
author | Malcrom <malcromdev@gmail.com> | 2013-11-11 00:43:56 -0330 |
---|---|---|
committer | Malcrom <malcromdev@gmail.com> | 2013-11-11 00:43:56 -0330 |
commit | 395eb83b88706692c52d5b596b8bc3a0f6e5ccc6 (patch) | |
tree | 97dde3f135efeba555bfe8333144c01418fc03d0 | |
parent | f4a4e1c0d4ad0d7f3f45b509964ce7220dfda1b4 (diff) |
DB/Conditions: Add condition for Shoot Arcane Explosion Arrow
-rw-r--r-- | sql/updates/world/2013_11_10_07_world_conditions,sql | 4 | ||||
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/2013_11_10_07_world_conditions,sql b/sql/updates/world/2013_11_10_07_world_conditions,sql new file mode 100644 index 00000000000..93ab61414b6 --- /dev/null +++ b/sql/updates/world/2013_11_10_07_world_conditions,sql @@ -0,0 +1,4 @@ +-- Add condition for Shoot Arcane Explosion Arrow +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=36327; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 36327, 0, 0, 31, 0, 3, 21186, 0, 0, 0, 0, '', 'Shoot Arcane Explosion Arrow Targets Arcane Warder Target'); diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 38337dead8e..994050b2374 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3146,6 +3146,7 @@ void SpellMgr::LoadSpellInfoCorrections() case 61588: // Blazing Harpoon case 52479: // Gift of the Harvester case 48246: // Ball of Flame + case 36327: // Shoot Arcane Explosion Arrow spellInfo->MaxAffectedTargets = 1; break; case 36384: // Skartax Purple Beam |