Mega Man 8-Bit Deathmatch Forum
【Bug】core_preciseDamage ignores event result
Stardust Motion • October. 24, 2026, 2:17 AM
October. 24, 2026, 2:39 AM (Edited by Stardust Motion)
Copy Link
The "core_preciseDamage" script ignores previous changes made to the hook context's result value, if the inflictor uses preciseDamage system.
Here is a reproduction example :
Download
This mod adds a DTADD_HF_ACTOR_DAMAGED hook doubling all damage,
and replaces the mega buster's megaShot damage (10) by :
- Every vanilla attack properly deal 2x damage (because they don't use precise system)
- The mega shot however, still does 10 damage
Current workaround is to either 1) not use precise system or 2) move damage alteration scripts to a priority under -15000.0
Here is a reproduction example :
Download
This mod adds a DTADD_HF_ACTOR_DAMAGED hook doubling all damage,
and replaces the mega buster's megaShot damage (10) by :
damage (10.0 * FIXED)
var int user_preciseDamage; var int user_preciseDamage_trackRemainder;
- Every vanilla attack properly deal 2x damage (because they don't use precise system)
- The mega shot however, still does 10 damage
Current workaround is to either 1) not use precise system or 2) move damage alteration scripts to a priority under -15000.0