Skip to content

Commit

Permalink
[5353][ACID] Haggle 14041
Browse files Browse the repository at this point in the history
scripted
  • Loading branch information
Grz3s committed Jul 8, 2024
1 parent ba9f46c commit fabb870
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ACID/acid_wotlk.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,8 @@ INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_invers
-- Naga Siren (10956) - NSR
-- Monty (12997) - NSR
-- Nipsy (13018) - NSR
-- Haggle (14041) - NSR
-- Haggle 14041
('1404101','14041','1','0','100','1','1000','60000','180000','240000','0','0','54','0','0','9999','5','1','0','0','0','0','0','0','14041 - Random Say and Emote on OOC Timer'),
-- Deeprun Diver (14121) - NSR
-- Plague Zombie (30032) - NSR

Expand Down
80 changes: 80 additions & 0 deletions Updates/5353_c.14041.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
-- Haggle 14041
UPDATE creature SET position_x = -19.333311, position_y = -17.326876, position_z = -4.2973704, spawndist = 0, MovementType = 2 WHERE id = 14041;
DELETE FROM creature_movement_template WHERE entry = 14041;
INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES
(14041,1 ,-19.333311,-17.326876,-4.2973704,100,5000,1404103),
(14041,2 ,-15.293428,-22.230337,-4.299684,100,0,0),
(14041,3 ,-11.042005,-22.395052,-4.29911,100,0,0),
(14041,4 ,-6.875696,-25.810347,-4.29732,100,0,0),
(14041,5 ,-6.518164,-29.358128,-4.2977223,100,0,0),
(14041,6 ,-4.615194,-32.011036,-4.2979712,100,0,0),
(14041,7 ,10.915832,-32.93334,-4.2973523 ,100,0,0),
(14041,8 ,14.343336,-28.164183,-4.2973585,100,0,0),
(14041,9 ,14.472878,-22.567085,-4.289472 ,100,0,0),
(14041,10,21.931023,-18.69022,-4.2973504 ,100,0,0),
(14041,11,22.149866,-17.656652,-4.2973504,100,5000,1404101),
(14041,12,30.895535,-16.94747,-4.297347,100,0,0),
(14041,13,38.974773,-11.690686,-4.297347,100,5000,1404101),
(14041,14,37.494633,-8.939787,-4.047348,100,0,0),
(14041,15,37.514492,-1.188888,-4.2973495,100,0,0),
(14041,16,38.968258,0.839936,-4.29735,100,5000,1404101),
(14041,17,27.43926,5.252612,-4.297351,100,0,0),
(14041,18,21.324173,13.69732,-4.2973514,100,0,0),
(14041,19,21.230026,14.574246,-4.297351,100,5000,1404101),
(14041,20,27.30816,14.715199,-4.2973504,100,0,0),
(14041,21,32.701,21.962217,-4.2973495,100,0,0),
(14041,22,38.99483,24.375648,-4.2973485,100,5000,1404101),
(14041,23,33.34522,31.454027,-4.2973475,100,0,0),
(14041,24,26.45702,34.893867,-4.2973475,100,0,0),
(14041,25,20.477,34.7853,-4.297975,100,0,0),
(14041,26,17.328176,31.855068,-4.288516,100,0,0),
(14041,27,17.432047,-19.700907,-4.2973523,100,0,0),
(14041,28,14.175989,-24.883198,-4.290597,100,0,0),
(14041,29,14.169546,-28.330238,-4.2973585,100,0,0),
(14041,30,11.564287,-30.887716,-4.2973533,100,0,0),
(14041,31,-4.735959,-30.929426,-4.2978487,100,0,0),
(14041,32,-7.366175,-25.010038,-4.297242,100,0,0),
(14041,33,-19.336628,-17.376917,-4.2973704,100,5000,1404103),
(14041,34,-15.209242,-16.14803,-4.0474024,100,0,0),
(14041,35,-15.261998,-3.653864,-4.297435,100,0,0),
(14041,36,-16.839218,-1.9684982,-4.042518,100,0,0),
(14041,37,-17.923254,-1.263314,-4.2876077,100,0,0),
(14041,38,-17.923254,-1.263314,-4.2876077,1.4486232,111000,1404102),
(14041,39,-16.773191,-1.117661,-4.287462,100,0,0),
(14041,40,-14.93353,-15.882146,-4.2973704,100,0,0),
(14041,41,-19.337181,-17.266024,-4.2973704,100,0,0),
(14041,42,-19.517256,-17.582691,-4.2973704,100,5000,1404103),
(14041,43,-22.355677,-15.869085,-4.046953,100,0,0),
(14041,44,-22.05402,-9.908834,-4.296536,100,0,0),
(14041,45,-21.497362,-9.651139,-4.296598,100,5000,1404101),
(14041,46,-21.974737,-4.3862867,-4.0468264,100,0,0),
(14041,47,-19.452112,-3.621434,-4.2970552,100,5000,1404101),
(14041,48,-18.470016,-4.8958054,-4.04204,100,0,0),
(14041,49,-15.7200165,-4.8958054,-4.04204,100,0,0),
(14041,50,-14.9700165,-1.8958051,-4.04204,100,0,0),
(14041,51,-14.487922,0.329824,-4.287024,100,0,0),
(14041,52,-15.168751,20.166489,-4.3063,100,0,0),
(14041,53,-16.66379,21.67101,-4.305281,100,0,0),
(14041,54,-18.431108,21.27326,-4.304296,100,5000,1404101),
(14041,55,-15.345619,22.216303,-4.052148,100,0,0),
(14041,56,-15.260129,26.659346,-4.299999,100,0,0),
(14041,57,-16.375502,26.893675,-4.299803,100,5000,1404101),
(14041,58,-13.923517,26.209656,-4.048587,100,0,0),
(14041,59,-13.923517,10.209655,-4.048587,100,0,0),
(14041,60,-13.471532,-15.474365,-4.2973704,100,0,0);
DELETE FROM dbscripts_on_creature_movement WHERE id BETWEEN 1404101 AND 1404103;
INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES
(1404101,100,1,69,0,0,0,0,0x04,0,0,0,0,0,0,0,0,''),
(1404101,101,0,0,0,0,0,0,0x04,9141,0,0,0,0,0,0,0,''),
(1404101,4000,1,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,''),
(1404102,100,28,3,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'STAND_STATE_SLEEP'),
(1404102,110000,28,3,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'STAND_STATE_STAND'),
(1404103,100,20,1,1,40000,0,0,12,0,0,0,0,0,0,0,0,'random movement for 40secs');
UPDATE broadcast_text SET ChatTypeID=2 WHERE Id IN (9141);
DELETE FROM `dbscript_random_templates` WHERE `id`=9999;
INSERT INTO `dbscript_random_templates` (`id`, `type`, `target_id`, `chance`, `comments`) VALUES
(9999,0,9088,0,'Part of Haggle Haggle 14041 EAI - Random OOC Text 1'),
(9999,0,9089,0,'Part of Haggle Haggle 14041 EAI - Random OOC Text 2'),
(9999,0,9098,0,'Part of Haggle Haggle 14041 EAI - Random OOC Text 3'),
(9999,0,9149,0,'Part of Haggle Haggle 14041 EAI - Random OOC Text 4'),
(9999,0,9150,0,'Part of Haggle Haggle 14041 EAI - Random OOC Text 5');

0 comments on commit fabb870

Please sign in to comment.