Shogun Posted June 7, 2013 Report Share Posted June 7, 2013 Esta sencilla quest da lugar a un objeto de un sólo uso (70111 pero podéis usar cualquiera) con el que podemos poliformar a otro jugador que se encuentre cerca de nosotros en un monstruo aleatorio durante 5 minutos. Diversión asegurada para los jugadores. quest polyplayer begin state start begin when 70111.use begin local start_count = pc.count_item(item.get_vnum()) -- to prevent usage of bugs only say_title("Ring of Curse:") say("") say("Enter the name of the player you want to curse:") say("") local name = input() local vid = find_pc_by_name(name) --local name = pc.getname() if name == "" then return elseif name == pc.get_name() then say_title("Ring of Curse:") say("") say("You can not curse yourself.") say("") return elseif vid == 0 then say_title("Ring of Curse:") say("") say("This player is not online or does not exist.") say("") return elseif not pc.is_near_vid(vid, 10) then say_title("Ring of Curse:") say("") say("The player is too far away.") say("") return end if pc.count_item(item.get_vnum()) != start_count then return end local myvid = pc.select(vid) vnums = {2101, 20016, 20002, 11000, 5001, 992, 1301, 1303, 2191, 5161, 5162, 5163} i = number(1,12) pc.polymorph(vnums[i], 5*60) syschat("You have been cursed.") pc.select(myvid) say_title("Poly player:") say("") say("The player is now cursed for 5 minutes.") say("") item.remove() end end end Créditos: musicinstructor NataliMontoya and Kibya 2 Quote Link to comment Share on other sites More sharing options...
pepineitor Posted June 7, 2013 Report Share Posted June 7, 2013 Error del Firefox. Pd: buena quest. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.