Browse Source

redesigned crab ruins area

tags/v0.6^2
Shaun 4 years ago
parent
commit
8f9dfa77f9
6 changed files with 446 additions and 289 deletions
  1. BIN
     
  2. BIN
     
  3. +336
    -288
      src/server/config/maps/fjolarok/map.json
  4. +108
    -0
      src/server/config/maps/fjolarok/zone.js
  5. +1
    -0
      src/server/config/spells/spellProjectile.js
  6. +1
    -1
      src/server/world/map.js

BIN
View File


BIN
View File


+ 336
- 288
src/server/config/maps/fjolarok/map.json
File diff suppressed because it is too large
View File


+ 108
- 0
src/server/config/maps/fjolarok/zone.js View File

@@ -639,6 +639,8 @@ module.exports = {
},
thumper: {
level: 5,
cron: '0 * * * *',

regular: {
hpMult: 3,
dmgMult: 3,
@@ -1004,6 +1006,112 @@ module.exports = {
}
}
}
},

sundfehr: {
level: 9,
walkDistance: 0,

cron: '0 */2 * * *',

regular: {
hpMult: 10,
dmgMult: 1,

drops: {
chance: 100,
rolls: 3,
magicFind: [2000]
}
},

spells: [{
type: 'warnBlast',
range: 8,
delay: 9,
damage: 0.8,
statMult: 1,
cdMax: 7,
targetRandom: true,
particles: {
color: {
start: ['c0c3cf', '929398'],
end: ['929398', 'c0c3cf']
},
spawnType: 'circle',
spawnCircle: {
x: 0,
y: 0,
r: 12
},
randomColor: true,
chance: 0.03
}
}, {
type: 'projectile',
damage: 0.4,
statMult: 1,
cdMax: 5,
targetRandom: true,
row: 2,
col: 4
}],

components: {
cpnParticles: {
simplify: function () {
return {
type: 'particles',
blueprint: {
color: {
start: ['fc66f7', '802343'],
end: ['393268', 'de43ae']
},
scale: {
start: {
min: 10,
max: 18
},
end: {
min: 4,
max: 8
}
},
speed: {
start: {
min: 6,
max: 12
},
end: {
min: 2,
max: 4
}
},
lifetime: {
min: 5,
max: 12
},
alpha: {
start: 0.25,
end: 0
},
randomScale: true,
randomSpeed: true,
chance: 0.06,
randomColor: true,
spawnType: 'rect',
blendMode: 'add',
spawnRect: {
x: -24,
y: -24,
w: 48,
h: 48
}
}
};
}
}
}
}
}
};

+ 1
- 0
src/server/config/spells/spellProjectile.js View File

@@ -9,6 +9,7 @@ module.exports = {
range: 9,

speed: 150,
statMult: 1,
damage: 1,

row: 3,


+ 1
- 1
src/server/world/map.js View File

@@ -353,7 +353,7 @@ module.exports = {

if (layerName.indexOf('walls') > -1)
this.collisionMap[x][y] = 1;
else if (sheetName.toLowerCase().indexOf('tiles') > -1) {
else if (layerName === 'tiles' && sheetName === 'tiles') {
//Check for water and water-like tiles
if ([6, 7, 54, 55, 62, 63, 154, 189, 190, 192, 193, 194, 195, 196, 197].indexOf(cell) > -1)
this.collisionMap[x][y] = 1;


Loading…
Cancel
Save