Ledger Nano X - The secure hardware wallet


auiotour May 19th, 2020 1,099 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Heal or use MP only if less than 50% HP/MP
  3. function better_heal()
  4. {
  5.     if(safeties && mssince(last_potion)<min(200,character.ping*3)) return;
  6.     var used=false;
  7.     if(new Date()<parent.next_skill.use_hp) return;
  8.     if(character.hp/character.max_hp<0.5) use('use_hp'),used=true;
  9.     else if(character.mp/character.max_mp<0.5) use('use_mp'),used=true;
  10.     if(used) last_potion=new Date();
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand