Spell Engine

Spell Engine

Mod

🪄 Data driven magic library

Client and server Game MechanicsLibraryMagic

1.28M downloads
336 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

1.5.0+1.21.1

Changelog

1.5.0

IMPORTANT DISCLAIMER:

  • This update requires content mods to be updated, due to major API changes

Functional changes:

  • Built in trinket slots
    • Spell Book slot spell/book (enabled by default)
    • Spell Scroll slot spell/scroll (disabled by default)
    • Quiver slot (in standalone group) misc/quiver (enabled by default)
    • Quiver slot (in the spell group) spell/quiver (disabled by default)
  • Add engine level immunity against slowing, rooting and stunning effects for bosses

API Changes:

  • Build with Fabric Loom 1.9
  • BREAKING CHANGES!
    • Completely refreshed spell data structure
    • Add spell type do differentiate between ACTIVE and PASSIVE spells
    • Spell structure: cast and scroll moved into active object
    • Spell structure: cost reworked to be more structured
    • Spell structure: release.target split into target and deliver
    • Completely rewrite spell stashes, now powered by unified spell triggers, stash effects are now automatically linked
    • Rewrite spell impact target conditions, now unified with spell trigger target conditions
  • Rewrite spell container merge logic
    • Spell containers are now resolved from: main-hand, off-hand, equipment, trinkets (plugin)
    • Custom spell container sources can be added
    • Spell containers are cached for improved performance
    • Add spell container slot field, to allow offhand containers
  • Rewrite ammo handling
    • Add support for ammo lookup in container items (Bundle)
    • Add support for multiple ammo item cost
    • Add quiver slot for Quivers and Rune Pouches
  • Add support for passive spells
    • Add spell triggers (for passives and stashes): ARROW_SHOT, ARROW_IMPACT, MELEE_IMPACT, SPELL_IMPACT_ANY, SPELL_IMPACT_SPECIFIC, DAMAGE_TAKEN, ROLL
  • Removed HealthImpacting status effect configuration interface. Replaced by new attributes:
    • spell_engine:healing_taken
    • spell_engine:damage_taken
  • Misc technical
    • Impact.apply_to_caster now overrides all intent checks, add effect remove action
    • Add StatusEffectClassification to check action impairing effects
    • Included sound entries are now available as static references in SpellEngineSounds
    • StatusEffect impact can now be used for helpful and harmful dispels
    • Spell Projectile data synchronization rewritten
  • Add generic data file providers to be used by any content mod
    • SpellGenerator
    • SimpleParticleGenerator
    • SimpleSoundGenerator
  • Magic related particles are now sorted and systematically generated
    • Name formula: magic_FAMILY_SHAPE_MOTION
    • Example: magic_frost_impact_burst
    • For all variants, check out net.spell_engine.fx.Particles
    • ParticleBatch PIPE shape now fixed, use WIDE_PIPE for old behaviour
    • Clean up magic related particle effects
  • Restructure config related api packages

Files

spell_engine-1.5.0+1.21.1.jar(1.66 MiB) Primary Download

Project members

ZsoltMolnarrr

Owner

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated 8 days ago