I am in the midsts of making a battle system and have just added the ability to use skills. Unfortunately, every time I compile it, this happens and I cannot seem to figure out why. Please help.
Here is the error:
1 2 3 4 5 6 7 8
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(19): error C2143: syntax error : missing ';' before '.'
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(19): error C2086: 'Spells Player::ability1' : redefinition
1> f:\nick\visual studio 2010\projects\project2\project2\player.h(18) : see declaration of 'Player::ability1'
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(19): error C2238: unexpected token(s) preceding ';'
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(20): error C2143: syntax error : missing ';' before '.'
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(20): error C2086: 'Spells Player::ability1' : redefinition
1> f:\nick\visual studio 2010\projects\project2\project2\player.h(18) : see declaration of 'Player::ability1'
1>f:\nick\visual studio 2010\projects\project2\project2\player.h(20): error C2238: unexpected token(s) preceding ';'