New release of RL2.API
Full changes from the previous version can be found here
How to use:
- Install RL2.ModLoader
- Run the game once
- Download
RL2.API.zip
and unpack it intoGame_Installation_Path/Rogue Legacy 2_Data/Mods
Notes from the team
This is a big step in RL2 modding, as we can finally offer modders the possibility of adding content to the game.
This update introduces:
- Adding Relics
- Adding Traits, and
- Modifying sets of Summon Rules for Scar Challenges.
Unfortunately, all mods which were made for RL2.API v1.1.2 and below, are incompatible with the new version.
Porting notes
The fix in most cases is very simple, only requiring modders to add .Event
to every subscription to the event they use. Example:
// Old
Player.Ability.ModifyData += method;
Enemy.ModifyBehaviour += method;
// New
Player.Ability.ModifyData.Event += method;
Enemy.ModifyBehaviour.Event += method;