You are viewing a potentially older version of this package. View all versions.
RiskofThunder-R2API_DamageType-1.0.0 icon

R2API DamageType

API for registering damage types

Date uploaded 2 years ago
Version 1.0.0
Download link RiskofThunder-R2API_DamageType-1.0.0.zip
Downloads 167055
Dependency string RiskofThunder-R2API_DamageType-1.0.0

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
bbepis-BepInExPack-5.4.2109 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2109
RiskofThunder-R2API_Core-5.1.1 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.1.1

README

R2API.DamageType - Custom DamageType creation and management

About

R2API.DamageType is a submodule assembly for R2API that allows mod creators to add their own DamageTypes to attacks.

Use Cases / Features

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:

  • DamageInfo
  • BulletAttack
  • DamageOrb
  • GenericDamageOrb
  • LightningOrb
  • BlastAttack
  • OverlapAttack
  • DotController.DotStack

Related Pages

Changelog

'1.0.0'

  • Split from the main R2API.dll into its own submodule.