GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
139 stars 61 forks source link

Guardians only spawns 1 mob instead of 4 #4290

Closed ArmonicPvP closed 1 month ago

ArmonicPvP commented 1 month ago

Describe the bug

Guardians will only spawn 1 mob instead of the correct number on the enchant

How to reproduce

guardians: display: '%group-color%Guardians' description: Chance to summon Iron Golems applies-to: Chestplates type: DEFENSE;DEFENSE_MOB;DEFENSE_MOB_PROJECTILE;DEFENSE_PROJECTILE settings: showActionBar: true group: RARE applies:

Screenshots / Videos

video: https://github.com/GC-spigot/AdvancedEnchantments/assets/24983808/8ee5088e-08c2-4876-9e70-16e07a6ba9ad

debug info:

16:54:08 INFO: §8[reader] 0 DEFENSE_MOB NETHERITE_CHESTPLATE, stackItem: net.advancedplugins.ae.impl.effects.effects.actions.utils.StackItem@602b79e1 16:54:08 INFO: [reader] 1 DEFENSE_MOB 16:54:08 INFO: [reader] 2.1 shockwave lvl: 4 16:54:08 INFO: [reader] 2.1 hellforged lvl: 5 16:54:08 INFO: [reader] 2.1 guardians lvl: 10 16:54:08 INFO: [reader] 3 final abilities: [net.advancedplugins.ae.impl.effects.effects.abilities.AdvancedAbility@66c9ebc4, net.advancedplugins.ae.impl.effects.effects.abilities.AdvancedAbility@7d9189d5, net.advancedplugins.ae.impl.effects.effects.abilities.AdvancedAbility@4896b3a2]

16:54:08 INFO: Attacker: SPIDER 16:54:08 INFO: Victim: PLAYER 16:54:08 INFO: Condition in: "%victim health% > 5 : %stop%"

16:54:08 INFO: Condition out: "27.08884620666504 > 5 : %stop%" 16:54:08 INFO: Condition result: STOP

16:54:08 INFO: §d[ExecutionTask] start of GUARD:IRON_GOLEM:8:4 parsing+ 16:54:08 INFO: §d§l(!) GUARD:IRON_GOLEM:8:4 activating entity based PLAYER 16:54:08 INFO: §8[reader] 0 DEFENSE_MOB DIAMOND_LEGGINGS, stackItem: net.advancedplugins.ae.impl.effects.effects.actions.utils.StackItem@7d86efc9 16:54:08 INFO: [reader] 3 final abilities: []

"/ae plinfo" link

https://paste.md-5.net/pikaneveha

Server Log

No response

ThomasWega commented 1 month ago

Actually! Just tested it and seems to work completely normal! But your formatting is wrong. It's supposted to be GUARD:IRON_GOLEM:8:4:@Victim. I'll try to do something to improve the formatting to work with your version as well

ThomasWega commented 1 month ago

Will be fixed in the next update!