|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
Wind Physics is completely disabled and unfunctional in Terraria, but the presence of the code suggest that it might be enabled in a future update. There is no need to use WindPhysicsImmunity currently.
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile will always use wind physics.
If false for a given projectile type, then that projectile will never use wind physics.
If null for a given projectile type, then vanilla decides if that projectile will use wind physics by checking F:Terraria.Projectile.aiStyle.
Defaults to null.
Wind physics slightly slow down projectiles facing into the wind.
Projectiles with the following AI styles will use wind physics if not blocked: F:Terraria.ID.ProjAIStyleID.Arrow, F:Terraria.ID.ProjAIStyleID.ThrownProjectile, F:Terraria.ID.ProjAIStyleID.Bounce, F:Terraria.ID.ProjAIStyleID.FallingTile, F:Terraria.ID.ProjAIStyleID.GroundProjectile, F:Terraria.ID.ProjAIStyleID.Explosive, F:Terraria.ID.ProjAIStyleID.GraveMarker, F:Terraria.ID.ProjAIStyleID.MusicNote, F:Terraria.ID.ProjAIStyleID.CrystalShard, F:Terraria.ID.ProjAIStyleID.ColdBolt, F:Terraria.ID.ProjAIStyleID.GemStaffBolt, F:Terraria.ID.ProjAIStyleID.BeachBall, F:Terraria.ID.ProjAIStyleID.Flare, F:Terraria.ID.ProjAIStyleID.FireWork, F:Terraria.ID.ProjAIStyleID.RopeCoil, F:Terraria.ID.ProjAIStyleID.ExplosiveBunny, F:Terraria.ID.ProjAIStyleID.Bubble, F:Terraria.ID.ProjAIStyleID.Nail, F:Terraria.ID.ProjAIStyleID.IchorSplash, F:Terraria.ID.ProjAIStyleID.SporeGas.
Definition at line 78 of file ProjectileID.cs.
Referenced by Terraria.Projectile.ShouldUseWindPhysics().