mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
card basic
This commit is contained in:
parent
51fb65cdb4
commit
cd0793655d
32 changed files with 807 additions and 260 deletions
15
lib/convert/element.js
Normal file
15
lib/convert/element.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
const ELEMENT_TYPE = {
|
||||
203: 'thunder',
|
||||
205: 'dungeon',
|
||||
202: 'ice',
|
||||
200: 'physdmg',
|
||||
201: 'fire',
|
||||
};
|
||||
/**
|
||||
*
|
||||
* @param {keyof ELEMENT_TYPE} id
|
||||
* @returns
|
||||
*/
|
||||
export const IDToElement = id => {
|
||||
return ELEMENT_TYPE[id];
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue