public static void ADDBOATDAMAGEENTRY( TriggerObject trigObject, BaseBoat boat, Mobile mob, int damage, DateTime expiration) { if (boat != null && mob != null) { boat.AddDamageEntry(mob, damage, expiration); } }
public static void ADDBOATDAMAGEENTRY(TriggerObject trigObject, BaseBoat boat, Mobile mob, int damage) { if (boat != null && mob != null) { // default expiration of 15 minutes boat.AddDamageEntry(mob, damage, DateTime.UtcNow + TimeSpan.FromMinutes(30.0)); } }