@Child is not functioning correctly.
MM version 5.4.0 Build fe3fad12 || Paper 196
Latest Dev 5.4.1 Build 35c72449 || Paper 196
The targeter @children is busted. replacing it with @EIR{r=10} functions like normal and I can set the stance of the summoned armorstand. Please note that we can detect the caster name inside the raytrace. Armorstand recognizes caster as its parent, but cannot pass skills back to its child.
I expect to be able to set the stance of the child of the summoner which is the caster. summoner for summon is set as parent and this works as the message in the mob will show.
Cast the following skill from an item:
Skill
swordPierce:
Skills:
- raytrace{
locationSkill=[
- summon{t=PiercingArmorStand;sip=true}
- m{m=My caster inside the raytrace is <caster.name>
];
raytraceConditions=[
- entitytype{t=armor_stand} false
];md=5}
- delay 5
- setStance{s=<caster.name>} @children # <--- change this to EIR{r=10} and it works.
Mob
PiercingArmorStand:
Type: Armorstand
Options:
Invincible: true
HasGravity: true
Interactable: false
AlwaysShowName: true
Skills:
- skill{s=[
- remove{delay=30} @self
]} ~onSpawn
- skill{s=[
- m{m=Hi owner} @owner
- m{m=Hi parent} @parent
- m{m=Hi my stance is <caster.stance>} @world
]} ~onTimer:10
Iontech's previous ticket skill also does not work at all:
test-summon-cast:
Skills:
- summon{t=husk;summonerIsParent=true} @self
# - onAttack{oH=test-summon-retarget;duration=300;ce=false} @self
- delay 20
- message{m="doignite <caster.children.size>"} @self
- ignite @children