From 8e4f4eedb8bd5edc0fe1dda85f7f528469455ff2 Mon Sep 17 00:00:00 2001 From: TobenderZephyr Date: Thu, 22 Apr 2021 19:14:15 +0200 Subject: [PATCH] initial implementation of spells --- data/dsabot.db | 1 - globals.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ jsconfig.json | 2 +- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/data/dsabot.db b/data/dsabot.db index 28f986e..e69de29 100644 --- a/data/dsabot.db +++ b/data/dsabot.db @@ -1 +0,0 @@ -{"user":"tobenderzephyr#2509","gold":0,"silver":0,"bronce":0,"iron":0,"hp":0,"character":{"age":"36","armor":[{"amount":1,"equipped":true,"ruleelement":{"id":"lederruestung","type":"armor"}}],"attributes":[{"id":"mut","level":12},{"id":"klugheit","level":11},{"id":"intuition","level":12},{"id":"charisma","level":11},{"id":"fingerfertigkeit","level":12},{"id":"gewandtheit","level":13},{"id":"konstitution","level":12},{"id":"koerperkraft","level":12}],"basevalues":[{"id":"lebensenergie"},{"id":"astralenergie"},{"id":"karmaenergie"},{"id":"seelenkraft"},{"id":"zaehigkeit"},{"id":"ausweichen"},{"id":"initiative"},{"id":"geschwindigkeit"},{"id":"schicksalspunkte"}],"checkrange":true,"combattechniques":[{"id":"dolche","level":8},{"id":"raufen","level":8}],"culture":"suedaventurier","disadvantages":[{"id":"angstvor","level":2,"variant":{"name":"Spinnen","type":"string"}},{"id":"schlechteeigenschaft","variant":{"apcost":-5,"name":"Neugier","type":"stringwithcost"}},{"id":"stigma","variant":{"name":"Grüne Haare","type":"string"}},{"id":"beidhaendig"},{"id":"glueck","level":1},{"id":"kaelteempfindlich"},{"id":"persoenlichkeitsschwaeche","variant":{"apcost":-5,"name":"Neid","type":"stringwithcost"}},{"id":"unscheinbar"},{"id":"herausragendersinngehoer"},{"id":"herausragendersinnsicht"},{"id":"schlechteangewohnheit","variant":{"name":"Raucher","type":"string"}},{"id":"unfaehig","variant":{"ruleelement":{"id":"booteschiffe","type":"skill"},"type":"ruleelement"}},{"id":"unfaehig","variant":{"ruleelement":{"id":"zechen","type":"skill"},"type":"ruleelement"}},{"id":"angstvor","level":1,"variant":{"name":"Schlangen","type":"string"}},{"id":"waffenbegabung","variant":{"ruleelement":{"id":"dolche","type":"combattechnique"},"type":"ruleelement"}}],"eyecolor":"grün","haircolor":"schwarz","height":"17300","meleeweapons":[{"amount":1,"equipped":true,"handling":[],"ruleelement":{"id":"dolch","type":"meleeweapon"}},{"amount":1,"equipped":true,"handling":[],"ruleelement":{"id":"waqqif","type":"meleeweapon"}}],"mothertongues":[{"id":"sprache","level":3,"variant":{"ruleelement":{"id":"garethi","type":"language"},"text":"Brabaci","type":"ruleelement"}}],"name":"Diego Lupinez","otherobjects":[{"amount":4,"ruleelement":{"id":"dietriche","type":"equipment"}},{"amount":2,"ruleelement":{"id":"falscherbart","type":"equipment"}},{"amount":2,"ruleelement":{"id":"peruecke","type":"equipment"}},{"amount":2,"ruleelement":{"id":"dolchscheide","type":"equipment"}},{"amount":1,"ruleelement":{"id":"verband","type":"equipment"}},{"amount":1,"ruleelement":{"id":"kletterseil10schritt","type":"equipment"}},{"amount":3,"ruleelement":{"id":"fesselseil","type":"equipment"}},{"amount":1,"ruleelement":{"id":"gugel","type":"equipment"}},{"amount":1,"ruleelement":{"id":"halstuch","type":"equipment"}},{"amount":1,"ruleelement":{"id":"geldbeutel","type":"equipment"}},{"amount":1,"ruleelement":{"id":"lederrucksack","type":"equipment"}},{"amount":1,"ruleelement":{"id":"geldkatze","type":"equipment"}},{"amount":1,"ruleelement":{"id":"zunder","type":"equipment"}},{"amount":1,"ruleelement":{"id":"papier1blatt","type":"equipment"}},{"amount":1,"ruleelement":{"id":"kohlestift","type":"equipment"}},{"amount":1,"ruleelement":{"id":"siegelwachs","type":"equipment"}},{"amount":1,"ruleelement":{"id":"tinte","type":"equipment"}},{"amount":1,"ruleelement":{"id":"federkiel","type":"equipment"}},{"amount":1,"ruleelement":{"id":"federmesser","type":"equipment"}},{"amount":1,"ruleelement":{"id":"kapuzenumhang","type":"equipment"}},{"amount":1,"ruleelement":{"id":"lederguertel","type":"equipment"}},{"amount":1,"ruleelement":{"id":"unterhosen","type":"equipment"}},{"amount":1,"ruleelement":{"id":"wollstruempfe","type":"equipment"}},{"amount":1,"ruleelement":{"id":"feile","type":"equipment"}},{"amount":1,"ruleelement":{"id":"proviant","type":"equipment"}}],"profession":"spitzel","professionname":"Spitzel","purse":"24945","race":"mittellaender","rangedweapons":[{"amount":2,"ruleelement":{"id":"wurfdolch","type":"rangedweapon"}}],"rules":{"focusrules":[{"choice":-1,"id":"liturgieerweiterungen"},{"choice":-1,"id":"predigtenundvisionen"},{"choice":-1,"id":"myranischesprachen"},{"choice":-1,"id":"kontaktebeiderheldenerschaffung"},{"choice":-1,"id":"spezielleverletzungenundbehandlung"},{"choice":-1,"id":"anbahnung"},{"choice":-1,"id":"uthurischesprachen"},{"choice":-1,"id":"liturgiestile"},{"choice":-1,"id":"sprachspezialisierungen"},{"choice":-1,"id":"trefferzonenregeln1"},{"choice":-1,"id":"zauberstile"},{"choice":-1,"id":"talismane"},{"choice":-1,"id":"zaubererweiterungen"},{"choice":-1,"id":"talentstile"},{"choice":-1,"id":"lebensstilregeln"},{"choice":-1,"id":"startkapitalnacherfahrung"},{"choice":-1,"id":"heldenundmeisterpersonen"},{"choice":-1,"id":"kontakteundverbindungen"},{"choice":-1,"id":"hoehereverteidigung"},{"id":"eigenschaftsobergrenze"},{"choice":-1,"id":"talentgruppenprobe"},{"choice":-1,"id":"merkmalsproben"},{"choice":-1,"id":"praegungen"},{"choice":-1,"id":"kampfstile"}],"rulebooks":["regelwerk"],"rulesystem":"dsa5aventurien","version":"3"},"sex":"male","shields":[],"skills":[{"id":"gaukeleien","level":4},{"id":"klettern","level":6},{"id":"koerperbeherrschung","level":6},{"id":"kraftakt","level":2},{"id":"schwimmen","level":4},{"id":"sinnesschaerfe","level":7},{"id":"taschendiebstahl","level":8},{"id":"verbergen","level":8},{"id":"betoeren","level":1},{"id":"gassenwissen","level":8},{"id":"menschenkenntnis","level":8},{"id":"ueberreden","level":7},{"id":"verkleiden","level":8},{"id":"willenskraft","level":6},{"id":"fesseln","level":6},{"id":"fischenangeln","level":1},{"id":"orientierung","level":4},{"id":"goetterkulte","level":2},{"id":"mechanik","level":5},{"id":"rechnen","level":3},{"id":"rechtskunde","level":3},{"id":"sagenlegenden","level":2},{"id":"booteschiffe","level":1},{"id":"handel","level":6},{"id":"heilkundegift","level":1},{"id":"malenzeichnen","level":8},{"id":"schloesserknacken","level":8}],"specialabilities":[{"id":"sprache","level":3,"variant":{"ruleelement":{"id":"garethi","type":"language"},"text":"Brabaci","type":"ruleelement"}},{"id":"fertigkeitsspezialisierung","variant":{"application":"sich Verstecken","skill":"verbergen","type":"skillspecialization"}},{"id":"dokumentenfaelscher"},{"id":"hehlerei"},{"id":"gelaendekunde","variant":{"name":"Gebirge","type":"string"}},{"id":"attackeverbessern"},{"id":"wachsamkeitverbessern"},{"id":"ausweichenverbessern"},{"id":"kreuzblock"},{"id":"verbessertesausweichen","level":1},{"id":"fallenentschaerfen"},{"id":"haltegriff"}],"uuid":"{271e0de0-eb6e-4855-9d2c-eafedc5c84ff}","weigth":"26800000","xp":{"startinglevel":"unerfahren"}},"_id":"3jo0jWYKgEFsQVdh"} diff --git a/globals.js b/globals.js index a8822e6..630ae8a 100644 --- a/globals.js +++ b/globals.js @@ -231,5 +231,54 @@ const Advantages = [ const Disadvantages = [ {} ]; + +const Spells = [ + {id: 'adlerauge', name: 'Adlerauge', attributes: ['KL','IN','FF'], spellduration: 2, modified_by: []}, + {id: 'analysarkanstruktur', name: 'Analys Arkanstruktur', attributes: ['KL','KL','IN'], spellduration: 32, modified_by: []}, + {id: 'armatrutz', name: 'Armatrutz', attributes: ['KL','IN','FF'], spellduration: 1, modified_by: []}, + {id: 'axxeleratus', name: 'Axxeleratus', attributes: ['KL','IN','FF'], spellduration: 1, modified_by: []}, + {id: 'balsamsalabunde', name: 'Balsam Salabunde', attributes: ['KL','IN','FF'], spellduration: 16, modified_by: []}, + {id: 'bannbaladin', name: 'Bannbaladin', attributes: ['MU','IN','CH'], spellduration: 4, modified_by: ['ZK']}, + {id: 'blickindiegedanken', name: 'Blick in die Gedanken', attributes: ['MU','KL','IN'], spellduration: 4, modified_by: ['ZK']}, + {id: 'blitzdichfind', name: 'blitz dich find', attributes: ['MU','IN','CH'], spellduration: 1, modified_by: ['ZK']}, + {id: 'corpofesso', name: 'Corpofesso', attributes: ['KL','IN','KO'], spellduration: 2, modified_by: ['ZK']}, + {id: 'disruptivo', name: 'Disruptivo', attributes: ['MU','KL','CH'], spellduration: 8, modified_by: []}, + {id: 'duplicatus', name: 'Duplicatus', attributes: ['KL','IN','CH'], spellduration: 2, modified_by: []}, + {id: 'falkenauge', name: 'Falkenauge', attributes: ['MU','KL','IN'], spellduration: 2, modified_by: []}, + {id: 'flimflam', name: 'Flim Flam', attributes: ['MU','KL','CH'], spellduration: 1, modified_by: []}, + {id: 'fulminictus', name: 'Fulminictus', attributes: ['KL','IN','KO'], spellduration: 1, modified_by: ['ZK']}, + {id: 'gardianum', name: 'Gardianum', attributes: ['MU','KL','CH'], spellduration: 1, modified_by: []}, + {id: 'grossegier', name: 'Große Gier', attributes: ['MU','IN','CH'], spellduration: 2, modified_by: ['SK']}, + {id: 'harmlosegestalt', name: 'Harmlose Gestalt', attributes: ['KL','IN','CH'], spellduration: 4, modified_by: []}, + {id: 'hexengalle', name: 'Hexengalle', attributes: ['KL','IN','KO'], spellduration: 1, modified_by: []}, + {id: 'hexenkrallen', name: 'Hexenkrallen', attributes: ['KL','IN','KO'], spellduration: 1, modified_by: []}, + {id: 'horriphobos', name: 'Horriphobos', attributes: ['MU','IN','CH'], spellduration: 2, modified_by: ['SK']}, + {id: 'ignifaxius', name: 'Ignifaxius', attributes: ['MU','KL','CH'], spellduration: 2, modified_by: []}, + {id: 'invocatiominima', name: 'Invocatio Minima', attributes: ['MU','CH','KO'], spellduration: 4, modified_by: []}, + {id: 'katzenaugen', name: 'Katzenaugen', attributes: ['KL','IN','KO'], spellduration: 4, modified_by: []}, + {id: 'kroetensprung', name: 'Krötensprung', attributes: ['KL','IN','KO'], spellduration: 2, modified_by: []}, + {id: 'manifesto', name: 'Manifesto', attributes: ['MU','KL','CH'], spellduration: 4, modified_by: []}, + {id: 'manusmiracula', name: 'Manus Miracula', attributes: ['KL','FF','KK'], spellduration: 2, modified_by: []}, + {id: 'motoricus', name: 'Motoricus', attributes: ['KL','FF','KK'], spellduration: 2, modified_by: []}, + {id: 'nebelwand', name: 'Nebelwand', attributes: ['MU','KL','CH'], spellduration: 2, modified_by: []}, + {id: 'oculusillusionis', name: 'Oculus Illusionis', attributes: ['KL','IN','CH'], spellduration: 4, modified_by: []}, + {id: 'odemarcanum', name: 'Odem Arcanum', attributes: ['MU','KL','IN'], spellduration: 2, modified_by: []}, + {id: 'paralys', name: 'Paralys', attributes: ['KL','IN','KO'], spellduration: 2, modified_by: ['ZK']}, + {id: 'penetrizzel', name: 'Penetrizzel', attributes: ['MU','KL','IN'], spellduration: 2, modified_by: []}, + {id: 'psychostabilis', name: 'Psychostabilis', attributes: ['KL','IN','FF'], spellduration: 8, modified_by: []}, + {id: 'radau', name: 'Radau', attributes: ['KL','FF','KK'], spellduration: 2, modified_by: []}, + {id: 'respondami', name: 'Respondami', attributes: ['MU','IN','CH'], spellduration: 2, modified_by: ['SK']}, + {id: 'salander', name: 'Salander', attributes: ['KL','IN','KO'], spellduration: 8, modified_by: ['ZK']}, + {id: 'sanftmut', name: 'Sanftmut', attributes: ['MU','IN','CH'], spellduration: 2, modified_by: ['SK']}, + {id: 'satuariasherrlichkeit', name: 'Satuarias Herrlichkeit', attributes: ['KL','IN','KO'], spellduration: 4, modified_by: []}, + {id: 'silentium', name: 'Silentium', attributes: ['KL','FF','KK'], spellduration: 8, modified_by: []}, + {id: 'somnigravis', name: 'Somnigravis', attributes: ['MU','IN','CH'], spellduration: 8, modified_by: ['SK']}, + {id: 'spinnenlauf', name: 'Spinnenlauf', attributes: ['KL','IN','KO'], spellduration: 4, modified_by: []}, + {id: 'spurlos', name: 'Spurlos', attributes: ['KL','FF','KK'], spellduration: 4, modified_by: []}, + {id: 'transversalis', name: 'Transversalis', attributes: ['MU','CH','KO'], spellduration: 8, modified_by: []}, + {id: 'visibili', name: 'Visibili', attributes: ['KL','IN','KO'], spellduration: 4, modified_by: []}, + {id: 'wasseratem', name: 'Wasseratem', attributes: ['KL','IN','KO'], spellduration: 8, modified_by: []}, +]; + module.exports = { Werte, Talente, Coin, TalentKategorien, DiceRegex, Discord, MessageEmbed, db, Replies, MeleeWeapons, Weapons, RangedWeapons, CombatTechniques, Articles, Declination }; diff --git a/jsconfig.json b/jsconfig.json index a4fad4e..2fe1a38 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -8,6 +8,6 @@ }, "exclude": ["node_modules"], "typeAcquisition": { - "exclude": [ "dotenv" ] + "exclude": [ "dotenv", "source-map" ] }, } \ No newline at end of file