Am si eu nevoie de quest ca sa il bag la un NPC
quest terror_night begin
state start begin
when login with game.get_event_flag("terror_night") == 1 begin
send_letter("Noaptea Terorii:")
end
when button or info begin
say_title("Noapte Terorii:")
say("")
say("Groaza s-a lasat asupra acestui tinut!")
say("Monstri au fost posedati si pietrele posedate!")
say("Distruge aceste creaturi pentru a obtine")
say("obiectele blestemate!")
say("")
say("Monstrii iti vor oferi: |cFF03F030|hCufarul Groazei|h[ENTER]Pietrele Jeon-Un, Bacon & Broasca Aurie iti vor oferi: |cFF03F030|hCheia Terorii|h")
say("")
wait()
send_letter("Noaptea Terorii:")
end
when kill with not npc.is_pc() and game.get_event_flag("terror_night") == 1 begin
local change = number(1, 200)
if change == 1 then
game.drop_item_with_ownership("50006")
end
end
when 8027.kill or 11505.kill or 11506.kill with game.get_event_flag("terror_night") == 1 begin
game.drop_item_with_ownership("50008")
end
end
end
state start begin
when login with game.get_event_flag("terror_night") == 1 begin
send_letter("Noaptea Terorii:")
end
when button or info begin
say_title("Noapte Terorii:")
say("")
say("Groaza s-a lasat asupra acestui tinut!")
say("Monstri au fost posedati si pietrele posedate!")
say("Distruge aceste creaturi pentru a obtine")
say("obiectele blestemate!")
say("")
say("Monstrii iti vor oferi: |cFF03F030|hCufarul Groazei|h[ENTER]Pietrele Jeon-Un, Bacon & Broasca Aurie iti vor oferi: |cFF03F030|hCheia Terorii|h")
say("")
wait()
send_letter("Noaptea Terorii:")
end
when kill with not npc.is_pc() and game.get_event_flag("terror_night") == 1 begin
local change = number(1, 200)
if change == 1 then
game.drop_item_with_ownership("50006")
end
end
when 8027.kill or 11505.kill or 11506.kill with game.get_event_flag("terror_night") == 1 begin
game.drop_item_with_ownership("50008")
end
end
end





