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
  • #1365

Closed
Open
Created Oct 22, 2023 by Dragon@DragonEye

Summoning multiple projectiles using fromOrigin=true causes them to spawn above each other in a line

Greetings, I am having an issue where using a multi-targeter to summon multiple projectiles with fromOrigin=true causes the projectiles to spawn in a vertical line on top of each other, as though the targeter is being shifted up a block for each projectile that is spawned.

Expected Behavior: The sub-projectiles should all spawn at the same location of the main projectile's onEnd skill so I can create meteors that fall from the sky and split into multiple fragments before impacting the ground.

Here is some example code you can use to see this in action:

Nether_InfernalWand_AltFire:
  Skills:
  - projectile{oT=Nether_InfernalWand_AltFire-Tick;oE=Nether_InfernalWand_AltFire-End;i=1;hR=0.33;vR=0.33;d=40;mr=256;v=20;hp=true;hnp=true;sE=false;sB=true;fromorigin=true;origin=@TargetLocation{y=50;x=<random.-15to15>;z=<random.-15to15>}} @TargetLocation{maxDistance=40}
  
Nether_InfernalWand_AltFire-Tick:
  Skills:
  - particles{p=DUST_COLOR_TRANSITION;color1=#FF9612;color2=#FF5412;size=4;a=3;hs=0;vs=0;s=0} @origin
  - particles{p=CAMPFIRE_COSY_SMOKE;a=2;hs=0.5;vs=0.5} @origin

Nether_InfernalWand_AltFire-End:
  Skills:
  - particles{p=EXPLOSION_LARGE;a=1;hs=0;vs=0;s=0} @origin
  - particles{p=FLASH;a=20;hs=0.5;vs=0.3;s=0} @origin
  - particles{p=FLAME;a=20;hs=0.5;vs=0.3;s=0.2} @origin
  - projectile{oT=Nether_InfernalWand_AltFire_Split-Tick;oE=Nether_InfernalWand_AltFire_Split-End;i=1;hR=0.1;vr=0.01;d=200;mr=200;v=3;hp=true;hnp=true;sE=false;sB=true;HitTargetOnly=false;g=0.4;fo=true} @RAO{r=3;points=<random.6to12>} # fo=true is here, this appears to be the source of the issue.

Nether_InfernalWand_AltFire_Split-Tick:
  Skills:
  - particles{p=DUST_COLOR_TRANSITION;color1=#FF7512;color2=#FF4C12;size=2;a=4;hs=0;vs=0;s=0} @origin
  - particles{p=SMALL_FLAME;size=2;a=2;hs=0;vs=0;s=0.05} @origin

Nether_InfernalWand_AltFire_Split-End:
  Skills:
  - particles{p=EXPLOSION_LARGE;a=1;hs=0;vs=0;s=0} @origin
  - particles{p=FLAME;a=8;hs=0;vs=0;s=0.1} @origin
  - particlering{p=REDSTONE;color=#FFAD00;size=0.75;a=1;hs=0;vs=0;s=0;y=0.05;points=200;radius=5} @origin

image image

Thank you for your time.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking