feat: implement various player hacks and refactor main loop for modularity
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s
This commit is contained in:
parent
1b3bc8a73e
commit
1730b73d1f
9 changed files with 141 additions and 85 deletions
12
modules/armor.py
Normal file
12
modules/armor.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import pyMeow as pm
|
||||
|
||||
class ArmorHack:
|
||||
offset = 0xF0
|
||||
|
||||
@classmethod
|
||||
def apply(cls, proc, local_player_addr, value=100):
|
||||
"""local_player의 Armor 값을 100으로 고정시킵니다."""
|
||||
try:
|
||||
pm.w_int(proc, local_player_addr + cls.offset, value)
|
||||
except Exception as e:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue