- 336
- 15
CLEO:
{$CLEO .cs}
0000:
WHILE 8256: not player $PLAYER_CHAR defined
wait 250
END
CONST
NPC_HEALTH = 100.0 // Default 100.0
END
0AC6: 31@ = label @SomeNPCdata offset
31@ += 0x28
0A8D: 31@ = read_memory 31@ size 4 virtual_protect 0
0A8C: write_memory 31@ size 4 value NPC_HEALTH virtual_protect 0
0A93: end_custom_thread
:SomeNPCdata
HEX
5F 82 5E 00 7E 82 5E 00 AA 82 5E 00 B4 82 5E 00 BE 82 5E 00 C8 82 5E 00 D0 83 5E 00 D7 83 5E 00 F1 83 5E 00 4B 85 5E 00 51 81 5E 00
END