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