Jump to content

Dash

Premium
  • Posts

    152
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dash

  1. i said cheange name folder claw from wolfman with dualhand_sword
  2. i have add this structure in char.cpp if (dwMode == 8) dwMode = MOTION_MODE_DUALHAND_SWORD; i make this because game can't find claw folder idk so i have rename claw folder to dualhand_sword
  3. If my dump_proto didn't work you make something wrong with sintax for antiflag.
  4. I will post skill efects for wolfman soon
  5. M2 Download Center Download Here ( Internal ) Hi metin2dev i want to share skill party flag This flag will give buff to all members from your party. Sorry for my english Open skill.h Search: SKILL_FLAG_FIRE = (1 << 26), After this add: SKILL_FLAG_PARTY = (1 << 27), Now open char_skill.cpp Search: SKILL_RESIST_PENETRATE And after add: struct FPartyPIDCollector { std::vector <DWORD> vecPIDs; FPartyPIDCollector() { } void operator () (LPCHARACTER ch) { vecPIDs.push_back(ch->GetPlayerID()); } }; Like in picturehttps://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Now search: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) pkVictim = this; And after Add: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && !GetParty()) pkVictim = this; And again: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) pkVictim = this; After if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && !GetParty()) pkVictim = this; Now search: if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) ComputeSkill(dwVnum, this); And after: else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && !GetParty()) ComputeSkill(dwVnum, this); else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && GetParty()) { 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); } } Open guild.cpp and search: if ((pkSk->dwFlag & SKILL_FLAG_SELFONLY)) { // 이미 걸려 있으므로 사용하지 않음. if (ch->FindAffect(pkSk->dwVnum)) return; victim = ch; } After add: if ((pkSk->dwFlag & SKILL_FLAG_PARTY)) { if (ch->FindAffect(pkSk->dwVnum)) return; victim = ch; } Open navicat->player->skill_proto->design table and at setFlag change the values with: 'ATTACK','USE_MELEE_DAMAGE','COMPUTE_ATTGRADE','SELFONLY','USE_MAGIC_DAMAGE','USE_HP_AS_COST','COMPUTE_MAGIC_DAMAGE','SPLASH','GIVE_PENALTY','USE_ARROW_DAMAGE','PENETRATE','IGNORE_TARGET_RATING','ATTACK_SLOW','ATTACK_STUN','HP_ABSORB','SP_ABSORB','ATTACK_FIRE_CONT','REMOVE_BAD_AFFECT','REMOVE_GOOD_AFFECT','CRUSH','ATTACK_POISON','TOGGLE','DISABLE_BY_POINT_UP','CRUSH_LONG','WIND','ELEC','FIRE','PARTY'
  6. LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); if (ch) ch->ComputeSkill(dwVnum, ch); Change this with: LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); ComputeSkill(dwVnum, ch);
  7. Hi metin2dev, i have some problems with chat position: How can i put on the original position?
  8. I want to use my old item_proto client , but it's doesn't work...i think, i need to remove vnum_range from launcher source. If i will remove vnum range from launcher my old proto will work?
  9. Hi metin2dev, i am developing lycan and i found a visual bug. i don't have any idea how to solve this... RESOLVED, i had a funtion in char.cpp witch set my skill group if i have level >=5 so this funtion set my skill group on every level....
  10. Hi metin2dev, i am developing lycan and i found a visual bug. i don't have any idea how to solve this... RESOLVED, i had a funtion in char.cpp witch set my skill group if i have level >=5 so this funtion set my skill group on every level....
×
×
  • 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.