public TempSkillBall(int SkillBonus, int days) : base(3699) { m_RemovalTime = DateTime.Now + TimeSpan.FromDays(Math.Min(days, 365)); TemporaryItemSystem.Verify(this); m_SkillBonus = SkillBonus; CreateCustomName(); Hue = 1266; }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 0: { m_SkillBonus = reader.ReadInt(); m_RemovalTime = reader.ReadDateTime(); TemporaryItemSystem.Verify(this); break; } } }
protected override void OnTick() { TemporaryItemSystem.VerifyAll(); }