- Joined
- Jul 26, 2014
- Messages
- 8
- Reaction score
- 2
- First Language
- English
- Primarily Uses
Hello, I'm writing a plugin to add old school AD&D style THAC0 and AC, but I'm having trouble getting the data out of my armor note tags. I've got Harold wearing cloth with <ac: 8> and a shield with <ac: 1>, so this should result in him having an AC of 7. Instead my code is giving him the default AC of 10.
Relevant Code
Does anyone know what I'm doing wrong here?
EDIT: Still not working, updated the code.
Relevant Code
Does anyone know what I'm doing wrong here?
EDIT: Still not working, updated the code.
Last edited:

