Bryan-Legend / Never-Split-The-Party

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

Closed Brenin-Legend closed 2 years ago

Brenin-Legend commented 2 years ago

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.

Brenin-Legend commented 2 years ago

Fear is extremely useful against the countess

Bryan-Legend commented 2 years ago

https://user-images.githubusercontent.com/920120/170884096-01c88eeb-5685-4f90-887b-00d1cbbf4668.mp4

Bryan-Legend commented 2 years ago

Fixed