As i understand, every time you create a new CombatTask you create a new object with new properies.Therefore, either you need to transfer data when you create CombatTask or get data from the object to a higher level.
Maybe you should create new property in bot class?