Jfirewall Posted June 8, 2013 Report Share Posted June 8, 2013 una donde detecte cuando un player se loguee y tenga exp negativa se la ponga en 0 automaticamente. Muchas Gracias De Antemano Link to comment Share on other sites More sharing options...
Ðro Posted June 8, 2013 Report Share Posted June 8, 2013 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 Link to comment Share on other sites More sharing options...
Croqueta Posted June 9, 2013 Report Share Posted June 9, 2013 -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 Link to comment Share on other sites More sharing options...
Recommended Posts