BlackMagicAPI
BlackMagicAPI is a powerful BepInEx plugin that simplifies the process of adding custom spells to Mage Arena. The API provides an intuitive framework for spell creation, handling all the complex backend systems so modders can focus on spell design and effects.
Features
- Simplified Spell Creation: Create new spells with minimal boilerplate code
- Automatic Networking: Handles multiplayer synchronization automatically
- Resource Management: Built-in asset loading system
Installation
-
Prerequisites:
- Mage Arena with BepInEx 5.4.21 or newer
-
Installation:
MageArena/
└── BepInEx/
└── plugins/
└── BlackMagicAPI
└── BlackMagicAPI.dll
Changelog
v1.4.0
- Added the ability to synchronize data in spell logic with overrides WriteData, and SyncData.
- Added the ability to customize UI Sprints with a "YourSpellName_Ui.png" file in the Sprints mod folder or manually overriding it with GetUiSprite in SpellData
v1.3.0
v1.2.0
- Fixed huge oversight of Prefab ids being desynced between clients.
- Automatic spell sprites now have to be spaceless, for example "Cool Spell Name" has to be "CoolSpellName_Main.png" for the sprite to be registered
v1.1.0
- Added ModSync dependency.
v1.0.0