
Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version

R2API.DamageType is a submodule assembly for R2API that allows mod creators to add their own DamageTypes to attacks.
R2API.DamageType can be used for mod creators to add their own DamageTypes to the game, and later use said damage types on different damage sources.
This is done via the DamageAPI class, which is used for reserving DamageTypes and adding them to the following damage sources: