antiblock
cyber-gamers
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
sepearman

Npc Polimorfismo

Question

Tentei criar um NPC de transformar um player, como se fosse um marmore, ele funciona, mas apenas fica transformado durante 1 segundoé assim que está o scriptsay ( "posso te transformar com marmore de polimorfismo e custa 1kk serás transformado numa serpente espadachim." )say ( "" )say ( "" )say ( "" )local s = select ( "Sim" )if s == 1 thenif pc . gold >= 1000000 thenpc . changegold ( - 1000000 )pc . polymorph ( 2133 )elsesay ( "nao tens yang sufeciente" )say ( "" )say ( "" )say ( "" )say ( "" )say ( "" )say ( "" )endelseif s == 2 thensay ( "Não" )say ( "" )say ( "" )say ( "" )say ( "" )say ( "" )say ( "" )end

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Tens aqui uma quest em que consiste uma jogador colocar praga noutro jogador, isto é polymorph outro jogador, atravès desta quest vê mais ou menos como podes fazer uma, porque na quest que tu fizeste tu não colocas timer nenhum, por isso ele assume 1 segundo!

quest polyplayer beginstate 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()      endendend

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

N

Tens aqui uma quest em que consiste uma jogador colocar praga noutro jogador, isto é polymorph outro jogador, atravès desta quest vê mais ou menos como podes fazer uma, porque na quest que tu fizeste tu não colocas timer nenhum, por isso ele assume 1 segundo!

quest polyplayer beginstate 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()      endendend
não é bem isso que quero, eu queria este marmore para fazer boss, alguma maneira?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this