Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

DeusEx.InvulnSphere


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
//
//	InvulnSphere is the effect on the Nintendo Immunity in multiplayer
//
class InvulnSphere extends SphereEffect;

var DeusExPlayer AttachedPlayer;

simulated function Tick(float deltaTime)
{
    local DeusExPlayer myPlayer;

   if (AttachedPlayer == None)
   {
      Destroy();
      return;
   }
   SetLocation(AttachedPlayer.Location);
    DrawScale = size * 1.25;

    myPlayer = DeusExPlayer(GetPlayerPawn());
    if (myPlayer == AttachedPlayer)
        ScaleGlow = FClamp( 0.33 * (LifeSpan / AttachedPlayer.NintendoDelay), 0.0, 0.33);
    else
        ScaleGlow = 2.0 * (LifeSpan / AttachedPlayer.NintendoDelay);
}

defaultproperties
{
     LifeSpan=6.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 8/11/2021 16:22:52.000 - Creation time: Mon 8/11/2021 16:31:27.686 - Created with UnCodeX