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

◆ IsArrow

bool [] Terraria.ID.AmmoID.Sets.IsArrow = Factory.CreateBoolSet(false, Arrow, Stake)
static

If true for a given item type (F:Terraria.Item.type), then items of that type are counted as arrows for the purposes of F:Terraria.Player.arrowDamage and the F:Terraria.ID.ItemID.MagicQuiver.
Defaults to false.

Definition at line 118 of file AmmoID.cs.

Referenced by Terraria.Player.GetWeaponDamage(), Terraria.Player.IsAmmoFreeThisShot(), and Terraria.Player.PickAmmo().