I'm not sure if this is the best way to do it, but you could have a list (or enum) of modifiers (health, power, etc), and store for each item a map of modifiers and amounts (which could also be negative, as in penalties for using the item).
I'm not sure if this is the best way to do it, but you could have a list (or enum) of modifiers (health, power, etc), and store for each item a map of modifiers and amounts (which could also be negative, as in penalties for using the item). And you really should use classes for defining the items, instead of individual variables: class Item { String name; } class Weapon extends Item { int damage; int critical; } ... and so on.
I'm not quite sure how your code works. I think each item will have a maximum of 3 out of 4 types of stat increases. When the player receives a new item, a new activity will open and randomly generate the item.
If the player decides to take the item, it will be saved in one of 3 arrays(the first open or replaced) – cerealspiller Sep 10 at 13:59.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.