Hi everybody,
I'm trying to write up a personal project automating some ttrpg mechanics, where the "attack" function will take the target's name as an argument and feed it into the "defence" action that uses the target's Dex and one of their skills (i.e. "Void).
Referring to the target's Dex seems to work fine from inside the "defence" action, but when I try to implement the Character.Skill referent through variables I'm met with "Uncaught ReferenceError: Void is not defined."
//very basic and temporary exalt template
class Exalt {
constructor() {
this.Essence = 1;
this.Dex = 1;
this.Defence = 1;
}
}
const Antigone = new E

