Closed Another19-archived closed 3 years ago
You can access the .2pc/4pc property using bracket notation.
For example artifact["2pc"].
I will consider changing the property name in the future.
Thanks
Oh, i didnt know that exists. Alright you made by day. Much thanks.
<genshin-db>.artifacts('any artifact name here').2pc
and.4pc
will return SyntaxError: Invalid or unexpected tokenVariable Error: You can NOT set variable name that has number/integer at their first letter. Can you maybe by replacing
2pc
and4pc
to something liketwo-bonus
andfullset-bonus
, or would you like me to fix the data for you by contributing?