Jump to content

[Quest] Para aumentar el lv a un Pj+funcion


Sarck3Imperios

Recommended Posts

Hola esta función fácil aumenta el nivel de personaje

solo debe poner esto enquestlib:

function pc.inc_level(value)	while pc.get_level() < value do		pc.give_exp2(pc.get_next_exp())	endend

Quest_funcion:

pc.inc_level 

Quest:

quest usage begin	state start begin		when 20016.chat."Subir el nive?" begin			say("Seleccionar valor")			local value = input()			pc.inc_level(value)		end	endend

Creditos:Domoco...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...