07-23-2014, 07:42 AM
Whether the armor is intact or broken is stored in a variable (named Defend Point). If the value is higher than X, the armor will block things off (unless you are allergic to fire/ice, but we'll stick with Julian for now).
I'm feeling so free to shamelessly copy it out of the DLL Framework:
Note that piercing attacks (Soul Bomb, Super Arrow, ...) will still bring 'em down instantly. I haven't cranked up that changable value to higher values than 50 but that one's already nuts and the char will almost never go into DOP.
Don't really have the time to go into detail right now, so please bear with me.
Stupid question, though, why no novel armor system? :p
I'm feeling so free to shamelessly copy it out of the DLL Framework:
ASM-Code:
mov eax,dword ptr ds:[esi+edi*4+194h] cmp dword ptr ds:[eax+0B8h],36 ; the speed, the higher the more ridiculous the armor. Julian has 15. 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] |
Note that piercing attacks (Soul Bomb, Super Arrow, ...) will still bring 'em down instantly. I haven't cranked up that changable value to higher values than 50 but that one's already nuts and the char will almost never go into DOP.
Don't really have the time to go into detail right now, so please bear with me.
Stupid question, though, why no novel armor system? :p
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt