public Staff(string texture, int originX, int originY, int useTime, float knockBack, string prefix, float shootSpeed = 8f, bool front = false, float manaMultiplier = 1f, int critBonus = 0, int iterations = 1, bool autoSwing = true) { Type = Staffs.Count + 1; if (Main.netMode != NetmodeID.Server) { Texture = ModLoader.GetMod(Constants.ModName).GetTexture("Content/GFX/Items/Staves/" + texture); } Origin = new Vector2(originX, originY); UseTime = useTime; KnockBack = knockBack; Iterations = iterations; Prefix = prefix; Mana = manaMultiplier; CritBonus = critBonus; AutoSwing = autoSwing; ShootSpeed = shootSpeed; Front = front; if (!Staffs.ContainsKey(Type)) { Staffs.Add(Type, this); } }