From 612f983bf0f488e2cb07864559722605224390cb Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 1 Feb 2014 12:18:09 -0700 Subject: [PATCH 1/3] Adjusted Searing Brightness, Brutal Smash, and Pickpocket to use a hyperbolic scale. --- script/content.coffee | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/content.coffee b/script/content.coffee index bb3cb02661..f157f90ee8 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -325,7 +325,7 @@ api.spells = target: 'task' notes: "You savagely hit a single task with all of your might, beating it into submission. The task's redness decreases." cast: (user, target) -> - target.value += user._statsComputed.str * .01 * user.fns.crit('per') + target.value += 2.5 * (user._statsComputed.str / (user._statsComputed.str + 50)) user.party.quest.progress.up += Math.ceil(user._statsComputed.str * .2) if user.party.quest.key defensiveStance: text: 'Defensive Stance' @@ -365,7 +365,8 @@ api.spells = target: 'task' notes: "Your nimble fingers run through the task's pockets and find some treasures for yourself. You gain an increased gold bonus on the task, higher yet the 'fatter' (bluer) your task." cast: (user, target) -> - user.stats.gp += (if target.value < 0 then 1 else target.value+1) + user._statsComputed.per * .075 + bonus = (if target.value < 0 then 1 else target.value+2) * user._statsComputed.per + user.stats.gp += 75 * (bonus / (bonus + 800)) backStab: text: 'Backstab' mana: 15 @@ -419,7 +420,7 @@ api.spells = cast: (user, target) -> _.each user.tasks, (target) -> return if target.type is 'reward' - target.value += user._statsComputed.int * .006 + target.value += 1.5 * (user._statsComputed.int / (user._statsComputed.int + 40)) protectAura: text: 'Protective Aura' mana: 30 From 0458606eebbb0bf89193698e6a9b4aab7b4a20a2 Mon Sep 17 00:00:00 2001 From: Brandon Date: Sat, 1 Feb 2014 12:37:58 -0700 Subject: [PATCH 2/3] Left out the critical chance on Brutal Smash changes --- script/content.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/content.coffee b/script/content.coffee index f157f90ee8..6e3fa4b69e 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -325,7 +325,7 @@ api.spells = target: 'task' notes: "You savagely hit a single task with all of your might, beating it into submission. The task's redness decreases." cast: (user, target) -> - target.value += 2.5 * (user._statsComputed.str / (user._statsComputed.str + 50)) + target.value += 2.5 * (user._statsComputed.str / (user._statsComputed.str + 50)) * user.fns.crit('per') user.party.quest.progress.up += Math.ceil(user._statsComputed.str * .2) if user.party.quest.key defensiveStance: text: 'Defensive Stance' From 5dcc732e24f2c2b868fb2d7c403fe93e389972f0 Mon Sep 17 00:00:00 2001 From: brandonjreid Date: Sun, 2 Feb 2014 01:24:28 -0700 Subject: [PATCH 3/3] Lowered the effectiveness of Pickpocket. --- script/content.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/content.coffee b/script/content.coffee index 6e3fa4b69e..84c4ef1a9a 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -365,8 +365,8 @@ api.spells = target: 'task' notes: "Your nimble fingers run through the task's pockets and find some treasures for yourself. You gain an increased gold bonus on the task, higher yet the 'fatter' (bluer) your task." cast: (user, target) -> - bonus = (if target.value < 0 then 1 else target.value+2) * user._statsComputed.per - user.stats.gp += 75 * (bonus / (bonus + 800)) + bonus = (if target.value < 0 then 1 else target.value+2) + (user._statsComputed.per * 0.5) + user.stats.gp += 25 * (bonus / (bonus + 75)) backStab: text: 'Backstab' mana: 15