Browse Source

fixed a flashing hider sprite issue and worked on sewer

tags/v0.4^2
Shaun Kichenbrand 4 years ago
parent
commit
810ad7cd0d
5 changed files with 171 additions and 42 deletions
  1. +2
    -0
      src/client/js/rendering/renderer.js
  2. +154
    -34
      src/server/config/maps/sewer/map.json
  3. +13
    -6
      src/server/config/maps/sewer/zone.js
  4. +1
    -1
      src/server/mods/class-necromancer/spells/spellSummonSkeleton.js
  5. +1
    -1
      src/server/world/mobBuilder.js

+ 2
- 0
src/client/js/rendering/renderer.js View File

@@ -573,6 +573,8 @@ define([
const isFake = +c < 0;
if (isFake && !isHidden)
continue;
else if (!isFake && isHidden)
continue;

if (isFake)
c = -c;


+ 154
- 34
src/server/config/maps/sewer/map.json View File

@@ -1753,10 +1753,70 @@
"x":280,
"y":272
},
{
"gid":335,
"height":8,
"id":1102,
"name":"Bera the Blade",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":920,
"y":760
},
{
"gid":307,
"height":8,
"id":1103,
"name":"Bandit",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":896,
"y":616
},
{
"gid":281,
"height":8,
"id":1075,
"id":1104,
"name":"Whiskers",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":896,
"y":760
},
{
"gid":307,
"height":8,
"id":1105,
"name":"Bandit",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":784,
"y":616
},
{
"gid":307,
"height":8,
"id":1106,
"name":"Bandit",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":784,
"y":656
},
{
"gid":273,
"height":8,
"id":1108,
"name":"Rat",
"rotation":0,
"type":"",
@@ -1766,88 +1826,148 @@
"y":600
},
{
"gid":281,
"gid":273,
"height":8,
"id":1076,
"id":1109,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":696,
"x":680,
"y":640
},
{
"gid":273,
"height":8,
"id":1110,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":688,
"y":608
},
{
"gid":281,
"gid":273,
"height":8,
"id":1077,
"id":1112,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":672,
"y":632
"x":576,
"y":736
},
{
"gid":335,
"gid":273,
"height":8,
"id":1102,
"name":"Bera the Blade",
"id":1115,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":920,
"y":760
"x":392,
"y":728
},
{
"gid":307,
"gid":273,
"height":8,
"id":1103,
"name":"Bandit",
"id":1116,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":896,
"y":616
"x":496,
"y":624
},
{
"gid":281,
"gid":273,
"height":8,
"id":1104,
"name":"Whiskers",
"id":1117,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":896,
"y":760
"x":480,
"y":640
},
{
"gid":307,
"gid":273,
"height":8,
"id":1105,
"name":"Bandit",
"id":1118,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":784,
"y":616
"x":528,
"y":568
},
{
"gid":307,
"gid":273,
"height":8,
"id":1106,
"name":"Bandit",
"id":1119,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":784,
"y":656
"x":280,
"y":632
},
{
"gid":273,
"height":8,
"id":1120,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":48,
"y":592
},
{
"gid":273,
"height":8,
"id":1121,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":96,
"y":592
},
{
"gid":273,
"height":8,
"id":1122,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":80,
"y":544
},
{
"gid":273,
"height":8,
"id":1123,
"name":"Rat",
"rotation":0,
"type":"",
"visible":true,
"width":8,
"x":88,
"y":632
}],
"opacity":1,
"type":"objectgroup",
@@ -1856,7 +1976,7 @@
"y":0
}],
"nextlayerid":43,
"nextobjectid":1108,
"nextobjectid":1124,
"orientation":"orthogonal",
"properties":[
{


+ 13
- 6
src/server/config/maps/sewer/zone.js View File

@@ -74,30 +74,37 @@ module.exports = {
},

spells: [{
type: 'melee'
type: 'melee',
statMult: 1,
damage: 0.08
}, {
type: 'whirlwind',
range: 2
range: 2,
damage: 0.2,
cdMax: 50
}, {
type: 'summonSkeleton',
killMinionsOnDeath: false,
killMinionsBeforeSummon: false,
needLos: false,
count: 4,
name: 'Rat Guard',
sheetName: 'mobs',
cdMax: 30,
cdMax: 50,
cell: 16,
hpPercent: 10,
dmgPercent: 0.1,
positions: [[30, 30], [40, 30], [30, 40], [40, 40]]
}, {
type: 'charge',
castOnEnd: 1,
cdMax: 30,
targetRandom: true
cdMax: 50,
targetRandom: true,
damage: 0.3
}, {
type: 'fireblast',
range: 2,
damage: 0.01,
damage: 0.001,
pushback: 2,
procCast: true
}]


+ 1
- 1
src/server/mods/class-necromancer/spells/spellSummonSkeleton.js View File

@@ -44,7 +44,7 @@ module.exports = {
y,
cell: this.cell,
sheetName,
name: 'Skeletal Minion',
name: this.name || 'Skeletal Minion',
properties: {
cpnFollower: {
maxDistance: 3


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

@@ -175,7 +175,7 @@ module.exports = {
s.statType = preferStat;
s.manaCost = 0;

/*if (mob.name.toLowerCase().includes('serpent')) {
/*if (mob.name.toLowerCase().includes('stinktooth')) {
mob.stats.values.critChance = 0;
mob.stats.values.attackCritChance = 0;
mob.stats.values.spellCritChance = 0;


Loading…
Cancel
Save