mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Correct module exports
This commit is contained in:
@@ -300,7 +300,7 @@ GroupSchema.statics.tavernBoss = function(user,progress) {
|
|||||||
tavern.sendChat(quest.completionChat('en'));
|
tavern.sendChat(quest.completionChat('en'));
|
||||||
tavern.finishQuest(quest, function(){});
|
tavern.finishQuest(quest, function(){});
|
||||||
tavern.save(cb);
|
tavern.save(cb);
|
||||||
module.exports.tavern = undefined;
|
_.assign(module.exports.tavernQuest, {extra: null});
|
||||||
} else {
|
} else {
|
||||||
// Deal damage. Note a couple things here, str & def are calculated. If str/def are defined in the database,
|
// Deal damage. Note a couple things here, str & def are calculated. If str/def are defined in the database,
|
||||||
// use those first - which allows us to update the boss on the go if things are too easy/hard.
|
// use those first - which allows us to update the boss on the go if things are too easy/hard.
|
||||||
|
|||||||
Reference in New Issue
Block a user