Postado Novembro 3, 2020 4 anos alguem pode me ajudar? estou com o mesmo erro. Porem agora não pego mais de nenhuma forma skull yellow player.cpp Spoiler Skulls_t Player::getSkullType(const Creature* creature) const { if(const Player* player = creature->getPlayer()) { if(g_game.getWorldType() != WORLDTYPE_OPEN) return SKULL_NONE; if((player == this || (player->getSkull() != SKULL_NONE && player->getSkull() < SKULL_RED)) && player->hasAttacked(this) && !player->isEnemy(this, false)) return SKULL_YELLOW; if(player->getSkull() == SKULL_NONE && (isPartner(player) || isAlly(player)) && g_game.getWorldType() != WORLDTYPE_OPTIONAL) return SKULL_GREEN; } return Creature::getSkullType(creature); } bool Player::hasAttacked(const Player* attacked) const { if (hasFlag(PlayerFlag_NotGainInFight) || !attacked) attackedSet.find(attacked->getID()) != attackedSet.end(); return false; return attackedSet.find(attacked->guid) != attackedSet.end(); }
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.