YesNoOk
avatar

Healing a Partner. (Read 25972 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
    • sites.google.com/view/vinnie-mugen-projects/home
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
triggerall=partner,name="Tsunade"
triggerall=partner,stateno=1600
trigger1=timemod=10,0
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
    • xgargoyle.mgbr.net
The only way to achieve that is to turn your partner into a target, and then use TargetLifeAdd
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- 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.