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.