(08-22-2009, 01:40 PM)naruto hyuuga Wrote: so can you give it to the public??? or great god nave?
or MAYBE change to a itr kind or effect?
I looked into making it a kind, it is way to much effort. Unknown itr kinds don't default back to 0. So if you use something like itr kind:30 , it won't react with anything. That means that a lot of code has to be modified to get it to work properly.
I started to write it, but then realized that it would be way to much work
.
Code:
.data
damage_r dd 0042E9C2h
ik0_r1 dd 0042E678h
ik0_r2 dd 004305CEh
.code
dmg proc
cmp dword ptr ss:[esp+40],35 ;35 is the ik number
jne normal
SUB DWORD PTR DS:[EAX+308h],ECX
jmp return
normal:
SUB DWORD PTR DS:[EAX+2FCh],ECX
return:
jmp [damage_r]
dmg endp
ik0 proc
cmp edx,0
je return
cmp edx,35
je return
jmp [ik0_r2]
return:
jmp [ik0_r1]
ik0 endp
Code:
invoke JmpPatch,0042E9BCh, addr dmg
invoke JmpPatch,0042E670h, addr ik0
Doesn't work with armored characters, doesn't have sparks, probably doesn't have sound (to lazy to check).