From 05f2f4e8f69133d542f3eadf99410deb932cd30d Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 14 Oct 2022 17:12:33 +0200 Subject: Core/BattlePets: Move revive battle pet cooldown to spell script and add serverside spell for stable master heal cooldown --- sql/updates/world/master/2022_10_14_00_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/master/2022_10_14_00_world.sql (limited to 'sql/updates/world') 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'); -- cgit v1.2.3