Praytic / youtd2

Classic community-driven session-based Tower Defense game with RPG elements.
https://youtd2.com/
MIT License
77 stars 15 forks source link

Council of Demons, "Impenetrable Darkness" ability causes damage overflow #377

Closed Kvel2D closed 4 months ago

Kvel2D commented 4 months ago

Reported by a player. Screenshot: image

The affected unit takes 1000 spell damage per second and additional spell damage equal to 75% of the damage it received during the effect when the buff expires.

Something must have dealt an incorrect amount of spell damage, which got stored by Impenetrable Darkness. Or maybe Impenetrable Darkness code has a bug inside it. Couldn't reproduce yet.

Note that this is unrelated to #376

Kvel2D commented 4 months ago

Reproduce steps:

  1. Change cd of Impenetrable Darkness to 4 and mana cost to 9.
  2. Set config/override_creep_health=10000
  3. Build the following towers: Impenetrable Darkness, Soul Vault, Monolith of Chaos

Let towers kill creeps, bug should appear within a minute.