Firstly, please, one important note:
Non-action spells have been mostly deprecated for
long long time, with a few exceptions for engineering spells like Fill and SuperXXXX that are currently difficult to reproduce with actions.
I am going to start to remove these deprecated spell classes. If you have been using them in your custom configs you should've been seeing warnings in your server logs for a while now.
To see if you are in trouble, just search your startup logs for the line "
is using a deprecated spell class"
In all cases it should be simple to replace them with actions, using the survival configs for reference. It's often a one-to-one replacement, though with some spells (like FrostSpell) you may have to combine a few actions to get the same effect (ModifyBlock + AOE/Damage/PotionEffect).
I apologize for any inconvenience this causes, I generally try to never remove anything from this plugin but I think in this case the time has come.
Now.. on to all of the huge number of exciting changes in this build!
- RecallSpell was removed, use RecallAction instead.
- Take note of all the deprecated spells you're using (basically any "class: something" in your main spell properties)
- These are all old, before the action system, and have been deprecated for years
- They will show in logs in startup
- They WILL be removed in future versions!
- The exception being engineering magic. Look for "is using a deprecated spell class" in your startup logs.
- Add support for %placeholders% in spell, wand and class parameters
- Add ModifyVariable action, adding concept of user-defined variables that can be used in spell parameters
- Use $variable in a spell parameter, command, or message
- You can also use @variable in commands for an integer version (rounding down)
- Add "variables" requirement
- Fix potter wand boxes not properly turning into a wand (icon wasn't working)
- Potter wand boxes now open on right-click
- Fix missing IMPORTANT headers in defaults files
- Add TakeCosts action
- Add "use_mode" wand property, which can be one of: success, precast, always. This replaces "preuse".
- Fix spells being unable to cancel themselves (e.g. cancel_on_death)
- Fix swapping a wand or gun into the offhand restoring its ammo or mana
- Add upgrade levels to Smite
- Add "height" requirement
- Add several builtin attributes: health, health_max, time, moon, location_x, location_y, location_z, level, xp, mana, mana_max
- Add source_use_movement_direction and target_use_movement_direction options to ChangeContext action
- Add use_wand and wand_slot parameters to ArmorStandProjectile action
- Improvements to TakeItem action, can now look for a specific item and also return it on undo
- Improvements to Damage action scaling by distance