Jump to content

Recommended Posts

Posted

quest negative_exp begin
   state start begin
    when login with pc.get_exp() <= 0 begin
     local exp = pc.get_exp()
      pc.give_exp2(-exp)
    end
   end
end

No se si funcione, la acabo de hacer aquí rapidito, si esta mala o algo avisas ;)

Posted

-1 + -2 = -3
-100000exp+-100000exp=-200000exp

la quest

quest negative_exp begin
state start begin
	when login with pc.get_exp() < 0 begin
		pc.give_exp2(math.abs(pc.get_exp()))
	end
end
end

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.