Hm intresting.. i was reading this post even.. after some years.. don't ask me why
At char_battle.cpp look for void CHARACTER::ItemDropPenalty(LPCHARACTER pkKiller) under it:
{
// Previne que GMs dropem itens por ter karma negativo
if (IsGM())
{
ChatPacket(CHAT_TYPE_INFO, "Deuses não querem saber de karma...");
return;
}
Also one more that i didn't see no one commenting about it. Drop Yang.
At char_item.cpp look for bool CHARACTER::DropGold(int gold) under it:
bool CHARACTER::DropGold(int gold)
{
if (IsGM())
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Proibido dropar Yang com GM."));
return false;
}
If you want to allow any specific GM to do drop yang or anything you can even do it by character name by doing it like this (you can apply this same logic to any other ones in this post):
bool CHARACTER::DropGold(int gold)
{
std::string nNome = GetName();
if (IsGM() && nNome != "Name-Exemple")
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Proibido dropar Yang com GM."));
return false;
}
PS: Sorry for resurrecting this topic... just nostalgia... i guess