|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
This method sets a variety of Item values common to staff magic weapons.
Specifically:
DefaultToMagicWeapon(projType, singleShotTime, pushForwardSpeed, hasAutoReuse: true); mana = manaPerShot; width = 40; height = 40; UseSound = F:Terraria.ID.SoundID.Item43; Additionally:
| projType | |
| pushForwardSpeed | Passed into DefaultToMagicWeapon as the shotVelocity parameter |
| singleShotTime | |
| manaPerShot |
Definition at line 47976 of file Item.cs.
References Terraria.Item.DefaultToMagicWeapon(), Terraria.Entity.height, Terraria.ID.SoundID.Item43, Terraria.Item.mana, Terraria.Item.UseSound, and Terraria.Entity.width.
Referenced by Terraria.Item.SetDefaults5().
Here is the call graph for this function:
Here is the caller graph for this function: