Fix Poison Coat duration

Poison coat should have the duration that the condition specifies, rather than the cooldown.
This commit is contained in:
FreezePhoenix
2024-03-15 20:12:26 -04:00
committed by GitHub
parent 2f6b148440
commit ec48eb4103
+1 -1
View File
@@ -8524,7 +8524,7 @@ function init_io() {
player.s.phasedout = { ms: G.conditions.phasedout.duration };
} else if (data.name == "pcoat") {
consume_mp(player, gSkill.mp);
player.s.poisonous = { ms: G.skills.pcoat.cooldown };
player.s.poisonous = { ms: G.conditions.poisonous.duration };
} else if (data.name == "curse") {
//#TODO: last_curse variable + check for multiple curses
var attack = commence_attack(player, target, "curse");