Sziasztok.
Keresgéltem e*PvP-en és erre bukkantam.
Ez egy quest, amit magatok raktok fel szerverre. Nem írnám le, hogy hogy, ha nem baj, mert le van írva, nem egy helyen.
Na szóval a quest:
quest valentin begin
state start begin
when kill with game.get_event_flag("valentin") == 1 and not npc.is_pc() begin
local s = number(1, 200)
local m = pc.get_sex()
if s <= 3 then
if m == 0 then
pc.give_item2(50024,1)--50024 rose to gift
syschat("You have found a Valentine's Day gift.")
elseif m == 1 then
pc.give_item2(50025,1)--50024 chocolate to gift
syschat("You have found a Valentine's Day gift.")
end
end
if s >= 4 and s<=6 then
if m == 0 then
pc.give_item2(50031,1)--50031 yellow rose, to him
syschat("Has received a Valentine's Day gift.")
elseif m == 1 then
pc.give_item2(50032,1)--50032 candy, to her
syschat("Has received a Valentine's Day gift.")
end
end
end
when login with game.get_event_flag("valentin") == 1 begin
notice("Event: Valentine's Day <3 | Duration : 3 day's ")
end
end
end
Elindítani egy paranccsal tudod!
/e valentin 1