How do I pull the value from an enemy note? I can do this for equipment, but it doesn't seem to work with enemies.
For example, "I am using "actormaxdam = Number(a.equips()[0].meta.maxdam);" which takes the value out of <maxdam:8> in the weapon's note field, and it works when applying to value.
However, when I use "enemymaxdam = Number(b.meta.maxdam);" it doesn't take the value of <maxdam:12> and it causes all damage to go to 0.
For example, "I am using "actormaxdam = Number(a.equips()[0].meta.maxdam);" which takes the value out of <maxdam:8> in the weapon's note field, and it works when applying to value.
However, when I use "enemymaxdam = Number(b.meta.maxdam);" it doesn't take the value of <maxdam:12> and it causes all damage to go to 0.