AssaultCube-Hack/modules/grenade.py
imnyang 1730b73d1f
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s
feat: implement various player hacks and refactor main loop for modularity
2026-05-30 18:45:42 +09:00

12 lines
340 B
Python

import pyMeow as pm
class GrenadeHack:
offset = 0x144
@classmethod
def apply(cls, proc, local_player_addr, value=9999999):
"""local_player의 Grenade 값을 9999999로 고정시킵니다."""
try:
pm.w_int(proc, local_player_addr + cls.offset, value)
except Exception as e:
pass