How can l heal my hero?

I know how to heal friends but l dont know how can l heal myself :heartpulse:

def commandPaladin(paladin):
    if (paladin.canCast("heal")):
        target = lowestHealthPaladin()
        if target:
            hero.command(paladin, "cast", "heal", target)

it’s hero.command(paladin, “cast”, “heal”, hero)


Thanks man! I am finally in ıce part because of you well however it was about to add one code!

1 Like