(Near)-infinite loop when reflecting damage

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
thexor
Posts: 4
Joined: Sat May 23, 2015 9:29 pm

(Near)-infinite loop when reflecting damage

#1 Post by thexor »

Ran into a fun issue with mutual reflection, between an archmage with the Mirror Shards shield active (50% reflect), and an Elven Cultist with a reflect effect. The loop eventually stopped after reflecting/absorbing 0 damage a few hundred times. The log file is attached, with the appropriate text roughly ~15 lines from the bottom.

I'm actually impressed the game handled it as well as it did (no crash, character seems to still be playable), but I'm guessing this isn't the intended behaviour.
Attachments
te4_log.txt
(233.67 KiB) Downloaded 124 times

Radon26
Sher'Tul
Posts: 1439
Joined: Mon Jun 23, 2014 11:50 am

Re: (Near)-infinite loop when reflecting damage

#2 Post by Radon26 »

someone probably forgot to make sure, that damage can only be reflected only once.
if the reflected damage had some sort of flag like "true damage" it could prevent all possible issue coming from there.

at least it was partial reflection and not some flat damage riposte.

Post Reply