Explorar el Código

Undid last commit which should have gone into staging

tags/v0.1.2
Big Bad Waffle hace 7 años
padre
commit
2d0760dbc6
Se han modificado 3 ficheros con 2 adiciones y 1598 borrados
  1. +0
    -17
      project.sublime-project
  2. +0
    -1567
      project.sublime-workspace
  3. +2
    -14
      src/server/config/quests/templates/questKillX.js

+ 0
- 17
project.sublime-project Ver fichero

@@ -1,17 +0,0 @@
{
"folders":
[
{
"path": "src/client",
"folder_exclude_patterns": [
"plugins"
]
},
{
"path": "src/server",
"folder_exclude_patterns": [
"node_modules"
]
}
]
}

+ 0
- 1567
project.sublime-workspace
La diferencia del archivo ha sido suprimido porque es demasiado grande
Ver fichero


+ 2
- 14
src/server/config/quests/templates/questKillX.js Ver fichero

@@ -12,23 +12,11 @@ define([
type: 'killX',

build: function() {
var mobTypes = this.obj.instance.spawners.zone.mobs;

if (this.mobName) {
if (mobTypes[this.mobName.toLowerCase()].attackable == false)
this.mobName = null;
}

if (!this.mobName) {
var mobTypes = this.obj.instance.spawners.zone.mobs;
var mobCounts = this.obj.instance.spawners.mobTypes;
var keys = Object.keys(mobTypes).filter(function(m) {
return (
(m != 'default') &&
(
(mobTypes[m].attackable) ||
(mobTypes[m].attackable == null)
)
);
return (m != 'default');
});
this.mobType = keys[~~(Math.random() * keys.length)];
var needMax = 8;


Cargando…
Cancelar
Guardar