aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-10-14 17:12:33 +0200
committerShauren <shauren.trinity@gmail.com>2022-10-14 17:12:33 +0200
commit05f2f4e8f69133d542f3eadf99410deb932cd30d (patch)
treeaacf68a9c942086ccca9a47cabf74d1fc91497a1 /sql
parent277c063413e4ec54ba943abd87cc1d273ad035e5 (diff)
Core/BattlePets: Move revive battle pet cooldown to spell script and add serverside spell for stable master heal cooldown
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_10_14_00_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_10_14_00_world.sql b/sql/updates/world/master/2022_10_14_00_world.sql
new file mode 100644
index 00000000000..dbc31ac1f8a
--- /dev/null
+++ b/sql/updates/world/master/2022_10_14_00_world.sql
@@ -0,0 +1,11 @@
+DELETE FROM `serverside_spell` WHERE `Id`=132334;
+INSERT INTO `serverside_spell` (`Id`,`DifficultyID`,`CategoryId`,`Dispel`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`AttributesEx8`,`AttributesEx9`,`AttributesEx10`,`AttributesEx11`,`AttributesEx12`,`AttributesEx13`,`AttributesEx14`,`Stances`,`StancesNot`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`StartRecoveryCategory`,`StartRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags1`,`AuraInterruptFlags2`,`ChannelInterruptFlags1`,`ChannelInterruptFlags2`,`ProcFlags`,`ProcFlags2`,`ProcChance`,`ProcCharges`,`ProcCooldown`,`ProcBasePPM`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`RangeIndex`,`Speed`,`LaunchDelay`,`StackAmount`,`EquippedItemClass`,`EquippedItemSubClassMask`,`EquippedItemInventoryTypeMask`,`ContentTuningId`,`SpellName`,`ConeAngle`,`ConeWidth`,`MaxTargetLevel`,`MaxAffectedTargets`,`SpellFamilyName`,`SpellFamilyFlags1`,`SpellFamilyFlags2`,`SpellFamilyFlags3`,`SpellFamilyFlags4`,`DmgClass`,`PreventionType`,`AreaGroupId`,`SchoolMask`,`ChargeCategoryId`) VALUES
+(132334,0,0,0,0,0x2D800000,0x80000020,0x10024081,0x530000,0x100081,0x60408,0x10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,1,0,0,0,-1,0,0,0,'Trainer Heal Cooldown',0,0,0,0,0,0,0,0,0,0,0,0,0,0);
+
+DELETE FROM `serverside_spell_effect` WHERE `SpellID`=132334;
+INSERT INTO `serverside_spell_effect` (`SpellID`,`Effect`,`EffectAura`,`EffectChainAmplitude`) VALUES
+(132334,6,4,1);
+
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_trainer_heal_cooldown';
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(132334,'spell_gen_trainer_heal_cooldown');