This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Expand file tree Collapse file tree 6 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 4
4
function BetterJetpacksScript :UpdateScript ()
5
5
for actor in MovableMan .AddedActors do
6
6
if not actor :NumberValueExists (" BetterJetpacksScript" ) then
7
- self :DeployEffect (actor );
7
+ self :BuffJetpack (actor );
8
8
for i = 1 , actor .InventorySize do
9
9
local item = actor :Inventory ();
10
- self :DeployEffect (item );
10
+ self :BuffJetpack (item );
11
11
actor :SwapNextInventory (item , true );
12
12
end
13
13
end
14
14
end
15
15
end
16
- function BetterJetpacksScript :DeployEffect (actor )
16
+ function BetterJetpacksScript :BuffJetpack (actor )
17
17
if IsAHuman (actor ) then
18
18
actor = ToAHuman (actor );
19
19
elseif IsACrab (actor ) then
Original file line number Diff line number Diff line change 1
1
function FriendlyFireScript :StartScript ()
2
- -- Minimum distance in pixels that the particles ingore teammates for
2
+ -- Minimum distance in pixels that the particles ignore teammates for
3
3
self .safeDist = 100 ;
4
4
self .updateTimer = Timer ();
5
5
self .updateTimer :SetSimTimeLimitMS (math.ceil (TimerMan .DeltaTimeMS * 3 ));
Original file line number Diff line number Diff line change 5
5
function FasterWalkingScript :UpdateScript ()
6
6
for actor in MovableMan .AddedActors do
7
7
if not actor :NumberValueExists (" FasterWalkingScript" ) then
8
- self :DeployEffect (actor );
8
+ self :BoostWalkSpeed (actor );
9
9
for i = 1 , actor .InventorySize do
10
10
local item = actor :Inventory ();
11
- self :DeployEffect (item );
11
+ self :BoostWalkSpeed (item );
12
12
actor :SwapNextInventory (item , true );
13
13
end
14
14
end
15
15
end
16
16
end
17
- function FasterWalkingScript :DeployEffect (actor )
17
+ function FasterWalkingScript :BoostWalkSpeed (actor )
18
18
local walker ;
19
19
if IsAHuman (actor ) then
20
20
walker = ToAHuman (actor );
Original file line number Diff line number Diff line change 1
1
function FragileUnitsScript :UpdateScript ()
2
2
for actor in MovableMan .AddedActors do
3
3
if not actor :NumberValueExists (" FragileUnitsScript" ) then
4
- self :DeployEffect (actor );
4
+ self :MakeFragile (actor );
5
5
for i = 1 , actor .InventorySize do
6
6
local item = actor :Inventory ();
7
- self :DeployEffect (item );
7
+ self :MakeFragile (item );
8
8
actor :SwapNextInventory (item , true );
9
9
end
10
10
end
11
11
end
12
12
end
13
- function FragileUnitsScript :DeployEffect (actor )
13
+ function FragileUnitsScript :MakeFragile (actor )
14
14
if IsAHuman (actor ) or IsACrab (actor ) then
15
15
actor = ToActor (actor );
16
16
actor .MaxHealth = 1000 ;
Original file line number Diff line number Diff line change 1
1
function InstakillHeadshotsScript :UpdateScript ()
2
2
for actor in MovableMan .AddedActors do
3
3
if not actor :NumberValueExists (" InstakillHeadshotsScript" ) then
4
- self :DeployEffect (actor );
4
+ self :WeakenHead (actor );
5
5
for i = 1 , actor .InventorySize do
6
6
local item = actor :Inventory ();
7
7
if IsActor (item ) then
8
- self :DeployEffect (ToActor (item ));
8
+ self :WeakenHead (ToActor (item ));
9
9
end
10
10
actor :SwapNextInventory (item , true );
11
11
end
12
12
end
13
13
end
14
14
end
15
- function InstakillHeadshotsScript :DeployEffect (actor )
15
+ function InstakillHeadshotsScript :WeakenHead (actor )
16
16
actor :SetNumberValue (" InstakillHeadshotsScript" , 1 )
17
17
if IsAHuman (actor ) then
18
18
local human = ToAHuman (actor )
Original file line number Diff line number Diff line change @@ -5,20 +5,20 @@ function ToughUnitsScript:UpdateScript()
5
5
for actor in MovableMan .AddedActors do
6
6
if not actor :NumberValueExists (" ToughUnitsScript" ) then
7
7
if IsAHuman (actor ) or IsACrab (actor ) then
8
- self :DeployEffect (actor );
8
+ self :Buff (actor );
9
9
else
10
10
for i = 1 , actor .InventorySize do
11
11
local item = actor :Inventory ();
12
12
if IsActor (item ) then
13
- self :DeployEffect (ToActor (item ));
13
+ self :Buff (ToActor (item ));
14
14
end
15
15
actor :SwapNextInventory (item , true );
16
16
end
17
17
end
18
18
end
19
19
end
20
20
end
21
- function ToughUnitsScript :DeployEffect (actor )
21
+ function ToughUnitsScript :Buff (actor )
22
22
actor :SetNumberValue (" ToughUnitsScript" , 1 );
23
23
actor .GibWoundLimit = actor .GibWoundLimit * self .multiplier ;
24
24
actor .GibImpulseLimit = actor .GibImpulseLimit * self .multiplier ;
You can’t perform that action at this time.
0 commit comments