raze/wadsrc/static/zscript/games/duke/actors/redneckenemies/mosquito.zs
Christoph Oelckers 513de38723 - pass the spawner to Initialize as an explicit parameter.
Using ownerActor is not robust, for some actors this will have unwanted side effects.
2023-05-19 22:57:26 +02:00

27 lines
428 B
Text

class RedneckMosquito : DukeActor
{
const MOSQUITOSTRENGTH = 1;
const MOSQDAMAGE = -4;
default
{
pic "MOSQUITO";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOWATERDIP;
+FLOATING;
+QUICKALTERANG;
+NOJIBS;
+NOHITJIBS;
+NOSHOTGUNBLOOD;
falladjustz 0;
floating_floordist 30;
floating_ceilingdist 50;
}
override void Initialize(DukeActor spawner)
{
self.scale = (0.21875, 0.109375);
self.clipdist = 32;
}
}