Im passing the level with the dead general on the mountain. Anyway, I want to use my pugicorn to charm skeletons, but my code doesn’t work:
if skeleton and pet.isReady(“charm”) and skeleton.maxHealth<=hero.maxHealth:
I guess the problem is with my onSpawn function becaouse I put a pet.say(“something”) inside it and it didn’t work. I’d be thankfull for any kind of help.