You are viewing a potentially older version of this package.
View all versions.
R2API Dot
API for adding custom damage over time effects
Date uploaded | 5 months ago |
Version | 1.0.2 |
Download link | RiskofThunder-R2API_Dot-1.0.2.zip |
Downloads | 378950 |
Dependency string | RiskofThunder-R2API_Dot-1.0.2 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2109README
R2API.Dot - Custom Damage over time effects
About
R2API.Dot is a submodule assembly for R2API that allows mod creators to add new Damage over time effects to the game, DOT's include the game's Burn, Bleeding, and more.
Use Cases / Features
R2API.Dot is used for adding new DotIndices and DotDefs to the game's DotController, this is done via the RegisterDotDef method.
Alongside adding new DotIndices and DotDefs, One can also provide CustomDotBehaviours and CustomDotVisuals, these are Delegates that are used for giving extra features to your DamageOverTime effects.
- CustomDotBehaviour: Runs the delegate after AddDot succesfully adds your DamageOverTime
- CustomDotVisual: Functions like a FixedUpdate method for your dot, use this to handle the Visual effect of your DOT.
Related Pages
Changelog
'1.0.2'
- Fix custom DOTs counting as active upon infliction and not only after having ticked once.
'1.0.1'
- Fix the NuGet package which had a dependency on a non-existent version of
R2API.Core
.
'1.0.0'
- Split from the main R2API.dll into its own submodule.