- UPDATE quest_template SET RequestItemsText='This shard of ice echoes the deep,cracking rumble of invading glaciers. Its cold turns your thoughts to a lifeless,endless winter.' WHERE Id=11691;
- UPDATE creature_template SET minlevel=76,maxlevel=76 WHERE entry=25697;
- UPDATE creature_template SET minlevel=75,maxlevel=75 WHERE entry=25754;
- UPDATE creature_template SET minlevel=20,maxlevel=20 WHERE entry=25961;
- DELETE FROM creature_template_addon WHERE entry=25754;
- INSERT INTO creature_template_addon (entry,path_id,mount,bytes1,bytes2,emote,auras) VALUES (25754,0,0,1,0,0,NULL);
- DELETE FROM creature WHERE id IN (25755,25756,25757,25740,25697,25961,25754,40446,25745);
- DELETE FROM gameobject WHERE id=187882;
- INSERT INTO gameobject(guid,id,map,spawnMask,phaseMask,position_x,position_y,position_z,orientation,rotation0,rotation1,rotation2,rotation3,spawntimesecs,animprogress,state) VALUES (187965,187882,547,1,1,-73.4977,-155.976,-1.8987,3.23816,0,0,0.998834,-0.0482674,300,0,1);
- INSERT INTO creature
- (guid,id,map,spawnMask,phaseMask,modelid,equipment_id,position_x,position_y,position_z,orientation,spawntimesecs,spawndist,currentwaypoint,curhealth,curmana,MovementType,npcflag,unit_flags,dynamicflags) VALUES
- (null,25697,547,1,1,0,0,-90.5919,-119.585,-2.27612,2.38759,300,0,0,42,0,0,0,0,0),
- (null,25961,547,1,1,0,0,-109.22,-120.05,-2.982,0,120,0,0,1,0,0,0,0,0),
- (null,25961,547,1,1,0,0,-92.68,-119.62,-2.27,0,120,0,0,1,0,0,0,0,0),
- (null,25754,547,1,1,0,0,-110.19,-116.62,-3.255,0,120,0,0,1,0,0,0,0,0),
- (null,25754,547,1,1,0,0,-112.2,-120.2,-2.657,0,120,0,0,1,0,0,0,0,0),
- (null,25754,547,1,1,0,0,-93.18,-115.92,-2.692,0,120,0,0,1,0,0,0,0,0),
- (null,40446,547,1,1,0,0,-77.2636,-151.912,-1.92421,5.44435,300,0,0,164,300,0,0,0,0),
- (null,25745,547,1,1,0,0,-97.3569,-222.144,-1.278,1.53498,300,0,0,42,0,0,0,0,0);
- UPDATE creature_template SET minlevel=75,maxlevel=80,faction_A=16,faction_H=16,mindmg=400,maxdmg=500,dmg_multiplier=10,AIName= 'SmartAI',Health_mod=13 WHERE entry=40446;
- DELETE FROM smart_scripts WHERE entryorguid IN (40446,187882,18788200,25745,25746);
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (187882,1,0,1,62,0,100,0,11389,1,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'On Gossip - close Gossip'),
- (187882,1,1,0,61,0,100,0,0,0,0,0,80,18788200,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Gossip - call Actionlist'),
- (187882,9,0,0,0,0,100,0,500,500,0,0,9,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'I ce Stone - activate'),
- (187882,9,1,0,0,0,100,0,10000,10000,0,0,12,25740,6,500000,0,0,0,8,0,0,0,-97.3569,-222.144,-1.278,1.5495,'Ice Stone - spawn Ahune'),
- (25745,0,0,0,1,0,100,0,1000,1000,15000,15000,11,45945,1,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - Slippery Floor'),
- (25746,0,0,0,54,0,100,0,0,0,0,0,11,45939,1,0,0,0,0,1,0,0,0,0,0,0,0,'Ice Chest bunny - summon Ice Chest');
- DELETE FROM gossip_menu WHERE entry=11389;
- INSERT INTO gossip_menu VALUES (11389,15864);
- DELETE FROM gossip_menu_option WHERE menu_id=11389;
- INSERT INTO gossip_menu_option (menu_id,id,option_icon,option_text,option_id,npc_option_npcflag,action_menu_id,action_poi_id,box_coded,box_money,box_text) VALUES
- (11389,1,0,'Disturb the stone and summon Lord Ahune.',1,1,0,0,0,0,NULL);
- UPDATE creature_template SET difficulty_entry_1=0,minlevel=82,maxlevel=82,unit_flags=4,lootid=0 WHERE entry=25740;
- DELETE FROM gameobject_questrelation WHERE id=187882 AND quest=25484;
- INSERT INTO gameobject_questrelation (id,quest) VALUES (187882,25484);
- DELETE FROM creature_involvedrelation WHERE id=25697 AND quest=25484;
- INSERT INTO creature_involvedrelation (id,quest) VALUES (25697,25484);
- DELETE FROM conditions WHERE SourceGroup=11389 AND SourceEntry=1;
- INSERT INTO conditions (SourceTypeOrReferenceId,SourceGroup,SourceEntry,SourceId,ElseGroup,ConditionTypeOrReference,ConditionTarget,ConditionValue1,ConditionValue2,ConditionValue3,NegativeCondition,ErrorTextId,ScriptName,Comment) VALUES
- (15,11389,1,0,0,9,0,25484,0,0,0,0,'',NULL),
- (15,11389,1,0,1,28,0,25484,0,0,0,0,'',NULL);
- UPDATE quest_template SET Objectives= 'Defeat Ahune in Slave Pens.',Details= 'Activate Ice Stone and summon Ahune.',CompletedText= 'Return to Luma Skymother in Slave Pens.',RequiredNpcOrGo1=25740,RequiredNpcOrGoCount1=1 WHERE Id=25484;
- DELETE FROM creature_ai_scripts WHERE creature_id IN (25740,25755,25756);
- DELETE FROM item_loot_template WHERE entry=54536;
- INSERT INTO item_loot_template (entry,item,ChanceOrQuestChance,lootmode,groupid,mincountOrRef,maxcount) VALUES
- (54536,54806,6,1,0,1,1),
- (54536,53641,3,1,0,1,1),
- (54536,47241,100,1,0,2,2);
- DELETE FROM spell_linked_spell WHERE spell_trigger=46198;
- INSERT INTO spell_linked_spell (spell_trigger,spell_effect,type,comment) VALUES
- (46198,10689,0,'');
- UPDATE creature_template SET AIName= 'SmartAI',flags_extra=130 WHERE entry=25745;
- UPDATE creature_template SET AIName= 'SmartAI',flags_extra=130 WHERE entry=25746;
- UPDATE creature_template SET difficulty_entry_1=0,minlevel=80,maxlevel=80,mindmg=422,maxdmg=586,attackpower=642,dmg_multiplier=13,Health_mod=18.77 WHERE entry=25755;
- UPDATE creature_template SET difficulty_entry_1=0,minlevel=80,maxlevel=80,mindmg=422,maxdmg=586,attackpower=642,dmg_multiplier=2,Health_mod=3.6 WHERE entry=25756;
- DELETE FROM creature_text WHERE entry=25740;
- INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES
- (25740,0,0,'Ahune Retreats! His defenses diminish',41,0,100,0,0,0,'');
- UPDATE creature_template SET difficulty_entry_1=0,minlevel=80,maxlevel=80,mindmg=0,maxdmg=0,dmg_multiplier=0,unit_flags=262148,AIName= 'SmartAI' WHERE entry=25865;
- DELETE FROM creature_text WHERE entry=40446;
- INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES
- (40446,0,0,'How DARE you! You will not stop the coming of Lord Ahune!',14,0,100,0,0,0,'');
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (40446,0,0,0,0,0,100,0,5000,5000,15000,15000,11,55909,1,0,0,0,0,2,0,0,0,0,0,0,0,'Skar''this the Summoner - cast Crashing Wave'),
- (40446,0,1,0,0,0,100,0,10000,10000,20000,20000,11,11831,1,0,0,0,0,2,0,0,0,0,0,0,0,'Skar''this the Summoner - cast Frost Nova'),
- (40446,0,2,0,0,0,100,0,7000,7000,9000,9000,11,15043,0,0,0,0,0,2,0,0,0,0,0,0,0,'Skar''this the Summoner - cast Frostbolt'),
- (40446,0,3,0,0,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Skar''this the Summoner - On agro - say');
- -- Ahunite Hailstone
- DELETE FROM smart_scripts WHERE entryorguid=25755;
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (25755,0,0,0,1,0,100,1,0,0,0,0,46,30,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahunite Hailstone - OOC move forward'),
- (25755,0,1,0,54,0,100,0,0,0,0,0,75,46542,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Spawn Cast Chilling Aura'),
- (25755,0,2,0,0,0,100,0,6000,6000,6000,6000,11,2676,1,0,0,0,0,2,0,0,0,0,0,0,0,'Ahunite Hailstone - cast Pulverize');
- -- Ahunite Coldwave
- DELETE FROM smart_scripts WHERE entryorguid=25756;
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (25756,0,0,0,0,0,100,0,0,4000,7000,10000,11,46406,1,0,0,0,0,5,0,0,0,0,0,0,0,'Ahunite Coldwave - cast Bitter Blast'),
- (25756,0,1,0,1,0,100,1,0,0,0,0,46,10,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahunite Coldwave - OOC move forward');
- -- Frozen Core
- DELETE FROM smart_scripts WHERE entryorguid=25865;
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (25865,0,0,1,0,0,100,0,30000,30000,124000,124000,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Frozen Core - Invisible'),
- (25865,0,1,0,61,0,100,0,0,0,0,0,28,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Frozen Core - remove all auras'),
- (25865,0,2,0,0,0,100,0,124000,124000,124000,124000,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Frozen Core - visible'),
- (25865,0,3,0,6,0,100,0,0,0,0,0,51,0,0,0,0,0,0,11,25740,10,0,0,0,0,0,'Frozen Core - Kill Ahune');
- -- Ahune scripts
- DELETE FROM smart_scripts WHERE entryorguid=25740;
- INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
- (25740,0,0,0,54,0,100,1,0,0,0,0,11,50142,0,0,0,0,0,1,0,0,0,0,0,0,0,'On Summon - Emerge from the ground'),
- (25740,0,1,0,1,0,100,1,0,0,0,0,75,45954,0,0,0,0,0,1,0,0,0,0,0,0,0,'OOC - add Ahune Shield'),
- (25740,0,2,0,0,0,100,1,100,100,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - In combat set Phase 1'),
- (25740,0,3,0,0,1,100,0,1000,1000,1000,1000,11,46198,1,0,0,0,0,18,15,0,0,0,0,0,0,'Ahune - Phase 1 cast Cold Slap'),
- (25740,0,4,0,0,1,100,1,1000,1000,0,0,12,25755,2,30000,0,0,0,8,0,0,0,-97.3569,-222.144,-1.278,1.5495,'Ahune - phase 1 -summon Ahunite Hailstone'),
- (25740,0,5,0,0,1,100,0,7000,7000,7000,7000,12,25756,2,30000,0,0,0,8,0,0,0,-85.854,-212.93,-1.5521,1.9433,'Ahune - On phase 1 - summon Ahunite Coldwave'),
- (25740,0,6,0,0,1,100,0,7000,7000,7000,7000,12,25756,2,30000,0,0,0,8,0,0,0,-109.56,-213.42,-1.3973,0.91844,'Ahune - On phase 1 - summon Ahunite Coldwave'),
- (25740,0,7,0,0,1,100,1,90000,90000,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - set Phase 2'),
- (25740,0,8,0,0,2,100,0,0,0,0,0,11,68909,1,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - submerge visual'),
- (25740,0,9,0,0,2,100,1,4000,4000,0,0,75,37550,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - submerge'),
- (25740,0,10,11,0,2,100,1,4100,4100,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - announce'),
- (25740,0,11,12,61,2,100,0,0,0,0,0,12,25865,2,15000,0,0,0,8,0,0,0,-97.3569,-222.144,-1.278,1.5495,'Ahune - phase 2 - summon Frozen Core'),
- (25740,0,12,13,61,2,100,0,0,0,0,0,18,33816580,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - set unit_flags'),
- (25740,0,13,0,61,2,100,0,0,0,0,0,20,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - stop auto attack'),
- (25740,0,14,15,0,2,100,1,34000,34000,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - set phase 1'),
- (25740,0,15,16,61,1,100,0,0,0,0,0,28,37550,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - emerge'),
- (25740,0,16,17,61,1,100,0,0,0,0,0,11,50142,1,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - emerge visual'),
- (25740,0,17,18,61,1,100,0,0,0,0,0,19,33816576,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - remove unit_flags'),
- (25740,0,18,0,61,1,100,0,0,0,0,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 1 - start auto attack'),
- (25740,0,19,0,0,0,100,1,214100,214100,0,0,18,33816580,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ahune - phase 2 - set unit_flags [2]'),
- (25740,0,20,21,6,0,100,0,0,0,0,0,12,25746,3,10000,0,0,0,8,0,0,0,-99.4597,-191.873,-1.70578,1.275,'Ahune - On death - Summon Ice Chest bunny'),
- (25740,0,21,0,61,0,100,0,0,0,0,0,33,25740,0,0,0,0,0,18,200,0,0,0,0,0,0,'Ahune - On death - call killed monster'),
- (25740,0,22,0,0,0,100,0,4000,4000,4000,4000,11,57454,0,0,0,0,0,5,0,0,0,0,0,0,0,'Ahune - cast Ice Spike');