TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ranged

bool Terraria.Projectile.ranged
getsetpackage

Definition at line 488 of file Projectile.cs.

489 {
490 get
491 {
493 }
494 set
495 {
496 if (value)
497 {
499 }
500 else if (DamageType == DamageClass.Ranged)
501 {
503 }
504 }
505 }
static DamageClass Ranged
static DamageClass Default
Default damage class for non-classed weapons and items, does not benefit from Generic bonuses.
T:Terraria.ModLoader.DamageClass is used to determine the application of item effects,...
bool CountsAsClass(DamageClass damageClass)
This is used to check if the projectile is considered to be a member of a specified T:Terraria....
DamageClass DamageType
The damage type assigned to this projectile, represented as a DamageClass. Leave blank or use DamageC...

Referenced by Terraria.Projectile.EmitEnchantmentVisualsAt(), Terraria.Projectile.SetDefaults(), Terraria.Projectile.StatusNPC(), and Terraria.Projectile.StatusPvP().