Jump to content

Sterling0x1

Senior Member
  • Posts

    323
  • Joined

  • Last visited

Everything posted by Sterling0x1

  1. This exactly what I was looking for. Thanks for this tutorial!
  2. Please update the script for high stats. Code: # -*- coding: utf-8 -*- import re def response(context, flow): path = flow.request.path query = flow.request.get_query() if path.endswith("get_battle_init_data"): r1 = r'"atk":(\d+),"mdef":(\d+),"acc":(\d+),' re.compile(r1) flow.response.replace(r1, '"atk":9999,"mdef":9999,"acc":9999,',5) r2 = r'"matk":(\d+),"spd":(\d+),' re.compile(r2) flow.response.replace(r2, '"matk":9999,"spd":9999,', 5) r3 = r'id":"(\d+)","eva":(\d+),' re.compile(r3) flow.response.replace(r3, r'id":"\1","eva":9999,', 5) r4 = r'def_ss_point_factor":(\d+),"def":(\d+),' re.compile(r4) flow.response.replace(r4, r'def_ss_point_factor":\1,"def":9999,', 5) r5 = r'max_hp":(\d+),"init_hp":(\d+),' re.compile(r5) flow.response.replace(r5, 'max_hp":1,"init_hp":1,') r6 = r'max_hp":"(\d+)","init_hp":"(\d+)",' re.compile(r6) flow.response.replace(r6, 'max_hp":"1","init_hp":"1",')
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines