Menu

Commit [r2954]  Maximize  Restore  History

New script ~ ondoattack: Runs when engine confirms a hit by or on entity (defender's runs first) immediately before hit handling (pain, blocking, etc.) takes place.Returns following:

self: Caller
other: Attacker if running on defender, Defender if running on Attacker.
damage: attack damage.
drop: knockdown power.
attacktype: attack type.
noblock: block break force of attack.
guardcost: Guardcost of attack.
jugglecost: Jugglecost of attack.
pauseadd: Pause value of attack.
which:
::0 = Caller is defender.
::1 = Caller is attacker.

New systemvariant ~ lasthitc: Set to 1 each time engine confirms collision. If 0, engine's remaining hitcode for a given attack is disabled. Use in conjunction with ondoattack to build custom hit handling.

damon_caskey 2010-12-31

MongoDB Logo MongoDB