added equipment system and fixes

added equipment system and bugfixes in Player/attack()