I have a puff fired from a bullet attack like so:
Code: Select all
A_FireBullets(0, 0, -1, 0, "SomePuff", FBF_NORANDOMPUFFZ, 768)
Now, this puff shoots some rail attacks around. Like so:
Code: Select all
A_CustomRailgun(10,0,None,None,RGF_SILENT|RGF_NOPIERCING|RGF_EXPLICITANGLE,0,10,"SomeOtherPuff",frandom(-180.0, 180.0),frandom(-45.0, 45.0),192,0,0,0,"Trails")
So, these rail attacks hurt me and I'm not the owner of them. What can I do about this? Damagefactors won't help because I need the ownership on my side for other effects to work. (Like monsters giving items on death)