Commit 0f6d4804 authored by Big Bad Waffle's avatar Big Bad Waffle

fixes #1002

parent 1d7aa057
......@@ -5,10 +5,12 @@ module.exports = {
if (!this.build())
return false;
let level = this.obj.instance.spawners.zone.level;
level = level[0];
let xp = ~~(level * 22 * this.getXpMultiplier());
this.xp = xp;
if (!this.xp) {
let level = this.obj.instance.spawners.zone.level;
level = level[0];
let xp = ~~(level * 22 * this.getXpMultiplier());
this.xp = xp;
}
this.obj.syncer.setArray(true, 'quests', 'obtainQuests', this.simplify(true));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment