GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
154 stars 63 forks source link

Using souls from armor slots. #4631

Open ValhallaCraft opened 3 weeks ago

ValhallaCraft commented 3 weeks ago

Describe the bug

It currently isn't possible to use soul costs in armor slots, id like to request this as a feature as it seems like an oversight.

How to reproduce

Feature Req

Screenshots / Videos

No response

"/ae plinfo" link

Feature Req

Server Log

No response

ThomasWega commented 3 weeks ago

Hey! What version have you used? In 9.11.3 I've fixed one issue with souls, so if you could re-test on latest please?

ValhallaCraft commented 2 weeks ago

hey! 9.11.4, when you have an enchant that repeats and costs souls from an armor slot like the one attatched below, the enchant wont trigger until you run /apply. Then it works normally!

glowing:
  display: '{#FF9A8B}G{#FF928B}l{#FF8A8A}o{#FF828A}w{#FF7A89}i{#FF7289}n{#FF6A88}g'
  description: |-
   Gives permanent night vision. (Cost: 1 Soul/5 Seconds)
  applies-to: Helmet
  type: REPEATING
  group: UNIQUE
  applies:
  - ALL_HELMET
  levels:
    '1':
      time: 5
      souls: 1
      effects:
      - POTION:NIGHT_VISION:0:600

https://github.com/user-attachments/assets/708ef8b3-9cb5-45a9-8bc3-b24436160a22