mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-24 05:31:26 -05:00
Fix Poison Coat duration
Poison coat should have the duration that the condition specifies, rather than the cooldown.
This commit is contained in:
+1
-1
@@ -8524,7 +8524,7 @@ function init_io() {
|
|||||||
player.s.phasedout = { ms: G.conditions.phasedout.duration };
|
player.s.phasedout = { ms: G.conditions.phasedout.duration };
|
||||||
} else if (data.name == "pcoat") {
|
} else if (data.name == "pcoat") {
|
||||||
consume_mp(player, gSkill.mp);
|
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") {
|
} else if (data.name == "curse") {
|
||||||
//#TODO: last_curse variable + check for multiple curses
|
//#TODO: last_curse variable + check for multiple curses
|
||||||
var attack = commence_attack(player, target, "curse");
|
var attack = commence_attack(player, target, "curse");
|
||||||
|
|||||||
Reference in New Issue
Block a user