From ba1628427ebd7f9f56bdd8bd239a51e01a3dc0f0 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Mon, 16 May 2016 11:38:22 +0200 Subject: [PATCH] v3: fix stealth casting --- common/script/content/spells.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script/content/spells.js b/common/script/content/spells.js index e7a198ec97..9381ba89d5 100644 --- a/common/script/content/spells.js +++ b/common/script/content/spells.js @@ -194,7 +194,7 @@ spells.rogue = { notes: t('spellRogueStealthNotes'), cast (user) { if (!user.stats.buffs.stealth) user.stats.buffs.stealth = 0; - user.stats.buffs.stealth += Math.ceil(diminishingReturns(user._statsComputed.per, user.dailys.length * 0.64, 55)); + user.stats.buffs.stealth += Math.ceil(diminishingReturns(user._statsComputed.per, user.tasksOrder.dailys.length * 0.64, 55)); }, }, };