Page 1 of 1

DoT + Stoneskin Fix

Posted: Sun Aug 19, 2012 11:52 pm
by PrBlahBlahtson
Stroke of inspiration, since I'd seen code that I could neatly repurpose in magic.lua. Knocked the fix out and tested with Venom Potions in all of 10 minutes.

The attached patch will make Bio, Dia, Poison, and the six elemental debuffs eat into Stoneskin if it's present. You're able to rest in this condition, but will be forced to stand on the first tick that deals damage.

Possible issues:
If the DoT tick = remaining potency on Stoneskin (i.e 5 = 5), then Stoneskin is lost, but no HP is consumed and the player will not stand. Logically, this seems correct, but I'm not 100% certain it's retail. Easily fixed, if it's incorrect.

Edit:
v1 has a teensy problem that occurred to me (returns value instead of dealing damage). Correcting and re-uploading.

Re: DoT + Stoneskin Fix

Posted: Wed Aug 22, 2012 3:29 pm
by xworndownx