Core/Spells: Implemented spell effect 254 (SPELL_EFFECT_JUMP_CHARGE)

Port From (https://github.com/TrinityCore/TrinityCore/commit/a809932f5017c98092a02694e86e276add03f8b9)
This commit is contained in:
hondacrx
2021-12-01 10:58:28 -05:00
parent 2208a7be60
commit 5c48c512b5
5 changed files with 159 additions and 4 deletions
@@ -0,0 +1,15 @@
DROP TABLE IF EXISTS `jump_charge_params`;
CREATE TABLE `jump_charge_params` (
`id` int(11) NOT NULL,
`speed` float NOT NULL DEFAULT 42,
`treatSpeedAsMoveTimeSeconds` tinyint(1) NOT NULL DEFAULT 0,
`jumpGravity` float NOT NULL DEFAULT 19.29110527038574,
`spellVisualId` int(11) DEFAULT NULL,
`progressCurveId` int(11) DEFAULT NULL,
`parabolicCurveId` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `jump_charge_params` (`id`, `speed`, `treatSpeedAsMoveTimeSeconds`, `jumpGravity`, `progressCurveId`) VALUES
(2, 0.65, 1, 0.018818924203515052, 1636), -- Infernal Strike
(9, 0.88, 1, 0.010237299837172031, 1717); -- Metamorphosis