в generic.inc в столбце mp proc стандарт вот такой : MP proc cmp edx,51 ; check if ID is 51 (Firzen) je short @MP_1 ; jump to @MP_1 if ID is 51 cmp edx,52 ; check if ID is 52 (Julian) je short @MP_1 ; jump to @MP_1 if ID is 52 cmp edx,55 ; check if ID is 55 (your character) je short @MP_2 ; jump to @MP_2 if ID is 55 jmp dword ptr [MP_normal] @MP_1: ; for Firzen & Julian cdq ; ignore this sub eax,edx ; ignore this sar eax,1 ; add 1 point more compare with normal (normal = 1) jmp dword ptr [MP_normal] @MP_2: ; for the ID 55 ;cmp dword ptr ds:[ecx+308h],250 ; check if mp is greater than 250 ;JG @Decrease_MP cdq ; ignore this sub eax,edx ; ignore this sar eax,2 ; add 2 point more compare with normal jmp dword ptr [MP_normal] @Decrease_MP: ;when mp is more than 250 mov eax, dword ptr ds:[ecx+308h] ; move mana into eax sub eax,1 ; decrease eax(mana) by 1 jmp dword ptr [MP_hack] MP endp вотс новым id : MP proc cmp edx,51 ; check if ID is 51 (Firzen) je short @MP_1 ; jump to @MP_1 if ID is 51 cmp edx,52 ; check if ID is 52 (Julian) je short @MP_1 ; jump to @MP_1 if ID is 52 cmp edx,55 ; check if ID is 55 (your character) je short @MP_2 ; jump to @MP_2 if ID is 55 cmp edx,01 ; je short @MP_2 ; jmp dword ptr [MP_normal] @MP_1: ; for Firzen & Julian cdq ; ignore this sub eax,edx ; ignore this sar eax,1 ; add 1 point more compare with normal (normal = 1) jmp dword ptr [MP_normal] @MP_2: ; for the ID 55 ;cmp dword ptr ds:[ecx+308h],250 ; check if mp is greater than 250 ;JG @Decrease_MP cdq ; ignore this sub eax,edx ; ignore this sar eax,2 ; add 2 point more compare with normal jmp dword ptr [MP_normal] @Decrease_MP: ;when mp is more than 250 mov eax, dword ptr ds:[ecx+308h] ; move mana into eax sub eax,1 ; decrease eax(mana) by 1 jmp dword ptr [MP_hack] MP endp можна и так : MP proc cmp edx,51 ; check if ID is 51 (Firzen) je short @MP_1 ; jump to @MP_1 if ID is 51 cmp edx,52 ; check if ID is 52 (Julian) je short @MP_1 ; jump to @MP_1 if ID is 52 cmp edx,55 ; check if ID is 55 (your character) je short @MP_2 ; jump to @MP_2 if ID is 55 cmp edx,01 ; je short @MP_3 ; jmp dword ptr [MP_normal] @MP_1: ; for Firzen & Julian cdq ; ignore this sub eax,edx ; ignore this sar eax,1 ; add 1 point more compare with normal (normal = 1) jmp dword ptr [MP_normal] @MP_2: ; for the ID 55 ;cmp dword ptr ds:[ecx+308h],250 ; check if mp is greater than 250 ;JG @Decrease_MP cdq ; ignore this sub eax,edx ; ignore this sar eax,2 ; add 2 point more compare with normal jmp dword ptr [MP_normal] @MP_3: ; for the ID 55 ;cmp dword ptr ds:[ecx+308h],250 ; check if mp is greater than 250 ;JG @Decrease_MP cdq ; ignore this sub eax,edx ; ignore this sar eax,20 ; add 2 point more compare with normal jmp dword ptr [MP_normal] @Decrease_MP: ;when mp is more than 250 mov eax, dword ptr ds:[ecx+308h] ; move mana into eax sub eax,1 ; decrease eax(mana) by 1 jmp dword ptr [MP_hack] MP endp