public override void SetDefaults() { projectile.alpha = 32; projectile.friendly = true; projectile.minion = true; projectile.ignoreWater = true; projectile.tileCollide = false; _dustType = ModContent.DustType <SpiritFlameDustTrail>(); _data = SeinData.All[SpiritFlameType - 1]; projectile.knockBack = _data.knockback; projectile.width = _data.spiritFlameWidth; projectile.height = _data.spiritFlameHeight; _lerp = _data.homingStrengthStart; _speed = _data.projectileSpeedStart; }
public override void SetDefaults() { item.buffType = GetBuffType(); item.shoot = GetShootType(); item.summon = true; item.mana = 10; item.width = 18; item.height = 18; item.useTime = 21; item.useAnimation = 21; item.useStyle = ItemUseStyleID.SwingThrow; item.noMelee = true; item.UseSound = SoundID.Item44; SeinData data = SeinData.All[SeinType - 1]; item.damage = data.damage; item.rare = data.rarity; item.value = data.value; item.color = data.color; }