mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-24 21:11:26 +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;
|
||
|
}
|
||
|
}
|