Keazain Buffer, Healer & remove Sickness
________________________DATABASE____________________________
INSERT INTO creature_names
(`entry`, `name`, `subname`, `info_str`, `Flags1`, `type`, `family`, `rank`, `unk4`, `spelldataid`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `unknown_float1`, `unknown_float2`, `civilian`, `leader`)
VALUES
(99999, 'Keazain Buffer-Healer', 'Keazain Buffer-Healer', '', 0, 0, 0, 3, 0, 0, 24804, 0, 0, 0, 1, 1, 0, NULL);
INSERT INTO creature_proto
(`entry`, `minlevel`, `maxlevel`, `faction`, `minhealth`, `maxhealth`, `mana`, `scale`, `npcflags`, `attacktime`, `attacktype`, `mindamage`, `maxdamage`, `can_ranged`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `combat_reach`, `bounding_radius`, `auras`, `boss`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `extra_a9_flags`, `spell1`, `spell2`, `spell3`, `spell4`, `spell_flags`, `modImmunities`)
VALUES
(99999, 80, 80, 35, 100000, 100000, 100000, 1, 3, 0, 0, 7500, 2000, 0, 0, 0, 0, 360000, 2002, 0, 0, 0, 0, 0, 0, 1, 0, '', 0, 0, 0, 0, 2.5, 8, 14, 0, 0, 0, 0, 0, 0, 0);
________________________DATABASE____________________________
___________________________LUA______________________________
function buff_main_menu(pUnit, player)
pUnit:GossipCreateMenu(8544, player, 0)
pUnit:GossipMenuAddItem(5, "Buff's.", 1, 0)
pUnit:GossipMenuAddItem(9, "Remove Rez Sickness", 2, 0)
pUnit:GossipMenuAddItem(4, "Heal", 90, 0)
pUnit:GossipSendMenu(player)
end
function buff_on_gossip_talk(pUnit, event, player)
buff_main_menu(pUnit, player)
end
function buff_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
if (intid == 1) then
pUnit:GossipCreateMenu(99, player, 0)
pUnit:GossipMenuAddItem(3, "Agility", 3, 0)
pUnit:GossipMenuAddItem(3, "Intellect", 4, 0)
pUnit:GossipMenuAddItem(3, "Protection", 5, 0)
pUnit:GossipMenuAddItem(3, "Spirit", 6, 0)
pUnit:GossipMenuAddItem(3, "Stamina", 7, 0)
pUnit:GossipMenuAddItem(3, "Strength", 8, 0)
pUnit:GossipSendMenu(player)
end
if (intid == 2) then
player:UnlearnSpell(15007)
pUnit:GossipComplete(player)
end
if (intid == 3) then
pUnit:FullCastSpellOnTarget(33077, player)
pUnit:GossipComplete(player)
end
if (intid == 4) then
pUnit:FullCastSpellOnTarget(33078, player)
pUnit:GossipComplete(player)
end
if (intid == 5) then
pUnit:FullCastSpellOnTarget(33079, player)
pUnit:GossipComplete(player)
end
if (intid == 6) then
pUnit:FullCastSpellOnTarget(33080, player)
pUnit:GossipComplete(player)
end
if (intid == 7) then
pUnit:FullCastSpellOnTarget(33081, player)
pUnit:GossipComplete(player)
end
if (intid ==

then
pUnit:FullCastSpellOnTarget(33082, player)
pUnit:GossipComplete(player)
end
if (intid == 90) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(4, "Health", 91, 0)
pUnit:GossipSendMenu(player)
end
if (intid == 91) then
pUnit:FullCastSpellOnTarget(25213,player)
pUnit:GossipComplete()
end
end
RegisterUnitGossipEvent(99999, 1, "buff_on_gossip_talk")
RegisterUnitGossipEvent(99999, 2, "buff_on_gossip_select")
___________________________LUA______________________________
save in script Buff.lua
.npc spawn 99999
