Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004158Zandronum[All Projects] Bugpublic2023-08-28 05:122024-01-30 04:48
ReporterMr. Satan 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS Version8.1
Product Version3.1 
Target VersionFixed in Version 
Summary0004158: Event 12 (GAMEEVENT_ACTOR_ARMORDAMAGED) is executed after PowerProtection items
DescriptionEvent 12 (GAMEEVENT_ACTOR_ARMORDAMAGED) is executed after PowerProtection items are applied.
Also happen in Zandronum 3.2-alpha-230709-1914.
Steps To ReproduceLoad attached file. Summon Cyberdemon and let him attack you. The script should output 100+ damage every hit you take. Give yourself TestProtectionGiver and the damage amount outputted by the script is reduced to ~10.
Additional InformationZScript's ModifyDamage event is executed before everything and outputs the raw damage.
Attached Files? file icon DamageEventTest.pk3 [^] (998 bytes) 2023-08-28 05:12

- Relationships

-  Notes
User avatar (0022911)
Penguin (reporter)
2023-08-28 10:47

GAMEEVENT_ACTOR_ARMORDAMAGED is called after damage is calculated by PowerProtection and before Armor.SavePercent.
GAMEEVENT_ACTOR_DAMAGED is also called after damage is calculated by PowerProtection etc.
I don't think it's a bug with the current behavior.
User avatar (0022912)
Mr. Satan (reporter)
2023-09-01 03:20
edited on: 2023-09-02 08:18

This limits the capability of this event. If someone was to try to make a custom Reflect mechanic using it, the damage dealt back would be reduced if they had a PowerProtection Item. Drain would also be affected if the monster shields using a PowerProtection item.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2023-08-28 05:12 Mr. Satan New Issue
2023-08-28 05:12 Mr. Satan File Added: DamageEventTest.pk3
2023-08-28 10:47 Penguin Note Added: 0022911
2023-09-01 03:20 Mr. Satan Note Added: 0022912
2023-09-02 08:18 Mr. Satan Note Edited: 0022912 View Revisions
2024-01-30 04:48 StrikerMan780 Note Added: 0023044
2024-02-11 00:40 StrikerMan780 Note Deleted: 0023044






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker