If you want your character to recover to 500 live points it's a bit harder because here you can't use the mp-tag anymore. Instead, you have to use a negative itr with state: 18 so you can hit yourself (to hide the burning_smoke you have to edit broken_weapon.dat here).
<frame> 50 heal500
pic: 1000 state: 18 wait: 2 next: 1000 dvx: 0 dvy: 0 dvz: 0
centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: -20 y: 980 w: 40 h: 40 dvx: 0
fall: -1 vrest: 10 bdefend: -1 injury: -500
itr_end:
<frame_end>
But you don't want your character to go to the injured-frames, so be sure to use make both the "bdefend" and "fall" values -1! The rest is easy: let the weapon fall down, activate the milk behind the character, use state: 17 for a short time and delete the milk from the game.
Heal500 |
Inspired by MH-Razen