Page 1 of 1

HARM_TYPE_PROJECTILE_USED

Posted: Tue Feb 09, 2021 5:11 am
by DrMekar
My next NPC is going to fly constandly, though the only Harmtype I want is Projectile Used. Unfortunatly throwing Blocks aren't doing it any harm. This is the Code:
https://pastebin.com/rGKSPSD5

Re: HARM_TYPE_PROJECTILE_USED

Posted: Tue Feb 09, 2021 5:33 am
by Emral
PROJECTILE_USED refers to the NPC being the projectile, not getting hit by it. NPC is the harm type for getting hit by a projectile (among like 200 other things).

Re: HARM_TYPE_PROJECTILE_USED

Posted: Tue Feb 09, 2021 5:49 am
by DrMekar
Enjl wrote:
Tue Feb 09, 2021 5:33 am
PROJECTILE_USED refers to the NPC being the projectile, not getting hit by it. NPC is the harm type for getting hit by a projectile (among like 200 other things).
Okay. I changed it to NPC, though the result remains the same. (I changed it in all Places of course.)