Never Split the Party is an ultra social rogue-like! You're one of four adventurers joining together to explore a procedurally generated dungeon, amass powerful upgrades, and cooperate with your fellow adventures to conquer and crush the evil dungeon champions!
1
stars
0
forks
source link
With two fear sentinels on top of each other you can perma fear everything in the room. #9
The suggested fix would be to add a boolean.
Bugfinders explanation:
-every 5 seconds, the sentinels applies Fear to all enemies in it's AOE for a duration of 5 seconds
-applying fear means they get a fear state timer and change their direction
-To keep record of the state of fear you set a timer of 5 seconds
-To change the direction you multiply the direction vector by -1
-So when 2 Sentinels apply fear at the same time, the timer for state of fear is set to 5 seconds twice but the direction is multiplied by -1 twice so it doesn't change at all.
-5 seconds later the fear state timer ends and the direction is multiplied by -1.
-However this effect is applied only once so the final result is direction still multiplied by -1
-By managing to lure the enemies in and out the fear AOE you can get them to stay in this state forever.
The suggested fix would be to add a boolean. Bugfinders explanation: -every 5 seconds, the sentinels applies Fear to all enemies in it's AOE for a duration of 5 seconds -applying fear means they get a fear state timer and change their direction -To keep record of the state of fear you set a timer of 5 seconds -To change the direction you multiply the direction vector by -1 -So when 2 Sentinels apply fear at the same time, the timer for state of fear is set to 5 seconds twice but the direction is multiplied by -1 twice so it doesn't change at all. -5 seconds later the fear state timer ends and the direction is multiplied by -1. -However this effect is applied only once so the final result is direction still multiplied by -1 -By managing to lure the enemies in and out the fear AOE you can get them to stay in this state forever.