#Pet that hurts its owner (on purpose)

1 messages · Page 1 of 1 (latest)

sweet nymph
#

So, I have this wacky, off-the-rails pet for advanced Witches on my server. It's a Voodoo Doll.

It's got a bunch of mechanics, but one mechanic I particularly wanted is for this pet to be able to hurt it's owner in certain cases. Obviously direct - damage won't work, and I'm fairly sure that - sudoskill for self-damage isn't going to work either (though I haven't fully tested this, just a bit).

Does anyone have any clever ideas to **bypass **pets not being able to hurt their owners?

(I could see it spawning an invisible mob to indirectly hurt the owner, but: there's a chance this damaging could be rapid fire. So spawning an extra mob for this purpose seems inefficient.)

primal briar
sweet nymph
#

or this. - damage{a=3} @PetOwner ~onTimer:40

#

I'm going to make an attempt for my pet pet to spawn an invisible, no-hitbox pet's pet, that will mount the pet and traffic ~onSignal

sweet nymph
#

Okay, I found a way to cheese a solve for this, without all this crazy pet's pet stuff.
Mob: - setparent @NearestPlayer ~onSpawn
And in the mcpet's file, I just tightened the spawn range a bit as a precaution: SpawnRange: 2

sweet nymph
#

Correction: this doesn't seem to work after all. Drat.

primal briar
#

how about applying a potion effect of instant damage?