metin2 grup kutsama etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

12 Ağustos 2015 Çarşamba

Metin2 Sorunsuz Grup Kutsama Nahrimed

  Hiç yorum yok
05:58



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;
}

Devamı
Blogger Eklentileri
ogretmen flickr https://myspace.com/hakandemirrz https://www.deviantart.com/mehmetcan34 https://band.us/band/88437432 miui majezik fiyat 2022 quroa tamam wordpress forum apple sorun