aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-12-27 03:06:31 +0200
committeroffl <offl@users.noreply.github.com>2020-12-27 03:06:31 +0200
commit8ca575ed52fb4ee8149302ecf33b4bb0c33e5eb5 (patch)
treeab1d825acdd83e8ae48aefa3aba5481b8183eafd
parent9f7df813c56f9ec4cd2a0e533d1396c211b29584 (diff)
DB/Spell: Add effects to more spells from Violet Hold
Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged
-rw-r--r--sql/updates/world/3.3.5/2020_12_27_04_world.sql7
-rw-r--r--src/server/scripts/Northrend/VioletHold/violet_hold.cpp44
2 files changed, 30 insertions, 21 deletions
diff --git a/sql/updates/world/3.3.5/2020_12_27_04_world.sql b/sql/updates/world/3.3.5/2020_12_27_04_world.sql
new file mode 100644
index 00000000000..63db06700a2
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_12_27_04_world.sql
@@ -0,0 +1,7 @@
+--
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` BETWEEN 57995 AND 57999; -- Portal 1-5 Ready
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectImplicitTargetA1` = 22, `EffectImplicitTargetB1` = 7, `EffectRadiusIndex1` = 28, `DmgMultiplier1` = 1 WHERE `Id` = 58019; -- Portal Ready Primer
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` = 58011; -- Portal Channel Trigger
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` = 58014; -- Close Portal Trigger
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectImplicitTargetA1` = 25, `DmgMultiplier1` = 1 WHERE `Id` = 58018; -- Close Portal Effect
+UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 3, `EffectImplicitTargetA1` = 1, `EffectRadiusIndex1` = 36, `DmgMultiplier1` = 1 WHERE `Id` = 58002; -- Summon Portal
diff --git a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
index 51d4f92e85f..d6fb1e27391 100644
--- a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
+++ b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp
@@ -119,9 +119,9 @@ enum AzureSaboteurSpells
enum TrashDoorSpell
{
- SPELL_DESTROY_DOOR_SEAL = 58040,
- SPELL_PRISON_DOOR_SEAL_WEAKEN = 58041, // NYI, no effect
- SPELL_DOOR_BROKEN = 58043 // NYI, no effect
+ SPELL_DESTROY_DOOR_SEAL = 58040, // > 31326 Corrupt Medivh
+ SPELL_PRISON_DOOR_SEAL_WEAKEN = 58041, // NYI, no effect, maybe > 32613 Medivh's Shield -5%
+ SPELL_DOOR_BROKEN = 58043 // NYI, no effect, maybe > 31327 Medivh Dies!
};
enum DefenseSystemSpells
@@ -137,24 +137,26 @@ enum MiscSpells
SPELL_ATTACK_VIOLET_HOLD_GUARD = 57936, // NYI, no effect
- SPELL_PORTAL_1_READY = 57995, // NYI, no effect
- SPELL_PORTAL_2_READY = 57996, // NYI, no effect
- SPELL_PORTAL_3_READY = 57997, // NYI, no effect
- SPELL_PORTAL_4_READY = 57998, // NYI, no effect
- SPELL_PORTAL_5_READY = 57999, // NYI, no effect
-
- SPELL_SUMMON_PORTAL = 58002, // NYI, no effect
- SPELL_SUMMON_PORTAL_EFFECT_1 = 58003, // NYI, no effect
- SPELL_SUMMON_PORTAL_EFFECT_2 = 58004, // NYI, no effect
- SPELL_SUMMON_PORTAL_EFFECT_3 = 58005, // NYI, no effect
- SPELL_SUMMON_PORTAL_EFFECT_4 = 58006, // NYI, no effect
- SPELL_SUMMON_PORTAL_EFFECT_5 = 58007, // NYI, no effect
- SPELL_PORTAL_PERIODIC = 58008,
- SPELL_PORTAL_CHANNEL_TRIGGER = 58011, // NYI, no effect
- SPELL_PORTAL_CHANNEL = 58012,
- SPELL_CLOSE_PORTAL_TRIGGER = 58014, // NYI, no effect
- SPELL_CLOSE_PORTAL_EFFECT = 58018, // NYI, no effect
- SPELL_PORTAL_READY_PRIMER = 58019, // NYI, no effect
+ // Turned out almost all spells from BM were copied to create Violet Hold. Not only serverside spells and
+ // not only their effects but also attributes and icons. The scripts were also copied, possibly unchanged
+ SPELL_PORTAL_1_READY = 57995, // NYI, effect copied from 'Time Rift 1 Ready'
+ SPELL_PORTAL_2_READY = 57996, // NYI, effect copied from 'Time Rift 2 Ready'
+ SPELL_PORTAL_3_READY = 57997, // NYI, effect copied from 'Time Rift 3 Ready'
+ SPELL_PORTAL_4_READY = 57998, // NYI, effect copied from 'Time Rift 4 Ready'
+ SPELL_PORTAL_5_READY = 57999, // NYI, effect copied from 'Time Rift 1 Ready', only 4 portals in BM
+
+ SPELL_SUMMON_PORTAL = 58002, // NYI, effect copied from 'Summon Time Rift'
+ SPELL_SUMMON_PORTAL_EFFECT_1 = 58003, // NYI, no effect, > Summon Time Rift Effect
+ SPELL_SUMMON_PORTAL_EFFECT_2 = 58004, // NYI, no effect, > Summon Time Rift Effect
+ SPELL_SUMMON_PORTAL_EFFECT_3 = 58005, // NYI, no effect, > Summon Time Rift Effect
+ SPELL_SUMMON_PORTAL_EFFECT_4 = 58006, // NYI, no effect, > Summon Time Rift Effect
+ SPELL_SUMMON_PORTAL_EFFECT_5 = 58007, // NYI, no effect, > Summon Time Rift Effect
+ SPELL_PORTAL_PERIODIC = 58008, // > Time Rift Periodic
+ SPELL_PORTAL_CHANNEL_TRIGGER = 58011, // NYI, effect copied from 'Time Rift Channel Trigger'
+ SPELL_PORTAL_CHANNEL = 58012, // > Time Rift Channel
+ SPELL_CLOSE_PORTAL_TRIGGER = 58014, // NYI, effect copied from 'Close Time Rift Trigger'
+ SPELL_CLOSE_PORTAL_EFFECT = 58018, // NYI, effect copied from 'Close Time Rift Effect'
+ SPELL_PORTAL_READY_PRIMER = 58019, // NYI, effect copied from 'Time Rift Ready Primer'
SPELL_SUMMON_PORTAL_GUARDIAN = 58028, // NYI, summons 30660
SPELL_SUMMON_PORTAL_GUARDIAN_2 = 58029, // NYI, summons 30892