- Joined
- Oct 12, 2015
- Messages
- 3,781
- Thread Author
- #1
I've noticed that my UI will sometimes add random skills, which should not happen.
My implementation is something like this:
Sometimes I will get random ones added with varying data:
I can't see how it can be possible (using my implementation) that these can happen, given no actions were taken that gain exp in those skills? Each skill pane has a separate listener and a new controller instance so I can understand why the XPGain shown on the pane would be zero, but I can't understand why it would be added in the first place.
@Cloud @SlashnHax @Arbiter able to shine any light?
My implementation is something like this:
Code:
//Using list of (untrained) skills
for (Skill skill : skills) {
if(skill.equals(e.getSkill()) && e.getChange() >= 5){
//Remove untrained skill
//Lazy instantiate a new skill pane
break;
}
}
Sometimes I will get random ones added with varying data:


I can't see how it can be possible (using my implementation) that these can happen, given no actions were taken that gain exp in those skills? Each skill pane has a separate listener and a new controller instance so I can understand why the XPGain shown on the pane would be zero, but I can't understand why it would be added in the first place.
@Cloud @SlashnHax @Arbiter able to shine any light?