From 0bc1d415c477e0f73f22de4245ac29b9fb5500ce Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 9 Aug 2021 15:10:35 +0200 Subject: feat: add spawn conditions to sprites --- src/anemos.bestiary.js | 3 +++ src/pagos.bestiary.js | 5 +++++ src/pyros.bestiary.js | 21 +++++++++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/src/anemos.bestiary.js b/src/anemos.bestiary.js index e062580..3890c30 100644 --- a/src/anemos.bestiary.js +++ b/src/anemos.bestiary.js @@ -636,6 +636,7 @@ export default [ type: 0, elem: "Any", conditions: { day: [], night: [] }, + spawnConditions: [2], }, { level: null, @@ -643,6 +644,7 @@ export default [ type: 0, elem: "Any", conditions: { day: [], night: [] }, + spawnConditions: [3], }, { level: null, @@ -650,5 +652,6 @@ export default [ type: 0, elem: "Any", conditions: { day: [], night: [] }, + spawnConditions: [1], }, ]; diff --git a/src/pagos.bestiary.js b/src/pagos.bestiary.js index 25582d9..72b0d1d 100644 --- a/src/pagos.bestiary.js +++ b/src/pagos.bestiary.js @@ -125,6 +125,7 @@ export default [ type: 1, elem: "Thunder", conditions: { day: [5], night: [5] }, + spawnCondition: [5], }, { level: null, @@ -154,6 +155,7 @@ export default [ type: 1, elem: "Water", conditions: { day: [8], night: [8] }, + spawnCondition: [8], }, { level: 26, @@ -182,6 +184,7 @@ export default [ type: 1, elem: "Fire", conditions: { day: [4], night: [4] }, + spawnCondition: [4], }, { level: 28, @@ -274,6 +277,7 @@ export default [ type: 1, elem: "Ice", conditions: { day: [7, 3], night: [7, 3] }, + spawnCondition: [7, 3], }, { level: 33, @@ -295,6 +299,7 @@ export default [ type: 1, elem: "Thunder", conditions: { day: [5], night: [5] }, + spawnCondition: [5], }, { level: null, diff --git a/src/pyros.bestiary.js b/src/pyros.bestiary.js index db35f84..2a4ec5e 100644 --- a/src/pyros.bestiary.js +++ b/src/pyros.bestiary.js @@ -418,6 +418,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 36, @@ -425,6 +426,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [5], }, { level: 37, @@ -432,6 +434,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [5], }, { level: 38, @@ -439,6 +442,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [4], }, { level: 39, @@ -446,6 +450,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [4], }, { level: 40, @@ -453,6 +458,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 41, @@ -460,6 +466,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [5], }, { level: 42, @@ -467,6 +474,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 43, @@ -474,6 +482,7 @@ export default [ type: 2, elem: null, conditions: { day: [4], night: [4] }, + spawnConditions: [4], }, { level: 44, @@ -481,6 +490,7 @@ export default [ type: 2, elem: null, conditions: { day: [4], night: [4] }, + spawnConditions: [4], }, { level: 45, @@ -488,6 +498,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 46, @@ -495,6 +506,7 @@ export default [ type: 2, elem: null, conditions: { day: [5], night: [5] }, + spawnConditions: [5], }, { level: 47, @@ -502,6 +514,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [3, 7], }, { level: 48, @@ -509,6 +522,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 49, @@ -516,6 +530,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [9], }, { level: 50, @@ -523,6 +538,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [3, 7], }, { level: 51, @@ -530,6 +546,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [3, 7], }, { level: 52, @@ -537,6 +554,7 @@ export default [ type: 2, elem: null, conditions: { day: [7, 3], night: [7, 3] }, + spawnConditions: [3, 7], }, { level: 53, @@ -544,6 +562,7 @@ export default [ type: 0, elem: null, conditions: { day: [], night: [] }, + spawnConditions: [4], }, { level: 54, @@ -551,6 +570,7 @@ export default [ type: 2, elem: null, conditions: { day: [5], night: [5] }, + spawnConditions: [5], }, { level: 55, @@ -558,6 +578,7 @@ export default [ type: 2, elem: null, conditions: { day: [9], night: [9] }, + spawnConditions: [9], }, { level: 55, -- cgit 1.4.1-2-gfad0