Merge pull request #78 from FreezePhoenix/patch-9

Fix `woven` debuff
This commit is contained in:
Kaan Soral
2023-12-09 23:55:37 +03:00
committed by GitHub
+1 -1
View File
@@ -2712,7 +2712,7 @@ function add_condition(target, condition, args) {
} }
if (condition == "woven") { if (condition == "woven") {
C.s = min((target.is_monster && 20) || 5, (target.s.woven && target.s.woven.s + 1) || 1); C.s = min((target.is_monster && 20) || 5, (target.s.woven && target.s.woven.s + 1) || 1);
C.speed = -3 * condition.s; C.speed = -3 * C.s;
} }
duration = max((target.s[condition] && target.s[condition].ms) || 0, duration); duration = max((target.s[condition] && target.s[condition].ms) || 0, duration);
if (target.stresistance && def && def.debuff) { if (target.stresistance && def && def.debuff) {