mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-02 09:02:35 +00:00
20 lines
280 B
Text
20 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;
|
||
|
}
|
||
|
}
|