UPDATED.
[SPOILER]-- Based on the work of hrr_95
– Copyright © Hex.
– Permission is granted to copy, distribute and/or modify this document
– under the terms of the GNU Free Documentation License, Version 1.3
– or any later version published by the Free Software Foundation;
– with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
– A copy of the license is included in the section entitled "GNU
– Free Documentation License".
SET @NPC :=xxx; – Entry of the creature.
SET @DISPLAY :=xxx; – Modellid of the creature
SET @GOPTION :=xxx; – Gossip_menu_option /needed 10/
SET @GOMENU :=@GOPTION; – Gossip_menu entry
SET @NPCTEXT :=xxx; – Displayed text
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
(@NPC, 0, 0, 0, 0, 0, @DISPLAY, 0, 0, 0, ‘Buffer Mage’, ‘Since PreBC’, NULL, @GOMENU, 80, 80, 2, 35, 35, 3, 1, 1, 1, 1, 422, 586, 0, 642, 1, 2000, 2200, 2, 8, 4, 0, 0, 0, 0, 0, 345, 509, 103, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘SmartAI’, 0, 3, 8, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ‘’, 0);
–
INSERT INTO gossip_menu (entry, text_id)
VALUES (@GOMENU, @NPCTEXT);
–
INSERT INTO gossip_menu_option (menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, action_script_id, box_coded, box_money, box_text)
VALUES
(@GOPTION, 1, 0, ‘Power Word: Fortitude’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 2, 0, ‘Divine Spirit’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 3, 0, ‘Shadow Protection’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 4, 0, ‘Arcane Intellect’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 5, 0, ‘Dalaran Inellect’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 6, 0, ‘Blessing of Kings’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 7, 0, ‘Blessing of Might’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 8, 0, ‘Blessing of Wisdom’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 9, 0, ‘Blessing of Santuary’, 1, 1, 0, 0, 0, 0, 0, NULL),
(@GOPTION, 10, 0, ‘Mark of the Wild’, 1, 1, 0, 0, 0, 0, 0, NULL);
–
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, 0, 0, 0, 62, 0, 100, 1, @GOPTION, 1, 0, 0, 85, 48161, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Power of Word:Fortitude’);
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, 0, 1, 0, 62, 0, 100, 1, @GOPTION, 2, 0, 0, 85, 48073, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Divine Spirit’);
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, 0, 2, 0, 62, 0, 100, 1, @GOPTION, 3, 0, 0, 85, 48169, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Shadow Protection’);
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, 0, 3, 0, 62, 0, 100, 1, @GOPTION, 4, 0, 0, 85, 42995, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Arcane Intellect’);
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, 0, 4, 0, 62, 0, 100, 1, @GOPTION, 5, 0, 0, 85, 61024, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Dalaran Intellect’);
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, 0, 5, 0, 62, 0, 100, 1, @GOPTION, 6, 0, 0, 85, 20217, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Blessing of Kings’);
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, 0, 6, 0, 62, 0, 100, 1, @GOPTION, 7, 0, 0, 85, 48932, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Blessing of Might’);
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, 0, 7, 0, 62, 0, 100, 1, @GOPTION, 8, 0, 0, 85, 48936, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Blessing of Wisdom’);
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, 0, 8, 0, 62, 0, 100, 1, @GOPTION, 9, 0, 0, 85, 20911, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Blessing of Sanctuary’);
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, 0, 9, 0, 62, 0, 100, 1, @GOPTION, 10, 0, 0, 85, 48469, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘NPC-Buff-Mark of the Wild’);
[/SPOILER]