mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-11 13:21:49 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
23 lines
No EOL
337 B
Text
23 lines
No EOL
337 B
Text
|
|
class DukeShark : DukeActor
|
|
{
|
|
const SHARKSTRENGTH = 35;
|
|
const SHARKBITESTRENGTH = -9;
|
|
|
|
default
|
|
{
|
|
pic "SHARK";
|
|
+INTERNAL_BADGUY;
|
|
+DONTDIVEALIVE;
|
|
+FLOATING;
|
|
Strength SHARKSTRENGTH;
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
// override some defaults.
|
|
self.scale = (0.9375, 0.9375);
|
|
self.clipdist = 10;
|
|
}
|
|
|
|
} |