Replies: 2 comments 1 reply
-
Sure, it will help. I was thinking about the same, but even more interesting: chargeData = {
...
charge: {
charge: 'name';
p: 'e';
elements: [
chargeObj,
chargeObj,
chargeObj
];
},
...
} So charge should have required params inside and also contain an array of charges, so that charges can be nested. This way we can combine charges and create new charges out of several existing ones with different params. It would make the tool more versatile. I have started the work in branch https://github.com/Azgaar/Armoria/tree/combined-charges, but did not have time to finish. |
Beta Was this translation helpful? Give feedback.
-
We may not be talking about the same thing. I was referring to the description of charges in |
Beta Was this translation helpful? Give feedback.
-
To make declaration of new charges a bit easier in
src/data/dataModel.js
, I was thinking about something like this:instead of adding things at different places in the file.
Beta Was this translation helpful? Give feedback.
All reactions