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 145
    • Issues 145
    • 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
  • #1358

Closed
Open
Created Oct 15, 2023 by IonTech@I0nTech

Issue with Summon mechanic when a skill parameter is fed into it.

While working on a dynamic wave spawner, I found this bug:

wave-altar-spawnlogic:
  Skills:
#  - setvariable{var=caster.wavepower;value="<caster.var.wavepower>-<skill.weight>"}  
  - message{m="<skill.type>"} @PIR{r=120}
  - summon{t="<skill.type>";a=1;sip=true;radius=12;os=true} 

wave-altar-spawntest:
  Skills:
  - randomskill{
    skills=
    [ - skill{s=wave-altar-spawnlogic;type="SkeletalMinion"} ],
    [ - skill{s=wave-altar-spawnlogic;type="SkeletalKnight"} ],
    [ - skill{s=wave-altar-spawnlogic;type="SkeletonKing"}  ]
    } @self

This, despite it seeming like it should by all means spawn skeletal minions, skeletal knights and skeleton kings with equal probability, instead summons just one type of mob all the time, even when the debug messages claims otherwise.

Even stranger, the type of mob it chooses to consistently spawn seems to be random, and reloading mythicmobs sometimes causes it to consistently spawn another listed mob.

A fix would make my life slightly less miserable.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking