![]() |
Superfighters Deluxe
|
Public Member Functions | |
ProjectileProperties (ProjectileItem projItem, float initialSpeed, float plrDmg, float objDmg, float critChance, float critDamage, float dodgeChance, bool canBeBlocked) | |
Public Attributes | |
readonly bool | CanBeBlocked |
Gets if the projectile can be blocked at all from player melee weapons. More... | |
readonly float | CritChance |
Gets the critical hit chance. More... | |
readonly float | CritDamage |
Gets the critical damage. More... | |
readonly float | DodgeChance |
Gets the dodge chance for this projectile while diving/rolling. Range [0 - 1] More... | |
readonly float | InitialSpeed |
Gets the initial speed in world units per second that will decide the velocity vector for the projectile. The velocity is reduced if the projectile bounces. More... | |
readonly float | ObjectDamage |
Gets the damage done to objects. More... | |
readonly float | PlayerDamage |
Gets the damage done to players. More... | |
readonly ProjectileItem | ProjectileItem |
Gets the projectile item ID of this projectile. More... | |
ProjectileProperties | ( | ProjectileItem | projItem, |
float | initialSpeed, | ||
float | plrDmg, | ||
float | objDmg, | ||
float | critChance, | ||
float | critDamage, | ||
float | dodgeChance, | ||
bool | canBeBlocked | ||
) |
projItem | |
initialSpeed | |
plrDmg | |
objDmg | |
critChance | |
critDamage | |
dodgeChance | |
canBeBlocked |
readonly bool CanBeBlocked |
Gets if the projectile can be blocked at all from player melee weapons.
readonly float CritChance |
Gets the critical hit chance.
readonly float CritDamage |
Gets the critical damage.
readonly float DodgeChance |
Gets the dodge chance for this projectile while diving/rolling. Range [0 - 1]
readonly float InitialSpeed |
Gets the initial speed in world units per second that will decide the velocity vector for the projectile. The velocity is reduced if the projectile bounces.
readonly float ObjectDamage |
Gets the damage done to objects.
readonly float PlayerDamage |
Gets the damage done to players.
readonly ProjectileItem ProjectileItem |
Gets the projectile item ID of this projectile.