Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
gitlord
/
isleward
espelho de
https://gitlab.com/Isleward/isleward.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Lançamentos
203
Wiki
Trabalho
Ver a proveniência
started on generator
tags/v0.4^2
Shaun Kichenbrand
há 4 anos
ascendente
f106986479
cometimento
4afd90b591
5 ficheiros alterados
com
28 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
BIN
BIN
+15
-0
src/server/config/maps/sewer/zone.js
+2
-0
src/server/config/recipes/alchemy.js
+11
-0
src/server/items/generators/recipeBook.js
BIN
Ver ficheiro
BIN
Ver ficheiro
+ 15
- 0
src/server/config/maps/sewer/zone.js
Ver ficheiro
@@ -89,6 +89,21 @@ module.exports = {
fjolgard: 22
},
regular: {
drops: {
rolls: 1,
noRandom: true,
alsoRandom: true,
blueprints: [{
chance: 100,
type: 'recipe',
name: 'Recipe: Rune of Ambush',
profession: 'alchemy',
teaches: 'runeAmbush'
}]
}
},
rare: {
count: 0
}
+ 2
- 0
src/server/config/recipes/alchemy.js
Ver ficheiro
@@ -27,8 +27,10 @@ module.exports = [{
quantity: 1
}]
}, {
id: 'runeAmbush',
name: 'Stinky Oil',
description: 'Makes your weapon both stinkier, and hurtier.',
default: false,
item: {
name: 'Stinky Oil',
type: 'consumable',
+ 11
- 0
src/server/items/generators/recipeBook.js
Ver ficheiro
@@ -0,0 +1,11 @@
module.exports = {
generate: function (item, { profession, teaches, sprite = [0, 5] }) {
item.sprite = sprite;
item.spritesheet = '';
item.recipe = {
profession,
teaches
};
}
};
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar