Bug Closed · Resolved

sudoparent dont work on a player.

#6080 opened by Unknown 1 year ago

Unknownreported this bug

MM Version: 5.8.0

Server: Paper version 1.21.1-57-master@b483da4

Summary

When a player summons a minion and is a parent of that minion, when a mob executes a skill with a Sudo Attributes in the target "sudoparent=ture" the origin of the dmg is still the mob, not a player.

Steps to reproduce

The player summons a mob and the player is the parent of the mob

Mob cast a skill with a target "sudoparent=ture" " - damage{a=4} @target{sudoparent=tue}"

The damage is caused by the summon not the player (checked by making the summon attack a mob with a skill " - holo{text="&f<skill.var.damage-amount{r=0}> Damage by &n<trigger.name>";time=60} @selflocation{y=2.6} ~onDamaged")

Current behavior

The damage is caused by the summon not the player

Intended correct behavior

The origin of the dmg would be the owner of the summon.

Unknowncommented

Closing due to inactivity and version changes since posting. If this issue is still present, re-open this issue with a modern-version server log, configs used to test and steps to reproduce.

Sign in to join the discussion.