Jump to content

Occasionally, rockets and other explosives cannot cause damage to NPCs!

Pending 1.2.2

laodu
laodu

Posted

Occasionally, rockets and other explosives cannot cause damage to NPCs!

However, regular attacks such as M249 can deal damage to NPCs.

laodu

Posted

This situation will also affect the NPCs of other plugins. If I reopen the DungeonBases event, the NPC damage of other plugins will return to normal.

Fruster

Posted

Hey! which explosives specifically don't deal damage? Which PVE plugin are you using? Please attach the DungeonBases and PVE .json config

Fruster

Posted

Even with your configuration, I couldn't find the problem. Something else must be causing it. We'll probably have to test it on your server together

laodu

Posted

This situation happens occasionally, and I don't know under what circumstances such a problem can be reproduced.

laodu

Posted

private void OnEntityTakeDamage(NPCPlayer npc, HitInfo nhitinfo)

if (brain.contact) return;

I suspect it was caused by this judgment.

Fruster

Posted

3 hours ago, laodu said:

private void OnEntityTakeDamage(NPCPlayer npc, HitInfo nhitinfo)

if (brain.contact) return;

I suspect it was caused by this judgment.

What's in this hook doesn't affect damage in any way, only the behavior of NPCs in dungeons

laodu

Posted

Currently encountering incompatible plugins include: https://codefling.com/plugins/dungeon-events
When the NPC of the dungeonBases.com plugin cannot be damaged by rockets or other explosives, if the event is manually enabled by the DungeonBases.com plugin at this time, the NPC of the dungeoevents.com plugin will resume normal damage.

 

2.2m

Downloads

Total number of downloads.

10.2k

Customers

Total customers served.

147.6k

Files Sold

Total number of files sold.

3.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.