Goal Description
The AbilityCooldown class only sends the NextUse variable and sets InitialTime to NetworkTime.time every time
SCP-3114 uses a Cooldown for the Remaining time of it's disguise
Resending the current Identity of SCP-3114, if they are disguised, would reset the Remaining Duration circle to full.
It would probably confuse players and this would fix it
Notes
This is how I would just do the reading and writing in the AbilityCooldown class:
public virtual void ReadCooldown(NetworkReader reader)
{
NextUse = reader.ReadDouble();
InitialTime = reader.ReadDouble();
}
public virtual void WriteCooldown(NetworkWriter writer)
{
writer.WriteDouble(NextUse);
writer.WriteDouble(InitialTime);
}
This is mostly for Plugin Developers wanting to do stuff with Ability Cooldowns without making the Player notice it visually
Goal Description
The
AbilityCooldownclass only sends theNextUsevariable and setsInitialTimetoNetworkTime.timeevery timeSCP-3114 uses a Cooldown for the Remaining time of it's disguise
Resending the current Identity of SCP-3114, if they are disguised, would reset the Remaining Duration circle to full.
It would probably confuse players and this would fix it
Notes
This is how I would just do the reading and writing in the
AbilityCooldownclass:This is mostly for Plugin Developers wanting to do stuff with Ability Cooldowns without making the Player notice it visually