fix https://github.com/HabitRPG/habitrpg/issues/2156 stack stealth
This commit is contained in:
Vendored
+1
-1
@@ -10177,7 +10177,7 @@ var global=self;/**
|
||||
if ((_base = user.stats.buffs).stealth == null) {
|
||||
_base.stealth = 0;
|
||||
}
|
||||
return user.stats.buffs.stealth = Math.ceil(user._statsComputed.per * .03);
|
||||
return user.stats.buffs.stealth += Math.ceil(user._statsComputed.per * .03);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -337,7 +337,7 @@ 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)
|
||||
user.stats.buffs.stealth += Math.ceil(user._statsComputed.per * .03)
|
||||
|
||||
healer:
|
||||
heal:
|
||||
|
||||
Reference in New Issue
Block a user