Explorar el Código

more work

tags/v0.11.0
Shaun hace 2 años
padre
commit
54443950a3
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      src/server/config/quests/questBuilder.js

+ 3
- 2
src/server/config/quests/questBuilder.js Ver fichero

@@ -10,7 +10,7 @@ module.exports = {
},

obtain: function (obj, template) {
let zoneName = template ? template.zoneName : obj.zoneName;
let zoneName = template?.zoneName ?? obj.zoneName;
let zone = mapList.mapList.find(m => m.name === zoneName);

//Zone doesn't exist any more. Probably been renamed
@@ -36,7 +36,8 @@ module.exports = {
this.instance.eventEmitter.emit('onBeforeGetQuests', {
obj,
config,
zoneName
zoneName,
template
});
if (config.infini.length === 0)
return;


Cargando…
Cancelar
Guardar