mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-02 00:52:56 +00:00
19 lines
280 B
Text
19 lines
280 B
Text
class DukeNaturalLightning : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "NATURALLIGHTNING";
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
self.cstat &= ~CSTAT_SPRITE_BLOCK_ALL;
|
|
self.cstat |= CSTAT_SPRITE_INVISIBLE;
|
|
}
|
|
|
|
override bool Animate(tspritetype t)
|
|
{
|
|
t.shade = -127;
|
|
return true;
|
|
}
|
|
}
|