From 5c94b52a4d247532c759e53ca4f006d2ebc46b99 Mon Sep 17 00:00:00 2001 From: ariel- Date: Mon, 5 Jun 2017 17:50:30 -0300 Subject: DB/Spell: prevent Vile Gas (H Rotface version) from hitting non-players --- sql/updates/world/3.3.5/2017_06_05_03_world.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sql/updates/world/3.3.5/2017_06_05_03_world.sql (limited to 'sql') 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.'); -- cgit v1.2.3