Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
gitlord
/
isleward
réplica de
https://gitlab.com/Isleward/isleward.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
203
Wiki
Actividad
Explorar el Código
modding
#1983
: New object event: afterFollowerDeath
tags/v0.12.0
Shaun
hace 1 año
padre
57e2f3aa76
commit
8b8d804b9b
Se han
modificado 1 ficheros
con
9 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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
});
}
}
};
Escribir
Vista previa
Cargando…
Cancelar
Guardar