warnings are linked to actions, corrected bug on player attack