Преглед на файлове

radulos now has a respawn time of 10 minutes

tags/v0.1.10^2
big bad waffle преди 6 години
родител
ревизия
7f51b729de
променени са 2 файла, в които са добавени 8 реда и са изтрити 3 реда
  1. +1
    -0
      src/server/config/maps/cave/zone.js
  2. +7
    -3
      src/server/world/map.js

+ 1
- 0
src/server/config/maps/cave/zone.js Целия файл

@@ -172,6 +172,7 @@ module.exports = {

'radulos': {
level: 18,
spawnCd: 1714,

regular: {
hpMult: 75,


+ 7
- 3
src/server/world/map.js Целия файл

@@ -343,8 +343,12 @@ define([
if (objZoneName != name)
blueprint.objZoneName = objZoneName;

if ((this.zone) && (this.zone.objects) && (this.zone.objects[objZoneName.toLowerCase()]))
extend(true, blueprint, this.zone.objects[objZoneName.toLowerCase()]);
if (this.zone) {
if ((this.zone.objects) && (this.zone.objects[objZoneName.toLowerCase()]))
extend(true, blueprint, this.zone.objects[objZoneName.toLowerCase()]);
else if ((this.zone.objects) && (this.zone.mobs[objZoneName.toLowerCase()]))
extend(true, blueprint, this.zone.mobs[objZoneName.toLowerCase()]);
}

if (blueprint.blocking)
this.collisionMap[blueprint.x][blueprint.y] = 1;
@@ -379,7 +383,7 @@ define([
this.hiddenRooms.push(blueprint);
} else if (!clientObj) {
if (!mapFile.properties.isRandom)
spawners.register(blueprint, mapFile.properties.spawnCd);
spawners.register(blueprint, blueprint.spawnCd || mapFile.properties.spawnCd);
else {
var room = this.rooms.find(function (r) {
return (!(


Зареждане…
Отказ
Запис