Explorar el Código

modding #1983: New object event: afterFollowerDeath

tags/v0.12.0
Shaun hace 1 año
padre
commit
8b8d804b9b
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. +9
    -0
      src/server/components/follower.js

+ 9
- 0
src/server/components/follower.js Ver fichero

@@ -169,5 +169,14 @@ module.exports = {
type: 'follower',
master: this.master.id
};
},

events: {
afterDeath: function (deathEvent) {
this.master.fireEvent('afterFollowerDeath', {
deathEvent,
master: this.master
});
}
}
};

Cargando…
Cancelar
Guardar