diff --git a/common/script/index.coffee b/common/script/index.coffee index b8597d93c9..026a38be6e 100644 --- a/common/script/index.coffee +++ b/common/script/index.coffee @@ -126,7 +126,7 @@ api.capByLevel = (lvl) -> ------------------------------------------------------ ### -api.maxHealth = 50 +api.maxHealth = 50 ### ------------------------------------------------------ @@ -1645,7 +1645,14 @@ api.wrap = (user, main=true) -> else dailyDueUnchecked += 1 delta = user.ops.score({params:{id:task.id, direction:'down'}, query:{times:(scheduleMisses-EvadeTask), cron:true}}); # this line occurs for todos or dailys - user.party.quest.progress.down += delta if type is 'daily' + if type is 'daily' + # Apply damage from a boss, less damage for Trivial priority (difficulty) + user.party.quest.progress.down += delta * (if task.priority < 1 then task.priority else 1) + # NB: Medium and Hard priorities do not increase damage from boss. This was by accident + # initially, and when we realised, we could not fix it because users are used to + # their Medium and Hard Dailies doing an Easy amount of damage from boss. + # Easy is task.priority = 1. Anything < 1 will be Trivial (0.1) or any future + # setting between Trivial and Easy. switch type when 'daily'