Jump to content

Dynamic

Member
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

About Dynamic

Informations

  • Gender
    Male

Dynamic's Achievements

Rookie

Rookie (2/16)

  • Dedicated
  • First Post
  • Reacting Well
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. 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
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.