Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 132
    • Issues 132
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1349

Closed
Open
Created Oct 10, 2023 by Dante@Dant35tra5t💬

@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
Edited Oct 10, 2023 by Dante
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking