webnull Posted March 5, 2018 at 07:20 PM Share Posted March 5, 2018 at 07:20 PM Este sistema evita que jogadores matem lojas fora do circulo, pode ser útil para alguém. char_battle.cpp Procurar por: bool CHARACTER::Attack(LPCHARACTER pkVictim, BYTE bType) E depois de: if (pkVictim->CanBeginFight()) pkVictim->BeginFight(this); Adicionar por baixo: if (pkVictim->GetMyShop()) { return false; } battle.cpp Procurar por: bool battle_is_attackable(LPCHARACTER ch, LPCHARACTER victim) E depois de: if (victim->IsDead()) return false; Adicionar por baixo: if (victim->GetMyShop()) return false; Compilar e está feito. 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now