diff --git a/src/game/src/affect.h b/src/game/src/affect.h index 90e610b..729a47a 100644 --- a/src/game/src/affect.h +++ b/src/game/src/affect.h @@ -133,26 +133,26 @@ enum EAffectBits AFF_FISH_MIND, - AFF_JEONGWIHON, // Àü±ÍÈ¥ - AFF_GEOMGYEONG, // °Ë°æ - AFF_CHEONGEUN, // õ±ÙÃß - AFF_GYEONGGONG, // °æ°ø¼ú - AFF_EUNHYUNG, // ÀºÇü¹ý - AFF_GWIGUM, // ±Í°Ë - AFF_TERROR, // °øÆ÷ - AFF_JUMAGAP, // ÁÖ¸¶°© - AFF_HOSIN, // È£½Å - AFF_BOHO, // º¸È£ - AFF_KWAESOK, // Äè¼Ó - AFF_MANASHIELD, // ¸¶³ª½¯µå - AFF_MUYEONG, // ¹«¿µÁø affect + AFF_WAR_BODY_BERSERK, // Àü±ÍÈ¥ + AFF_WAR_BODY_AURA, // °Ë°æ + AFF_WAR_MENTAL_STRONG_BODY, // õ±ÙÃß + AFF_NINJA_ARCHERY_FEATHER_WALK, // °æ°ø¼ú + AFF_NINJA_BLADEFIGHT_DISGUISE, // ÀºÇü¹ý + AFF_SURA_WEAPONRY_ENCHANTED_BLADE, // ±Í°Ë + AFF_SURA_WEAPONRY_FEAR, // °øÆ÷ + AFF_SURA_WEAPONRY_ENCHANTED_ARMOUR, // ÁÖ¸¶°© + AFF_SHAMAN_DRAGON_BLESSING, // È£½Å + AFF_SHAMAN_DRAGON_REFLECT, // º¸È£ + AFF_SHAMAN_HEALING_SWIFTNESS, // Äè¼Ó + AFF_SURA_BLACKMAGIC_DARK_PROTECTION, // ¸¶³ª½¯µå + AFF_SURA_BLACKMAGIC_FLAME_SPIRIT, // ¹«¿µÁø affect AFF_REVIVE_INVISIBLE, // ºÎÈ°½Ã Àá½Ãµ¿¾È ¹«Àû AFF_FIRE, // Áö¼Ó ºÒ µ¥¹ÌÁö - AFF_GICHEON, // ±âõ´ë°ø - AFF_JEUNGRYEOK, // Áõ·Â¼ú - AFF_TANHWAN_DASH, // źȯ°Ý¿ë ´Þ¸®±â¾îÆåÆ® - AFF_PABEOP, // ÆĹý¼ú - AFF_CHEONGEUN_WITH_FALL, // õ±ÙÃß + AFF_SHAMAN_DRAGON_DRAGONS_AID, // ±âõ´ë°ø + AFF_SHAMAN_HEALING_ATTACK, // Áõ·Â¼ú + AFF_WAR_BODY_DASH, // źȯ°Ý¿ë ´Þ¸®±â¾îÆåÆ® + AFF_SURA_WEAPONRY_DISPEL, // ÆĹý¼ú + AFF_WAR_MENTAL_SWORD_STRIKE_WITH_FALL, // õ±ÙÃß AFF_POLYMORPH, AFF_WAR_FLAG1, AFF_WAR_FLAG2, diff --git a/src/game/src/char.cpp b/src/game/src/char.cpp index ef323f9..0347718 100644 --- a/src/game/src/char.cpp +++ b/src/game/src/char.cpp @@ -4804,7 +4804,7 @@ void CHARACTER::OnMove(bool bIsAttack) if (IsAffectFlag(AFF_REVIVE_INVISIBLE)) RemoveAffect(AFFECT_REVIVE_INVISIBLE); - if (IsAffectFlag(AFF_EUNHYUNG)) + if (IsAffectFlag(AFF_NINJA_BLADEFIGHT_DISGUISE)) { RemoveAffect(SKILL_NINJA_BLADEFIGHT_DISGUISE); SetAffectedEunhyung(); diff --git a/src/game/src/char_battle.cpp b/src/game/src/char_battle.cpp index 089ebec..cd84f97 100644 --- a/src/game/src/char_battle.cpp +++ b/src/game/src/char_battle.cpp @@ -1659,7 +1659,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu // ÆòŸ°¡ ¾Æ´Ò ¶§´Â °øÆ÷ ó¸® if (type != DAMAGE_TYPE_NORMAL && type != DAMAGE_TYPE_NORMAL_RANGE) { - if (IsAffectFlag(AFF_TERROR)) + if (IsAffectFlag(AFF_SURA_WEAPONRY_FEAR)) { int pct = GetSkillPower(SKILL_SURA_WEAPONRY_FEAR) / 400; @@ -1722,9 +1722,9 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu dam *= 2; EffectPacket(SE_CRITICAL); - if (IsAffectFlag(AFF_MANASHIELD)) + if (IsAffectFlag(AFF_SURA_BLACKMAGIC_DARK_PROTECTION)) { - RemoveAffect(AFF_MANASHIELD); + RemoveAffect(AFF_SURA_BLACKMAGIC_DARK_PROTECTION); } } } @@ -1772,9 +1772,9 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100; - if (IsAffectFlag(AFF_MANASHIELD)) + if (IsAffectFlag(AFF_SURA_BLACKMAGIC_DARK_PROTECTION)) { - RemoveAffect(AFF_MANASHIELD); + RemoveAffect(AFF_SURA_BLACKMAGIC_DARK_PROTECTION); } } } @@ -1816,13 +1816,13 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu } } - if (IsAffectFlag(AFF_JEONGWIHON)) + if (IsAffectFlag(AFF_WAR_BODY_BERSERK)) dam = (int) (dam * (100 + GetSkillPower(SKILL_WAR_BODY_BERSERK) * 25 / 100) / 100); - if (IsAffectFlag(AFF_TERROR)) + if (IsAffectFlag(AFF_SURA_WEAPONRY_FEAR)) dam = (int) (dam * (95 - GetSkillPower(SKILL_SURA_WEAPONRY_FEAR) / 5) / 100); - if (IsAffectFlag(AFF_HOSIN)) + if (IsAffectFlag(AFF_SHAMAN_DRAGON_BLESSING)) dam = dam * (100 - GetPoint(POINT_RESIST_NORMAL_DAMAGE)) / 100; // @@ -2022,7 +2022,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu // // ¸¶³ª½¯µå(Èæ½Å¼öÈ£) // - if (IsAffectFlag(AFF_MANASHIELD)) + if (IsAffectFlag(AFF_SURA_BLACKMAGIC_DARK_PROTECTION)) { // POINT_MANASHIELD ´Â ÀÛ¾ÆÁú¼ö·Ï ÁÁ´Ù int iDamageSPPart = dam / 3; @@ -3186,7 +3186,7 @@ LPCHARACTER CHARACTER::GetNearestVictim(LPCHARACTER pkChr) if (!pAttacker) continue; - if (pAttacker->IsAffectFlag(AFF_EUNHYUNG) || + if (pAttacker->IsAffectFlag(AFF_NINJA_BLADEFIGHT_DISGUISE) || pAttacker->IsAffectFlag(AFF_INVISIBILITY) || pAttacker->IsAffectFlag(AFF_REVIVE_INVISIBLE)) continue; diff --git a/src/game/src/char_item.cpp b/src/game/src/char_item.cpp index 099a31c..370e2a0 100644 --- a/src/game/src/char_item.cpp +++ b/src/game/src/char_item.cpp @@ -477,10 +477,10 @@ void CHARACTER::SetWear(BYTE bCell, LPITEM item) if (!item && bCell == WEAR_WEAPON) { // ±Í°Ë »ç¿ë ½Ã ¹þ´Â °ÍÀ̶ó¸é È¿°ú¸¦ ¾ø¾Ö¾ß ÇÑ´Ù. - if (IsAffectFlag(AFF_GWIGUM)) + if (IsAffectFlag(AFF_SURA_WEAPONRY_ENCHANTED_BLADE)) RemoveAffect(SKILL_SURA_WEAPONRY_ENCHANTED_BLADE); - if (IsAffectFlag(AFF_GEOMGYEONG)) + if (IsAffectFlag(AFF_WAR_BODY_AURA)) RemoveAffect(SKILL_WAR_BODY_AURA); } } diff --git a/src/game/src/char_skill.cpp b/src/game/src/char_skill.cpp index d14569f..5a22c02 100644 --- a/src/game/src/char_skill.cpp +++ b/src/game/src/char_skill.cpp @@ -1400,7 +1400,7 @@ struct FuncSplashDamage if (Random::get(1, 100) <= iAmount2) { pkChrVictim->RemoveGoodAffect(); - pkChrVictim->AddAffect(m_pkSk->dwVnum, POINT_NONE, 0, AFF_PABEOP, iDur2, 0, true); + pkChrVictim->AddAffect(m_pkSk->dwVnum, POINT_NONE, 0, AFF_SURA_WEAPONRY_DISPEL, iDur2, 0, true); } } @@ -1999,7 +1999,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel } } - if (pkVictim->IsAffectFlag(AFF_PABEOP) && pkVictim->IsGoodAffect(dwVnum)) + if (pkVictim->IsAffectFlag(AFF_SURA_WEAPONRY_DISPEL) && pkVictim->IsGoodAffect(dwVnum)) { return BATTLE_NONE; } @@ -2233,7 +2233,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel if (pkVictim == this) AddAffect(dwVnum, POINT_NONE, 0, - AFF_MUYEONG, + AFF_SURA_BLACKMAGIC_FLAME_SPIRIT, iDur, (int) pkSk->kDurationSPCostPoly.Eval(), true); @@ -2281,12 +2281,12 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel if ( !LC_IsYMIR() ) { if ((pkSk->dwVnum == SKILL_WAR_MENTAL_SWORD_STRIKE && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_GRAND_MASTER)) - affact_flag = AFF_CHEONGEUN_WITH_FALL; + affact_flag = AFF_WAR_MENTAL_SWORD_STRIKE_WITH_FALL; } else { if ((pkSk->dwVnum == SKILL_WAR_MENTAL_SWORD_STRIKE && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_MASTER)) - affact_flag = AFF_CHEONGEUN_WITH_FALL; + affact_flag = AFF_WAR_MENTAL_SWORD_STRIKE_WITH_FALL; } // END_OF_ADD_GRANDMASTER_SKILL @@ -2336,7 +2336,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel iDur2 += GetPoint(POINT_PARTY_BUFFER_BONUS); if (pkSk->IsChargeSkill()) - pkVictim->AddAffect(pkSk->dwVnum, pkSk->bPointOn2, iAmount2, AFF_TANHWAN_DASH, iDur2, 0, false); + pkVictim->AddAffect(pkSk->dwVnum, pkSk->bPointOn2, iAmount2, AFF_WAR_BODY_DASH, iDur2, 0, false); else pkVictim->AddAffect(pkSk->dwVnum, pkSk->bPointOn2, iAmount2, pkSk->dwAffectFlag2, iDur2, 0, false); } @@ -2462,12 +2462,12 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste if (pkSk->IsChargeSkill()) { - if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this) + if (IsAffectFlag(AFF_WAR_BODY_DASH) || pkVictim && pkVictim != this) { if (!pkVictim) return false; - if (!IsAffectFlag(AFF_TANHWAN_DASH)) + if (!IsAffectFlag(AFF_WAR_BODY_DASH)) { if (!UseSkill(dwVnum, this)) return false; @@ -2568,7 +2568,7 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste if (IS_SET(pkSk->dwFlag, SKILL_FLAG_SELFONLY)) pkVictim = this; - if (pkSk->dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim) + if (pkSk->dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_WAR_BODY_DASH) && !pkVictim) { // óÀ½ »ç¿ëÇÏ´Â ¹«¿µÁøÀº Àڽſ¡°Ô Affect¸¦ ºÙÀδÙ. pkVictim = this; @@ -2702,7 +2702,7 @@ EVENTFUNC(skill_muyoung_event) return 0; } - if (!ch->IsAffectFlag(AFF_MUYEONG)) + if (!ch->IsAffectFlag(AFF_SURA_BLACKMAGIC_FLAME_SPIRIT)) { ch->StopMuyeongEvent(); return 0; diff --git a/src/game/src/char_state.cpp b/src/game/src/char_state.cpp index 9e7becb..8518fda 100644 --- a/src/game/src/char_state.cpp +++ b/src/game/src/char_state.cpp @@ -197,7 +197,7 @@ namespace if (pkChr->IsDead()) return; - if (pkChr->IsAffectFlag(AFF_EUNHYUNG) || + if (pkChr->IsAffectFlag(AFF_NINJA_BLADEFIGHT_DISGUISE) || pkChr->IsAffectFlag(AFF_INVISIBILITY) || pkChr->IsAffectFlag(AFF_REVIVE_INVISIBLE)) return; diff --git a/src/game/src/guild.cpp b/src/game/src/guild.cpp index bbb5ecf..e17358b 100644 --- a/src/game/src/guild.cpp +++ b/src/game/src/guild.cpp @@ -1273,7 +1273,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid) if (ch->IsAffectFlag(AFF_REVIVE_INVISIBLE)) ch->RemoveAffect(AFFECT_REVIVE_INVISIBLE); - if (ch->IsAffectFlag(AFF_EUNHYUNG)) + if (ch->IsAffectFlag(AFF_NINJA_BLADEFIGHT_DISGUISE)) ch->RemoveAffect(SKILL_NINJA_BLADEFIGHT_DISGUISE); double k =1.0*m_data.abySkill[dwRealVnum]/pkSk->bMaxLevel; diff --git a/src/game/src/skill.h b/src/game/src/skill.h index a00b917..2b49c08 100644 --- a/src/game/src/skill.h +++ b/src/game/src/skill.h @@ -57,9 +57,9 @@ enum ESkillIndexes // A SKILL_WAR_MENTAL_BASH = 16, // ±â°øÂü SKILL_WAR_MENTAL_POUNDING, // °Ý»êŸ¿ì - SKILL_WAR_MENTAL_STRONG_BODY, // ´ëÁø°¢ + SKILL_WAR_MENTAL_SWORD_STRIKE, // ´ëÁø°¢ // S - SKILL_WAR_MENTAL_SWORD_STRIKE, // õ±ÙÃß + SKILL_WAR_MENTAL_STRONG_BODY, // õ±ÙÃß SKILL_WAR_MENTAL_AMBUSH, // °Ëdz // ÀÚ°´ ¾Ï»ì °è¿­ diff --git a/src/game/src/trigger.cpp b/src/game/src/trigger.cpp index ceb1a51..4252457 100644 --- a/src/game/src/trigger.cpp +++ b/src/game/src/trigger.cpp @@ -95,12 +95,12 @@ class FuncFindMobVictim if (pkChr->IsDead()) return false; - if (pkChr->IsAffectFlag(AFF_EUNHYUNG) || + if (pkChr->IsAffectFlag(AFF_NINJA_BLADEFIGHT_DISGUISE) || pkChr->IsAffectFlag(AFF_INVISIBILITY) || pkChr->IsAffectFlag(AFF_REVIVE_INVISIBLE)) return false; - if (pkChr->IsAffectFlag(AFF_TERROR) && m_pkChr->IsImmune(IMMUNE_TERROR) == false ) // °øÆ÷ ó¸® + if (pkChr->IsAffectFlag(AFF_SURA_WEAPONRY_FEAR) && m_pkChr->IsImmune(IMMUNE_TERROR) == false ) // °øÆ÷ ó¸® { if ( pkChr->GetLevel() >= m_pkChr->GetLevel() ) return false;