change over more parts to the new system
This commit is contained in:
@@ -464,7 +464,7 @@ public abstract class CustomClassHandler: ICustomClassHandler
|
||||
//Intentionally left blank
|
||||
}
|
||||
|
||||
protected virtual void SendSpawnMessage(Player player, CustomClassConfig config)
|
||||
public virtual void SendSpawnMessage(Player player, CustomClassConfig config)
|
||||
{
|
||||
if (config.Name.IsEmpty()) return;
|
||||
player.SendBroadcast($"You are a {config.FullCustomInfo}!", CustomClasses.BroadcastDuration);
|
||||
@@ -967,6 +967,8 @@ public sealed class BloodFueledConfig : CustomClassConfig
|
||||
public override double ChancePerPlayer { get; set; } = 1.0;
|
||||
public override int MaxSpawns { get; set; } = int.MaxValue;
|
||||
public override RoleTypeId RequiredRole { get; set; } = RoleTypeId.Scp939;
|
||||
public override string Name { get; init; } = "Blood Fueled";
|
||||
public override string Color { get; init; } = "#C50000";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user