aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-06-05 17:50:30 -0300
committerariel- <ariel-@users.noreply.github.com>2017-06-05 17:50:30 -0300
commit5c94b52a4d247532c759e53ca4f006d2ebc46b99 (patch)
tree2308b9a165e4c855d3fa58db993155a689400a3a
parentda228fd1637f0f2f7193d65d60b979d2714bb8fb (diff)
DB/Spell: prevent Vile Gas (H Rotface version) from hitting non-players
-rw-r--r--sql/updates/world/3.3.5/2017_06_05_03_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_06_05_03_world.sql b/sql/updates/world/3.3.5/2017_06_05_03_world.sql
new file mode 100644
index 00000000000..3134cd54bf6
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_06_05_03_world.sql
@@ -0,0 +1,5 @@
+-- Condition for source Spell implicit target condition type Object entry guid
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (72272, 72273);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(13, 7, 72272, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Spell Vile Gas (effect 0 & 1 & 2) will hit the potential target of the spell if target is player any player.'),
+(13, 7, 72273, 0, 0, 31, 0, 4, 0, 0, 0, 0, 0, '', 'Spell Vile Gas (effect 0 & 1 & 2) will hit the potential target of the spell if target is player any player.');