Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Quest: Vile Like Fire!
- -- NPC
- SET @NPC_NPROTO_DRAKE_13071 := 30270; -- Njorndar Proto-Drake
- SET @VEHICLE_NPROTO_DRAKE_13071 := 30564; -- Vehicle Njorndar Proto-Drake
- SET @NPC_BUNNY_TARGET_13071 := 30576; -- Vile Like Fire! Kill Credit Bunny
- -- Gameobject
- SET @GO_FIRE_13071 := 900001; -- medium fire
- -- Spells
- SET @SPELL_STJOBUILDING_13071 := 7769; -- Strafe Jotunheim Building
- SET @SPELL_BOSPEED_13071 := 57493; -- Burst of Speed
- -- Fire
- DELETE FROM `gameobject_template` WHERE `entry`= @GO_FIRE_13071;
- INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `AIName`, `ScriptName`, `WDBVerified`) VALUES
- (@GO_FIRE_13071, 5, 5751, 'Cosmetic Object - Fire Large', '', '', '', 0, 0, 3, 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, 0, 0, '', '', 12340);
- -- Njorndar Proto-Drake
- UPDATE `creature_template` SET `npcflag` =16777216, `VehicleId` =247 WHERE `entry`=@NPC_NPROTO_DRAKE_13071;
- DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= @NPC_NPROTO_DRAKE_13071;
- INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`, `aura_required`, `aura_forbidden`, `user_type`) VALUES
- (@NPC_NPROTO_DRAKE_13071, 57401, 13071, 1, 13071, 1, 0, 0, 0);
- -- Vehicle Njorndar Proto-Drake
- DELETE FROM `creature_template` WHERE `entry`= @VEHICLE_NPROTO_DRAKE_13071;
- INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES
- (@VEHICLE_NPROTO_DRAKE_13071, 0, 0, 0, 0, 0, 26882, 0, 0, 0, 'Njorndar Proto-Drake', '', 'vehichleCursor', 0, 1, 1, 0, 35, 35, 0, 1, 1.14286, 1, 1, 2, 2, 0, 24, 7.5, 2000, 0, 1, 2, 8, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 247, 0, 0, 'SmartAI', 0, 5, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 180, 1, 0, 0, 0, '', 12340);
- -- SAI
- DELETE FROM `smart_scripts` WHERE `entryorguid`= @VEHICLE_NPROTO_DRAKE_13071;
- 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
- (@VEHICLE_NPROTO_DRAKE_13071, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 60, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Njorndar Proto-Drake - On Summon - Set Fly');
- DELETE FROM `mq_vehicle_data` WHERE `entry`= 247;
- INSERT INTO `mq_vehicle_data` (`entry`, `flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `spell9`, `spell10`, `linked_auras`, `speed_walk`, `speed_run`, `speed_run_back`, `speed_swim`, `speed_swim_back`, `speed_turn_rate`, `speed_flight`, `speed_flight_back`, `speed_pitch_rate`) VALUES
- (247, 0, @SPELL_BOSPEED_13071, 0, @SPELL_STJOBUILDING_13071, 0, 0, 0, 0, 0, 0, 0, '', 1, 1, 1, 1, 1, 1, 3, 1, 1);
- -- Vile Like Fire! Kill Credit Bunny
- UPDATE `creature_template` SET `AIName`= 'SmartAI' WHERE `entry`= @NPC_BUNNY_TARGET_13071;
- DELETE FROM `smart_scripts` WHERE `entryorguid`= @NPC_BUNNY_TARGET_13071;
- 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
- (@NPC_BUNNY_TARGET_13071, 0, 0, 0, 8, 0, 100, 0, 7769, 0, 5000, 5000, 33, @NPC_BUNNY_TARGET_13071, 0, 0, 0, 0, 0, 18, 70, 0, 0, 0, 0, 0, 0, 'Bunny - On Spellhit - Give Kill kredit'),
- (@NPC_BUNNY_TARGET_13071, 0, 1, 0, 8, 0, 100, 0, 7769, 0, 30000, 30000, 50, @GO_FIRE_13071, 30, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Bunny - On Spellhit - Summon Fire');
- -- Strafe Jotunheim Building deffine target
- DELETE FROM `conditions` WHERE `SourceEntry`= @SPELL_STJOBUILDING_13071;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`) VALUES
- (13,0,@SPELL_STJOBUILDING_13071,18,1,@NPC_BUNNY_TARGET_13071);
- -- Strafe Jotunheim Building and Burst of Speed inner cd
- DELETE FROM `spell_proc_event` WHERE `entry` IN (@SPELL_STJOBUILDING_13071, @SPELL_BOSPEED_13071);
- INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
- (@SPELL_STJOBUILDING_13071, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.5),
- (@SPELL_BOSPEED_13071, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30);
- -- Dismounted on leave Area
- DELETE FROM `mq_vehicle_conditions` WHERE `entry`= 247;
- INSERT INTO `mq_vehicle_conditions` (`entry`, `conditionType`, `conditionValue`) VALUES
- (247, 6, 4526);
Add Comment
Please, Sign In to add comment