Changelog Testers - TheComputerGeek2/MagicSpells GitHub Wiki

[!NOTE]

  • 4.0 Beta 17 has been tested on 1.21.3.
  • All changes are already on the wiki.

Changes:

  • Removed character limitation (alphanumeric + _) on default values of the %arg placeholder in spell messages and string expressions.
  • Removed [3, 16] length limitation on player names in string expressions for the %playervar and %playerpapi placeholders.
  • Passive spells configured with helper-spell: true will now trigger for any player.
  • Spell cooldown now supports function expressions.
  • RegrowSpell can now target bogged.
  • ShearSpell can now target all Shearable. Added vanilla-sheep-shearing boolean option for backward compatibility, which defaults to false.

Additions:

  • Added predefined Spell Filter tags:
    • magicspells:beneficial for spells configured with beneficial: true
    • magicspells:helper-spell for spells configured with helper-spell: true
  • The Legacy String Spell Filter now supports a new form of a String Spell Filter with logical expressions. Some options that only supported the Config Spell Filter now also support the new String filter (but not the legacy one):
    • General Spell Config | interrupt-filter
    • ImpactRecordSpell | filter
    • ListSpell | filter
  • Added meta variable meta_attack_cooldown. It gets the current cooldown for a player's attack, with 1.0 representing a fully charged attack.
  • Adds the respect-item-cooldowns option to general.yml, which defaults to false. When true, an item with a cooldown (white hotbar overlay) cannot be used to cast or cycle spells.
  • Spell shared-cooldown has been expanded with a Config format and Spell Filters.
  • Added usingitem modifier condition. Passes if the Magic Item in the ConditionArg is actively "used" or consumed.

Fixes:

  • Fixed an issue where the ModifyCooldownSpell only worked if the spell was on cooldown.
  • Fixed an issue with the LightwalkSpell throwing errors while turning off and not removing light blocks in some cases.
  • Fixed an issue with the LilywalkSpell not working correctly.
  • Fixed an issue with Subspell's chance cast argument being in the range 0-1 instead of 0-100.
  • Fixed an issue with the ExternalCommandSpell's block-chat-output and store-chat-output options, which didn't correctly capture plugin chat message types. Those options unfortunately can no longer capture Vanilla command chat output.
  • Fixed an issue with the DisguiseSpell sending errors when LibsDisguises wasn't present.
  • Fixed an issue with the SpawnEntitySpell throwing an error during reload if an entity with duration did not expire.