EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bug Reports (https://www.eqemulator.org/forums/forumdisplay.php?f=591)
-   -   NPCs Occasionally Hitting EXTREMELY Hard (https://www.eqemulator.org/forums/showthread.php?t=39205)

Hateborne 01-09-2015 02:16 PM

NPCs Occasionally Hitting EXTREMELY Hard
 
Afternoon ladies/gents/trolls,

I'm noticing in a fairly recent version of the source, we have several NPCs hitting STUPIDLY hard. It seems to be exclusively magician NPCs, but I do not have enough data to definitely say though. Obviously EZ Server runs on much larger and more inflated numbers, but NPCs averaging 100-200k per hit drop a 3-4mil damage hit every few minutes. I'm not sure what changed or what is causing this, but it is new with our recent source update.

Were there any significant combat adjustments? Has anyone else been seeing this? :-?


-Hate

Kingly_Krab 01-09-2015 02:41 PM

There are new rules that may be in effect.
Code:

RULE_BOOL ( Spells, NPC_UseFocusFromSpells, true) // Allow npcs to use most spell derived focus effects.
RULE_BOOL ( Spells, NPC_UseFocusFromItems, false) // Allow npcs to use most item derived focus effects.

The NPC_UseFocusFromSpells is true by default, meaning it's on unless you or Akkadius disabled it on EZ Server.

Hateborne 01-09-2015 02:43 PM

Natedog mentioned that one as well, we set them both to false.

It's literally a SINGLE attack over randomly occurring about every 3 minutes. The thing is though, it can be the first attack of the fight or half way through, but it nearly always ends with a one-round kill. :-\

Thanks for the suggestion, but that's not it as both are set to false.


-Hate

Hateborne 01-09-2015 05:18 PM

Scratch this, it seems to be related to a spell using targettype 1 with HUGELY erratic behavior (turning the 160k base damage to 150k - 5mil).

*shrug*

-Hate

Kayen 01-09-2015 09:47 PM

I recently update the how target type 1 (projectiles spells) work.

What spell are these npcs casting?

I suspect the following is occurring, since both archery and spell projectiles use the same code. That the spell projectile is getting processed as an archery shot and applying some random amount of insane damage due to whatever incorrect data is being passed.

demonstar55 01-09-2015 10:53 PM

I know PEQ is also experiencing this ...

Kayen 01-09-2015 11:33 PM

Resolved.

Fix comitted

Basically when i updated the projectile code, i forgot to add the spell projectile check to NPC's so they were processing spell projectiles as archery/ranged attacks.

Hateborne 01-10-2015 07:44 PM

Kayen,

This is great news. I'm glad you were able to make sense of my half-assed post and resolve it. We only had 3 custom spells geeking out, which I set to targettype 5 as a band-aid.


Thank you again!!
-Hate


All times are GMT -4. The time now is 11:22 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.