Metin2 Sorunsuz Grup Kutsama Nahrimed



Anlat?m:

char_skill.cpp a�?l?r:

Arat?l?r:
Kod:
 // ????? ?? ?? ??? ??? ?? ??.
if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
pkVictim = this;

alt?na eklenir:
Kod:
 if (dwVnum == 94 || dwVnum == 95 || dwVnum == 96 && !GetParty())
pkVictim = this;

tekrar arat?l?r:

Kod:
 if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
pkVictim = this;
alt?na eklenir:
Kod:
 if (dwVnum == 94 || dwVnum == 95 || dwVnum == 96 && !GetParty())
pkVictim = this;
tekrar arat?l?r:
Kod:
  if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY))
ComputeSkill(dwVnum, this);
alt?na eklenir:
Kod:
  int GrupKutsama = 1;
else if (!GetParty())
{

if (dwVnum == 94 || dwVnum == 95 || dwVnum == 96)
ComputeSkill(dwVnum, this);
}
else if (GetParty() && GrupKutsama == 1)
{

if (dwVnum == 94 || dwVnum == 95 || dwVnum == 96)
{
FPartyPIDCollector f;
GetParty()->ForEachOnMapMember(f, GetMapIndex());
for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++)
{
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it);
ComputeSkill(dwVnum, ch);
}
}
}
tekrar arat?l?r:
Kod:
static const DWORD s_adwSubSkillVnums[] =
{
SKILL_LEADERSHIP,
SKILL_COMBO,
SKILL_MINING,
SKILL_LANGUAGE1,
SKILL_LANGUAGE2,
SKILL_LANGUAGE3,
SKILL_POLYMORPH,
SKILL_HORSE,
SKILL_HORSE_SUMMON,
SKILL_HORSE_WILDATTACK,
SKILL_HORSE_CHARGE,
SKILL_HORSE_ESCAPE,
SKILL_HORSE_WILDATTACK_RANGE,
SKILL_ADD_HP,
SKILL_RESIST_PENETRATE
};
alt?na eklenir:
Kod:
struct FPartyPIDCollector
{
std::vector <DWORD> vecPIDs;
FPartyPIDCollector()
{
}
void operator () (LPCHARACTER ch)
{
vecPIDs.push_back(ch->GetPlayerID());
}
};

guild.cpp arat?l?r:
Kod:
 if ((pkSk->dwFlag & SKILL_FLAG_SELFONLY))
{
// ?? ?? ???? ???? ??.
if (ch->FindAffect(pkSk->dwVnum))
return;


victim = ch;
}
alt?na eklenir:
Kod:
 if ((pkSk->dwVnum == 94 || pkSk->dwVnum == 95 || pkSk->dwVnum == 96))
{
if (ch->FindAffect(pkSk->dwVnum))
return;


victim = ch;
}
Metin2 Sorunsuz Grup Kutsama Nahrimed Reviewed by Blog on Ağustos 12, 2015 Rating: 5

Hiç yorum yok:

All Rights Reserved by Blooglem 2021 © 2016 - 2017
Powered By

İletişim Formu

Ad

E-posta *

Mesaj *

Tema resimleri LordRunar tarafından tasarlanmıştır. Blogger tarafından desteklenmektedir.