From ef4303c1f8780d5e12f4809b0867bbe37ce760c1 Mon Sep 17 00:00:00 2001 From: Lorian Date: Wed, 5 Feb 2014 16:28:30 -0800 Subject: [PATCH] Stealth scales with # of dailies as well as per; currently avoids 100% of dailies at 100 total per. --- script/content.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/content.coffee b/script/content.coffee index 84c4ef1a9a..a8181aea6e 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -399,7 +399,8 @@ api.spells = notes: "You duck into the shadows, pulling up your hood. Many dailies won't find you this night; fewer yet the higher your Perception." cast: (user, target) -> user.stats.buffs.stealth ?= 0 - user.stats.buffs.stealth += Math.ceil(user._statsComputed.per * .03) + ## scales to user's # of dailies; maxes out at 100% at 100 per ## + user.stats.buffs.stealth += Math.ceil(user.dailys.length * user._statsComputed.per / 100) healer: heal: