Hello!
I'm in need of some help with this emblem function. What I seek is an edit to the code, so players who's in a guild has a Green Emblem and while seeing other players who's in a guild, they should have the Blue emblem.
I will give you reputation for your help.
Regards,
Taste
I'm in need of some help with this emblem function. What I seek is an edit to the code, so players who's in a guild has a Green Emblem and while seeing other players who's in a guild, they should have the Blue emblem.
Code:
GuildEmblems_t Player::getGuildEmblem(const Creature* creature) const
{
const Player* player = creature->getPlayer();
if(!player || !player->hasEnemy())
return Creature::getGuildEmblem(creature);
if(player->isEnemy(this, false))
return EMBLEM_RED;
return player->getGuildId() == guildId ? EMBLEM_GREEN : EMBLEM_BLUE;
}
I will give you reputation for your help.
Regards,
Taste
Last edited: