Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Third armor
#1
    ARMOR-Code:
Armor_Julian proc
		CMP ECX,52 
		je short return
		CMP ECX,53
		je short arm_0
		CMP ECX,40
        je short boss_knight
		CMP ECX,56
		je short return
		;CMP ECX,ID
		;je return2
		jmp return2
return: jmp dword ptr [ARMOR_JULIAN2]
 
;##customise the recover speed of armor below
arm_0:	mov eax,dword ptr ds:[esi+edi*4+194h]
		cmp dword ptr ds:[eax+0B8h],200			; the speed, was 15 for Julian
		jg return2
		mov eax,dword ptr ds:[esi+ebx*4+194h]
		mov eax,dword ptr ds:[eax+368h]
		mov eax,dword ptr ds:[eax+6F4h]
		cmp eax,0D6h
		je return2
		cmp eax,0D0h
		je return2
		jmp dword ptr [ARMOR_JULIAN3]
 
boss_knight:	mov eax,dword ptr ds:[esi+edi*4+194h]
		        cmp dword ptr ds:[eax+0B8h],70			; the speed, was 15 for Julian
	           	jg return2
	         	mov eax,dword ptr ds:[esi+ebx*4+194h]
	         	mov eax,dword ptr ds:[eax+368h]
	        	mov eax,dword ptr ds:[eax+6F4h]
	         	cmp eax,0D6h
	        	je return2
	         	cmp eax,0D0h
	        	je return2
	        	jmp dword ptr [ARMOR_JULIAN3]
 
return2:jmp dword ptr [ARMOR_JULIAN2]
 
Armor_Julian endp


could not add a 3 armor.

How to add a third armor?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)