mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-19 10:14:11 +00:00
show tasks dodged # in math_samples, balance stealth
This commit is contained in:
parent
d8a39e1ffd
commit
ad325bce92
2 changed files with 3 additions and 3 deletions
|
|
@ -329,13 +329,13 @@ api.spells =
|
|||
member.stats.buffs.per += user._statsComputed.per * .2
|
||||
stealth:
|
||||
text: 'Stealth'
|
||||
mana: 30
|
||||
mana: 45
|
||||
lvl: 9
|
||||
target: 'self'
|
||||
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 * .075)
|
||||
user.stats.buffs.stealth = Math.ceil(user._statsComputed.per * .03)
|
||||
|
||||
healer:
|
||||
heal:
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ _.times 10, (n) ->
|
|||
|
||||
task.value = 0;clearUser(i)
|
||||
shared.content.spells.rogue.stealth.cast(user,{})
|
||||
console.log "stealth: -"
|
||||
console.log "stealth: avoiding #{user.stats.buffs.stealth} tasks"
|
||||
|
||||
console.log '[Healer]'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue