OBD:ONCC: Difference between revisions

m
mNo edit summary
Line 8: Line 8:
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/oncc_all.gif
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/oncc_all.gif


==0x00-0x21==
==0x00-0x27==
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000"
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000"
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
|- BGCOLOR="#FFDDBB" ALIGN=CENTER
Line 59: Line 59:
| ALIGN=LEFT | maximal falling height with damage
| ALIGN=LEFT | maximal falling height with damage
|}
|}
;Falling height: let FH1 be the height at 0x1A
;Falling height: let FH1 be the height at 0x20
:let FH2 be the height at 0x1E
:let FH2 be the height at 0x24
:let BH be the base health of the character
:let BH be the base health of the character
:let FH be the actual falling height
:let FH be the actual falling height
Line 66: Line 66:
:if FH < FH1, the character takes no damage
:if FH < FH1, the character takes no damage
:if FH1 < FH < FH2, the character takes damage (FH - FH1) / (FH2 - FH1) * BH
:if FH1 < FH < FH2, the character takes damage (FH - FH1) / (FH2 - FH1) * BH
==0x22-0x41==
==0x22-0x41==
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000"
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000"