aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-06-05 22:50:30 +0200
committerCarbenium <carbenium@outlook.com>2020-07-16 21:47:27 +0200
commit47f748187695b6931a1c79557c30b2f570d1cc89 (patch)
tree6cf3dc064a6c3ade6354b15e82eaf825dca7e378
parentfbdf8784a5c03dfcb575ef7b760a62d0d9d2acc1 (diff)
DB/Spell: prevent Vile Gas (H Rotface version) from hitting non-players
(cherry picked from commit 5c94b52a4d247532c759e53ca4f006d2ebc46b99)
-rw-r--r--sql/updates/world/master/2020_07_16_01_world_2017_06_05_03_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_07_16_01_world_2017_06_05_03_world.sql b/sql/updates/world/master/2020_07_16_01_world_2017_06_05_03_world.sql
new file mode 100644
index 00000000000..3134cd54bf6
--- /dev/null
+++ b/sql/updates/world/master/2020_07_16_01_world_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.');