Aurora Posted November 13, 2017 Report Share Posted November 13, 2017 quest asd begin state start begin when 11505.kill begin local items = {19,29} local prob = math.random(1,2) if prob == 1 then game.drop_item_with_ownership(items[1], 1) elseif prob == 2 then game.drop_item_with_ownership(items[2], 1) end end end end end end Creo q me va mal este quest y me puede correguir por favor Link to comment Share on other sites More sharing options...
Dilong Posted November 13, 2017 Report Share Posted November 13, 2017 Spoiler quest rana_oro begin state start begin when npc.chat."evento rana oro" with pc.is_gm() begin say("texto") local s = select("Activar","Cancelar","Cerrar") if s == 3 then return elseif s == 1 then game.set_event_flag("evento1",1) notice_all("on") elseif s == 2 then game.set_event_flag("evento1",0) notice_all("off") end end when idmob.kill with game.get_event_flag("evento1")== 1 begin local items = {19,29,39,49,59} local aleatorio = math.random(1,5) game.drop_item_with_ownership(items[aleatorio], 1) end end end Yukki Kun 1 Link to comment Share on other sites More sharing options...
Recommended Posts