Healing a Partner. (Read 23885 times)

Started by Vinnie, August 03, 2018, 04:59:53 am
Share this topic:
Healing a Partner.
#1  August 03, 2018, 04:59:53 am
  • ***
    • Vietnam
So I found that there's a method to heal a partner. And that's to paste these code to the [statedef -2] of the character that need to heal.
For instance, I'll take Tsunade as a healer and Naruto as a partner. So I'll go to Naruto.cns and paste these to the statedef -2 :

[State 0, PowerAdd]
type = lifeadd
value = 10
And yeah, it works perfectly.
But the thing is, I think that there must be a command that can heal your partner WITHOUT pasting these codes to your partner. It's impossible to do it for EVERY SINGLE characters and who ever gonna do that ? Or maybe that's the only method that can solve the problem.
Re: Healing a Partner.
#2  August 03, 2018, 10:19:02 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
The only way to achieve that is to turn your partner into a target, and then use TargetLifeAdd
XGargoyle: Battle posing since 1979  <-- Please click that link  <-- Donations welcome!
Re: Healing a Partner.
#3  December 09, 2018, 12:19:26 pm
  • ****
if u write the partner
you can heal it whatever you want

if u want to heal a random character who is your parner

you need

1 make a attack move
2 hitdef says this attack only attack your home team not enemy
3 after hit your teammate put it into a custom state
4 use targetlife add at your side with positive number.