File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
MethodSystem/Methods/Scp079Methods Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 44using SER . ArgumentSystem . BaseArguments ;
55using SER . MethodSystem . BaseMethods ;
66
7- namespace SER . MethodSystem . Methods . SCP079Methods ;
7+ namespace SER . MethodSystem . Methods . Scp079Methods ;
8+
89public class Set079AccessTierMethod : SynchronousMethod
910{
1011 public override string Description => "Sets the Access Tier of the given player(s) if they are SCP-079" ;
Original file line number Diff line number Diff line change 44using SER . ArgumentSystem . BaseArguments ;
55using SER . MethodSystem . BaseMethods ;
66
7- namespace SER . MethodSystem . Methods . SCP079Methods ;
7+ namespace SER . MethodSystem . Methods . Scp079Methods ;
8+
89public class Set079AuxPowerMethod : SynchronousMethod
910{
1011 public override string Description => "Sets the Auxiliary Power of the given player(s) if they are SCP-079" ;
@@ -19,11 +20,11 @@ public override void Execute()
1920 {
2021 var plrs = Args . GetPlayers ( "players" ) ;
2122 var value = Args . GetInt ( "power" ) ;
22- foreach ( Player p in plrs )
23+ foreach ( Player p in plrs )
2324 {
24- if ( p . RoleBase is Scp079Role scp )
25+ if ( p . RoleBase is Scp079Role scp )
2526 {
26- if ( scp . SubroutineModule . TryGetSubroutine < Scp079AuxManager > ( out Scp079AuxManager aux ) )
27+ if ( scp . SubroutineModule . TryGetSubroutine < Scp079AuxManager > ( out Scp079AuxManager aux ) )
2728 {
2829 aux . CurrentAux = value ;
2930 }
Original file line number Diff line number Diff line change 44using SER . ArgumentSystem . BaseArguments ;
55using SER . MethodSystem . BaseMethods ;
66
7- namespace SER . MethodSystem . Methods . SCP079Methods ;
7+ namespace SER . MethodSystem . Methods . Scp079Methods ;
8+
89public class Set079ExpMethod : SynchronousMethod
910{
1011 public override string Description => "Sets the EXP of the given player(s) if they are SCP-079" ;
You can’t perform that action at this time.
0 commit comments