demo: https://gyazo.com/f7c9a0c48509a2766fe2dd5d9cca4bea
Tutorial:
Download parte client:
Tutorial:
Cod:
char_battle.cpp:
//cautati in class CFuncShoot:
case SKILL_NOEJEON:
case SKILL_GEOMPUNG:
case SKILL_SANGONG:
case SKILL_MAHWAN:
case SKILL_PABEOB:
//case SKILL_CURSE:
{
m_me->OnMove(true);
pkVictim->OnMove();
//adaugati la inceput:
case SKILL_PAERYONG:
//exemplu:
case SKILL_PAERYONG:
case SKILL_NOEJEON:
case SKILL_GEOMPUNG:
case SKILL_SANGONG:
case SKILL_MAHWAN:
case SKILL_PABEOB:
//case SKILL_CURSE:
{
m_me->OnMove(true);
pkVictim->OnMove();
char_skill.cpp
// in functia bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster) cauta:
if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
ComputeSkill(dwVnum, this);
#ifdef ENABLE_WOLFMAN_CHARACTER //nu e obligatoriu sa ai asta
else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY)) //nu e blabla
ComputeSkillParty(dwVnum, this); // nu e blabla
#endif
// adauga inainte
if (dwVnum == SKILL_PAERYONG)
ComputeSkill(dwVnum, pkVictim);
// sa arate asa:
if (dwVnum == SKILL_PAERYONG)
ComputeSkill(dwVnum, pkVictim);
if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
ComputeSkill(dwVnum, this);
Download parte client:
137.6 KB file on MEGA
mega.nz
Ultima editare: