diff --git a/script/content.coffee b/script/content.coffee index 165ba88c37..175326e626 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -540,8 +540,9 @@ api.spells = target: 'self' notes: t('spellWarriorDefensiveStanceNotes') cast: (user, target) -> + bonus = user._statsComputed.con user.stats.buffs.con ?= 0 - user.stats.buffs.con += Math.ceil(user._statsComputed.con * .05) + user.stats.buffs.con += Math.ceil(diminishingReturns(bonus, 20, 200)) valorousPresence: text: t('spellWarriorValorousPresenceText') @@ -553,7 +554,7 @@ api.spells = _.each target, (member) -> bonus = user._statsComputed.str member.stats.buffs.str ?= 0 - member.stats.buffs.str += diminishingReturns(bonus, 20, 200) + member.stats.buffs.str += Math.ceil(diminishingReturns(bonus, 20, 200)) intimidate: text: t('spellWarriorIntimidateText') @@ -563,8 +564,9 @@ api.spells = notes: t('spellWarriorIntimidateNotes') cast: (user, target) -> _.each target, (member) -> + bonus = user._statsComputed.con member.stats.buffs.con ?= 0 - member.stats.buffs.con += Math.ceil(user._statsComputed.con * .03) + member.stats.buffs.con += Math.ceil(diminishingReturns(bonus,12,200)) rogue: pickPocket: @@ -641,8 +643,9 @@ api.spells = cast: (user, target) -> ## lasts 24 hours ## _.each target, (member) -> + bonus = user._statsComputed.con member.stats.buffs.con ?= 0 - member.stats.buffs.con += Math.ceil(user._statsComputed.con * .15) + member.stats.buffs.con += Math.ceil(diminishingReturns(bonus, 100, 200)) heallAll: text: t('spellHealerHealAllText') mana: 25