mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Formatting
This commit is contained in:
parent
cd610f4d53
commit
23fb09e417
1 changed files with 2 additions and 2 deletions
|
|
@ -2081,7 +2081,6 @@ function LakRabbitGame::enterMissionArea(%game, %playerData, %player)
|
||||||
cancel(%player.alertThread);
|
cancel(%player.alertThread);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// borlak -- TAKEN FROM TR2 -- thanks! :D
|
// borlak -- TAKEN FROM TR2 -- thanks! :D
|
||||||
function plzBounceOffGrid(%obj, %bounceForce, %count)
|
function plzBounceOffGrid(%obj, %bounceForce, %count)
|
||||||
{
|
{
|
||||||
|
|
@ -2154,6 +2153,7 @@ function plzBounceOffGrid(%obj, %bounceForce, %count)
|
||||||
schedule(250, 0, plzBounceOffGrid, %obj, %bounceForce, %count + 1);
|
schedule(250, 0, plzBounceOffGrid, %obj, %bounceForce, %count + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function isOutOfBounds(%position)
|
function isOutOfBounds(%position)
|
||||||
{
|
{
|
||||||
%shapePos = %position;
|
%shapePos = %position;
|
||||||
|
|
@ -2168,6 +2168,7 @@ function isOutOfBounds(%position)
|
||||||
return (%shapex < %boundsWest || %shapex > %boundsEast ||
|
return (%shapex < %boundsWest || %shapex > %boundsEast ||
|
||||||
%shapey < %boundsNorth || %shapey > %boundsSouth);
|
%shapey < %boundsNorth || %shapey > %boundsSouth);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getHeight(%this)
|
function getHeight(%this)
|
||||||
{
|
{
|
||||||
%z = getWord(%this.getPosition(), 2);
|
%z = getWord(%this.getPosition(), 2);
|
||||||
|
|
@ -2190,7 +2191,6 @@ function LakRabbitGame::leaveMissionArea(%game, %playerData, %player)
|
||||||
// From Arena
|
// From Arena
|
||||||
// ------------------------------------------------------------------ //
|
// ------------------------------------------------------------------ //
|
||||||
// Do damage to a player for being outside the mission area
|
// Do damage to a player for being outside the mission area
|
||||||
|
|
||||||
function LakRabbitGame::MissionAreaDamage(%game, %player)
|
function LakRabbitGame::MissionAreaDamage(%game, %player)
|
||||||
{
|
{
|
||||||
if(%player.getState() !$= "Dead")
|
if(%player.getState() !$= "Dead")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue