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.
DoT + Stoneskin Fix
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
DoT + Stoneskin Fix
- Attachments
-
- DoTs.patch
- v2
- (9.2 KiB) Downloaded 265 times
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
-
- Posts: 12
- Joined: Fri Jul 27, 2012 1:25 pm