Revert "fix(quests): prevent very high damage for all quests" (@lemoness
@deilann - now it's just world boss, capped 900)
This reverts commit 89369e21a3.
This commit is contained in:
@@ -403,13 +403,6 @@ UserSchema.pre('save', function(next) {
|
||||
|
||||
this.achievements.beastMaster = petCount >= 90;
|
||||
|
||||
var progress = this.party && this.party.quest && this.party.quest.progress;
|
||||
if (progress) {
|
||||
// hack: prevent crazy damage to bosses (see https://github.com/HabitRPG/habitrpg/issues/3712)
|
||||
progress.up = Math.min(300, Math.abs(progress.up||0));
|
||||
progress.down = -Math.min(300, Math.abs(progress.down||0));
|
||||
}
|
||||
|
||||
//our own version incrementer
|
||||
this._v++;
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user