Dries390
Well-Known Member
- Joined
- Sep 8, 2007
- Messages
- 91
- Solutions
- 4
- Reaction score
- 70
Hello everyone,
I've been trying to implement a spell-salesman for knights and have run into an odd bug. The code works correctly for spells up until i=3, then skips to i=5 when asked for the "charge" spell. Does anybody know why this is? I'm using TFS 0.3.6 because I'm not really interested in features released beyond that point. Asking him for "protector" offers "whirlwind throw" and asking for the last two spells throws an error because it's trying to read table elements that are not there, i.e. spells with i > 15.
I've been trying to implement a spell-salesman for knights and have run into an odd bug. The code works correctly for spells up until i=3, then skips to i=5 when asked for the "charge" spell. Does anybody know why this is? I'm using TFS 0.3.6 because I'm not really interested in features released beyond that point. Asking him for "protector" offers "whirlwind throw" and asking for the last two spells throws an error because it's trying to read table elements that are not there, i.e. spells with i > 15.