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

more work on cave

tags/v0.1.4^2
Shaun преди 7 години
родител
ревизия
f75b9c2d2e
променени са 9 файла, в които са добавени 514 реда и са изтрити 8 реда
  1. Двоични данни
     
  2. Двоични данни
     
  3. Двоични данни
     
  4. +0
    -5
      src/server/components/social.js
  5. +394
    -2
      src/server/config/maps/cave/map.json
  6. +9
    -0
      src/server/config/maps/cave/quests.js
  7. +88
    -0
      src/server/config/maps/cave/zone.js
  8. +1
    -0
      src/server/config/maps/mapList.js
  9. +22
    -1
      src/server/config/maps/tutorial/map.json

Двоични данни
Целия файл


Двоични данни
Целия файл


Двоични данни
Целия файл


+ 0
- 5
src/server/components/social.js Целия файл

@@ -75,11 +75,6 @@ define([
},

chat: function(msg) {
if (this.onBeforeChat) {
this.onBeforeChat(msg.data);
if (msg.data.success)
}

var charname = this.obj.auth.charname;
var level = this.obj.stats.values.level;
if (level >= 10)


+ 394
- 2
src/server/config/maps/cave/map.json
Файловите разлики са ограничени, защото са твърде много
Целия файл


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

@@ -0,0 +1,9 @@
define([

], function(

) {
return {
infini: []
};
});

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

@@ -0,0 +1,88 @@
module.exports = {
name: 'estuary',
level: 20,
addLevel: 0,
resources: {},
mobs: {
default: {
faction: 2,
grantRep: {
gaekatla: 3
},

regular: {
dmgMult: 8,

drops: {
chance: 45,
rolls: 1,
magicFind: 70
}
}
},
'cultist': {
level: 7
},
'zealot': {
level: 10
},
'cult leader': {
level: 15,
walkDistance: 0
}
},
objects: {
pinktile: {
components: {
cpnParticles: {
simplify: function() {
return {
type: 'particles',
blueprint: {
color: {
start: ['fc66f7', 'a24eff'],
end: ['933159', '393268']
},
scale: {
start: {
min: 2,
max: 10
},
end: {
min: 0,
max: 2
}
},
speed: {
start: {
min: 4,
max: 16
},
end: {
min: 2,
max: 8
}
},
lifetime: {
min: 1,
max: 4
},
randomScale: true,
randomSpeed: true,
chance: 0.04,
randomColor: true,
spawnType: 'rect',
spawnRect: {
x: -20,
y: -20,
w: 60,
h: 60
}
}
}
}
}
}
}
}
};

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

@@ -4,6 +4,7 @@ define([

) {
return [
'cave',
'tutorial',
'estuary',
'city',


+ 22
- 1
src/server/config/maps/tutorial/map.json Целия файл

@@ -879,6 +879,22 @@
"width":8,
"x":592,
"y":456
},
{
"gid":628,
"height":24,
"id":636,
"name":"City Entrance",
"properties":
{
"cpnPortal":"{\"zone\":\"cave\",\"pos\":{\"x\":269,\"y\":27}}"
},
"rotation":0,
"type":"",
"visible":true,
"width":24,
"x":648,
"y":528
}],
"opacity":1,
"properties":
@@ -1413,7 +1429,7 @@
"x":0,
"y":0
}],
"nextobjectid":636,
"nextobjectid":637,
"orientation":"orthogonal",
"properties":
{
@@ -1425,6 +1441,7 @@
"tileheight":8,
"tilesets":[
{
"columns":8,
"firstgid":1,
"image":"..\/..\/..\/..\/client\/images\/walls.png",
"imageheight":192,
@@ -1480,6 +1497,7 @@
"tilewidth":8
},
{
"columns":8,
"firstgid":193,
"image":"..\/..\/..\/..\/client\/images\/mobs.png",
"imageheight":80,
@@ -1503,6 +1521,7 @@
"tilewidth":8
},
{
"columns":8,
"firstgid":273,
"image":"..\/..\/..\/..\/client\/images\/tiles.png",
"imageheight":192,
@@ -1610,6 +1629,7 @@
"tilewidth":8
},
{
"columns":8,
"firstgid":465,
"image":"..\/..\/..\/..\/client\/images\/objects.png",
"imageheight":160,
@@ -1633,6 +1653,7 @@
"tilewidth":8
},
{
"columns":8,
"firstgid":625,
"image":"..\/..\/..\/..\/client\/images\/bigObjects.png",
"imageheight":240,


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