Page 1 of 1

Add a short-duration debuff for refunding Vim cost

Posted: Tue Sep 01, 2015 10:14 pm
by Effigy
Vim-based attacks are supposed to refund their cost if the attack kills the target, but anyone who's played Defilers knows this often isn't the case. Secondary damage or damage over time can prevent the refund from happening. I think the simplest way to avoid these issues would be to make Vim attacks add a short debuff (probably less than 1 turn) that stores the Vim cost of the skill and refunds that cost to the attacker if the vicitm dies before the debuffs expires. The debuff could be "other" type and not check saves/immunities. If another attack is used while the target already has the debuff, only the debuff with the highest Vim value would stick.

To handle DoTs, the debuff could be reapplied for each tick of damage. I'm not sure how complicated that is to code in the existing ToME architecture. If it's too hard to make it reapplied each time, perhaps the debuff could be initially set to the DoT duration.

Re: Add a short-duration debuff for refunding Vim cost

Posted: Tue Sep 01, 2015 10:41 pm
by Radon26
if it was "reapplied" every tick, wouldn't the value stack a bit?
what about just make it not tick down at all, while there is any vim based debuff?

Re: Add a short-duration debuff for refunding Vim cost

Posted: Wed Sep 02, 2015 12:22 am
by Effigy
Radon26 wrote:if it was "reapplied" every tick, wouldn't the value stack a bit?
what about just make it not tick down at all, while there is any vim based debuff?
By reapply, I mean just refresh the debuff duration. The value wouldn't stack.