
ROUNDS
You are viewing a potentially older version of this package. View Latest Version

A mod that makes use of the built in charge system for the Gun class, and makes it viable.
To use, simply set gun.Charge = true; in your card's SetupCard.
float chargeDamageMultiplier
The multiplier for a gun's damage based on its charge. Default value of 1.
float chargeSpeedTo
The multiplier for a gun's bullet speed based on its charge. Default value of 1.
float GetBulletCharge(this ProjectileHit instance)
Returns the charge of the bullet instance.
float charge = this.gameObject.GetComponent<ProjectileHit>().GetBulletCharge().charge;
GunAdditionalData GetAdditionalData(this Gun instance)
Returns the additional data associated with a gun object.
gun.GetAdditionalData().chargeTime = 1f;
class GunAdditionalData
Information associated with the Gun object for a player.
gun.GetAdditionalData().chargeTime = 1f;