Procházet zdrojové kódy

Removed testing code that was left in

tags/v0.1.2^2
Big Bad Waffle před 7 roky
rodič
revize
63b2f23ec1
3 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. +1
    -1
      src/server/config/spells/spellFireblast.js
  2. +1
    -1
      src/server/config/spellsConfig.js
  3. +0
    -1
      src/server/world/physics.js

+ 1
- 1
src/server/config/spells/spellFireblast.js Zobrazit soubor

@@ -83,7 +83,7 @@ define([
dx = ~~(dx / Math.abs(dx));
dy = ~~(dy / Math.abs(dy));
for (var l = 0; l < this.pushback; l++) {
if (physics.isTileBlocking(targetPos.x + dx, targetPos.y + dy, true)) {
if (physics.isTileBlocking(targetPos.x + dx, targetPos.y + dy)) {
if (physics.isTileBlocking(targetPos.x + dx, targetPos.y)) {
if (physics.isTileBlocking(targetPos.x, targetPos.y + dy)) {
break;


+ 1
- 1
src/server/config/spellsConfig.js Zobrazit soubor

@@ -39,7 +39,7 @@ define([
random: {
damage: [6.7, 13.3],
i_radius: [1, 2.2],
i_pushback: [5, 10]
i_pushback: [1, 4]
}
},
'smite': {


+ 0
- 1
src/server/world/physics.js Zobrazit soubor

@@ -266,7 +266,6 @@ define([
x = ~~x;
y = ~~y;

//Colliders d
var node = this.graph.grid[x][y];
if (node)
return node.isWall();


Načítá se…
Zrušit
Uložit