Skip to main content
The More RPG Library adds four elemental magic spell schools that expand the magical capabilities of Spell Engine. These schools use the standard magic archetype and are designed for traditional spellcasting.

Overview

All magic spell schools are created using the SpellSchools.createMagic() method, which automatically configures them with the MAGIC archetype. Each school has a unique color theme that represents its elemental nature.

Air Magic

Air Magic harnesses the power of wind and sky.

School Properties

  • Color: 0xd4e3fe (light sky blue)
  • Archetype: MAGIC
  • ID: spell_power:air

Registration

public static final SpellSchool AIR = SpellSchools.register(
    SpellSchools.createMagic("air", 0xd4e3fe)
);

Power Calculation

Air Magic uses the standard magic school power calculation, which is based on the entity’s air spell power attribute.
Air Magic spells benefit from spell power attributes and standard spell school modifiers like haste and critical strike.

Implementation

All magic spell schools are registered in the MoreSpellSchools.initialize() method:
public static void initialize() {
    SpellSchools.register(EARTH);
    SpellSchools.register(WATER);
    SpellSchools.register(AIR);
    SpellSchools.register(NATURE);
    // ... other school registrations
}

Using Magic Schools

To use these magic schools in your spells, reference them by their identifiers in your spell JSON files:
{
  "school": "spell_power:air",
  "power": 10.0
}
All magic spell schools automatically support the standard spell traits including power, haste, critical chance, and critical damage when properly configured.