I did this at the very end of the first class, then at the very beginning of the second one, and it changed from 25 to 5, but i cant tell what messed it up.
Type: Posts; User: MAK
I did this at the very end of the first class, then at the very beginning of the second one, and it changed from 25 to 5, but i cant tell what messed it up.
The name is dmg.
That is all that would happen for formatting, but ill try again.
here is the output.
Thank you. Have a nice day!
1 gold
25 damage
That is what it says after an item is...
I declared a public int in one class, modified it in that class, then tried to call it in another class, but when I call it, none of the modifications that were made carry over.
The variable:
...