Skip to content

Commit d6566a5

Browse files
offlXenphis
authored andcommitted
Scripts/Zul'Aman: Rewrite Halazzi (#31835)
1 parent de0a061 commit d6566a5

2 files changed

Lines changed: 454 additions & 314 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
-- Texts
2+
DELETE FROM `creature_text` WHERE `CreatureID` = 23577;
3+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
4+
(23577,0,0,"Get on ya knees and bow.... to da fang and claw!",14,0,100,0,0,12020,23612,0,"Halazzi SAY_AGGRO"),
5+
(23577,1,0,"I fight wit' untamed spirit....",14,0,100,0,0,12021,22963,0,"Halazzi SAY_SPLIT"),
6+
(23577,2,0,"Spirit, come back to me!",14,0,100,0,0,12022,22964,0,"Halazzi SAY_MERGE"),
7+
(23577,3,0,"Me gonna carve ya now!",14,0,100,0,0,12023,23615,0,"Halazzi SAY_MELEE_1"),
8+
(23577,3,1,"You gonna leave in pieces!",14,0,100,0,0,12024,23616,0,"Halazzi SAY_MELEE_2"),
9+
(23577,4,0,"Whatchoo been doin', pacin' yourselves?",14,0,100,0,0,12025,24321,0,"Halazzi SAY_BERSERK"),
10+
(23577,5,0,"You can't fight da power!",14,0,100,0,0,12026,23613,0,"Halazzi SAY_SLAY_1"),
11+
(23577,5,1,"Ya all gonna fail!",14,0,100,0,0,12027,23614,0,"Halazzi SAY_SLAY_2"),
12+
(23577,6,0,"Chaga... choka'jinn.",14,0,100,0,0,12028,23611,0,"Halazzi SAY_DEATH"),
13+
(23577,7,0,"Come, fools. Fill ma empty cages....",14,0,100,0,0,12029,23309,0,"Halazzi SAY_EVENT_1"),
14+
(23577,7,1,"I be waitin, strangers. Your deaths gonna make me stronger!",14,0,100,0,0,12030,23310,0,"Halazzi SAY_EVENT_2");
15+
16+
-- Halazzi
17+
UPDATE `creature_template` SET `flags_extra` = `flags_extra`|0x00200000 WHERE `entry` = 23577;
18+
19+
-- Halazzi (Transform)
20+
UPDATE `creature_model_info` SET `BoundingRadius` = 0.7812495, `CombatReach` = 3.375 WHERE `DisplayID` = 22348;
21+
22+
-- Corrupted Lightning Totem
23+
UPDATE `creature_template` SET `speed_walk` = 1, `speed_run` = 1, `AIName` = '', `ScriptName` = 'npc_corrupted_lightning_totem' WHERE `entry` = 24224;
24+
25+
UPDATE `creature_model_info` SET `BoundingRadius` = 1.55, `CombatReach` = 1.55 WHERE `DisplayID` = 22523;
26+
27+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 24224 AND `source_type` = 0;
28+
29+
-- Spirit of the Lynx
30+
UPDATE `creature_template` SET `minlevel` = 70, `maxlevel` = 70, `speed_walk` = 1, `speed_run` = 2.14286, `BaseAttackTime` = 1500, `ScriptName` = 'npc_spirit_of_the_lynx' WHERE `entry` = 24143;
31+
32+
UPDATE `creature_model_info` SET `BoundingRadius` = 0.62, `CombatReach` = 0 WHERE `DisplayID` = 20808;
33+
34+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 43615;
35+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
36+
(13,1,43615,0,0,31,0,3,24144,0,0,0,0,"","Group 0: Spell 'Halazzi Transform' (Effect 0) targets creature 'Halazzi'");
37+
38+
-- Spell scripts (range of spells is confusing, we ignore it and make caster spell target)
39+
UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectDieSides1` = 1, `EffectBasePoints1` = 74, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` = 43536;
40+
UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectDieSides1` = 1, `EffectBasePoints1` = 49, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` = 43537;
41+
UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 77, `EffectDieSides1` = 1, `EffectBasePoints1` = 24, `EffectImplicitTargetA1` = 1, `DmgMultiplier1` = 1 WHERE `Id` = 43538;
42+
43+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_halazzi_set_health';
44+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
45+
(43536, 'spell_halazzi_set_health'),
46+
(43537, 'spell_halazzi_set_health'),
47+
(43538, 'spell_halazzi_set_health');

0 commit comments

Comments
 (0)