eqmac-quests/mischiefplane/Roxxanne.lua
2023-07-24 13:24:37 -07:00

20 lines
913 B
Lua

function event_say(e)
Brittina = eq.get_entity_list():GetMobByNpcTypeID(126213);
Ashley = eq.get_entity_list():GetMobByNpcTypeID(126207);
Diana = eq.get_entity_list():GetMobByNpcTypeID(126187);
if(e.message:findi("hail")) then
e.self:Say("Well hello! We are great dancers. Would you like to see us dance? Or maybe you would like us to teach you to dance?");
elseif(e.message:findi("see you dance")) then
Brittina:Say("Hey! Yeah! Do the Marinara!");
Ashley:Say("Hey! Yeah! Do the Marinara!");
Diana:Say("Hey! Yeah! Do the Marinara!");
Brittina:DoAnim(33);
Ashley:DoAnim(33);
Diana:DoAnim(33);
e.self:DoAnim(33);
elseif(e.message:findi("teach me")) then
e.self:CastSpell(806,e.other:GetID()); -- Spell: Magi Curse
e.self:Say("Look at you! You can dance! Go, go, go! That's the spirit, you got it! Keep up the good work! Don't get too tired now, you are looking a little pale!");
end
end