I mean if you attack somebody with skull you get yellow skull
Yep dont work and the another code is for OTX my player cpp is diferent
bool Player::hasAttacked(const Player* attacked) const
{
return !hasFlag(PlayerFlag_NotGainInFight) && attacked && attackedSet.find(attacked->getID()) != attackedSet.end();
}