diff --git a/src/game/src/char.cpp b/src/game/src/char.cpp index 3b44242..ef323f9 100644 --- a/src/game/src/char.cpp +++ b/src/game/src/char.cpp @@ -4806,7 +4806,7 @@ void CHARACTER::OnMove(bool bIsAttack) if (IsAffectFlag(AFF_EUNHYUNG)) { - RemoveAffect(SKILL_EUNHYUNG); + RemoveAffect(SKILL_NINJA_BLADEFIGHT_DISGUISE); SetAffectedEunhyung(); } else diff --git a/src/game/src/char_affect.cpp b/src/game/src/char_affect.cpp index 2beb8bd..1596842 100644 --- a/src/game/src/char_affect.cpp +++ b/src/game/src/char_affect.cpp @@ -471,7 +471,7 @@ void CHARACTER::LoadAffect(DWORD dwCount, TPacketAffectElement * pElements) for (DWORD i = 0; i < dwCount; ++i, ++pElements) { // ¹«¿µÁøÀº ·ÎµåÇÏÁö¾Ê´Â´Ù. - if (pElements->dwType == SKILL_MUYEONG) + if (pElements->dwType == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) continue; if (AFFECT_AUTO_HP_RECOVERY == pElements->dwType || AFFECT_AUTO_SP_RECOVERY == pElements->dwType) @@ -657,7 +657,7 @@ void CHARACTER::ComputeAffect(CAffect * pkAff, bool bAdd) else PointChange(pkAff->bApplyOn, -pkAff->lApplyValue); - if (pkAff->dwType == SKILL_MUYEONG) + if (pkAff->dwType == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) { if (bAdd) StartMuyeongEvent(); @@ -745,20 +745,20 @@ void CHARACTER::RemoveGoodAffect() RemoveAffect(AFFECT_CON); RemoveAffect(AFFECT_CHINA_FIREWORK); - RemoveAffect(SKILL_JEONGWI); - RemoveAffect(SKILL_GEOMKYUNG); - RemoveAffect(SKILL_CHUNKEON); - RemoveAffect(SKILL_EUNHYUNG); - RemoveAffect(SKILL_GYEONGGONG); - RemoveAffect(SKILL_GWIGEOM); - RemoveAffect(SKILL_TERROR); - RemoveAffect(SKILL_JUMAGAP); - RemoveAffect(SKILL_MANASHILED); - RemoveAffect(SKILL_HOSIN); - RemoveAffect(SKILL_REFLECT); - RemoveAffect(SKILL_KWAESOK); - RemoveAffect(SKILL_JEUNGRYEOK); - RemoveAffect(SKILL_GICHEON); + RemoveAffect(SKILL_WAR_BODY_BERSERK); + RemoveAffect(SKILL_WAR_BODY_AURA); + RemoveAffect(SKILL_WAR_MENTAL_SWORD_STRIKE); + RemoveAffect(SKILL_NINJA_BLADEFIGHT_DISGUISE); + RemoveAffect(SKILL_NINJA_ARCHERY_FEATHER_WALK); + RemoveAffect(SKILL_SURA_WEAPONRY_ENCHANTED_BLADE); + RemoveAffect(SKILL_SURA_WEAPONRY_FEAR); + RemoveAffect(SKILL_SURA_WEAPONRY_ENCHANTED_ARMOUR); + RemoveAffect(SKILL_SURA_BLACKMAGIC_DARK_PROTECTION); + RemoveAffect(SKILL_SHAMAN_DRAGON_BLESSING); + RemoveAffect(SKILL_SHAMAN_DRAGON_REFLECT); + RemoveAffect(SKILL_SHAMAN_HEALING_SWIFTNESS); + RemoveAffect(SKILL_SHAMAN_HEALING_ATTACK); + RemoveAffect(SKILL_SHAMAN_DRAGON_DRAGONS_AID); } bool CHARACTER::IsGoodAffect(BYTE bAffectType) const @@ -773,20 +773,20 @@ bool CHARACTER::IsGoodAffect(BYTE bAffectType) const case (AFFECT_CON): case (AFFECT_CHINA_FIREWORK): - case (SKILL_JEONGWI): - case (SKILL_GEOMKYUNG): - case (SKILL_CHUNKEON): - case (SKILL_EUNHYUNG): - case (SKILL_GYEONGGONG): - case (SKILL_GWIGEOM): - case (SKILL_TERROR): - case (SKILL_JUMAGAP): - case (SKILL_MANASHILED): - case (SKILL_HOSIN): - case (SKILL_REFLECT): - case (SKILL_KWAESOK): - case (SKILL_JEUNGRYEOK): - case (SKILL_GICHEON): + case (SKILL_WAR_BODY_BERSERK): + case (SKILL_WAR_BODY_AURA): + case (SKILL_WAR_MENTAL_SWORD_STRIKE): + case (SKILL_NINJA_BLADEFIGHT_DISGUISE): + case (SKILL_NINJA_ARCHERY_FEATHER_WALK): + case (SKILL_SURA_WEAPONRY_ENCHANTED_BLADE): + case (SKILL_SURA_WEAPONRY_FEAR): + case (SKILL_SURA_WEAPONRY_ENCHANTED_ARMOUR): + case (SKILL_SURA_BLACKMAGIC_DARK_PROTECTION): + case (SKILL_SHAMAN_DRAGON_BLESSING): + case (SKILL_SHAMAN_DRAGON_REFLECT): + case (SKILL_SHAMAN_HEALING_SWIFTNESS): + case (SKILL_SHAMAN_HEALING_ATTACK): + case (SKILL_SHAMAN_DRAGON_DRAGONS_AID): return true; } return false; @@ -806,7 +806,7 @@ void CHARACTER::RemoveBadAffect() RemoveAffect(AFFECT_SLOW); // Åõ¼Ó¸¶·É - RemoveAffect(SKILL_TUSOK); + RemoveAffect(SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE); // ÀúÁÖ //RemoveAffect(SKILL_CURSE); diff --git a/src/game/src/char_battle.cpp b/src/game/src/char_battle.cpp index 86056c9..089ebec 100644 --- a/src/game/src/char_battle.cpp +++ b/src/game/src/char_battle.cpp @@ -1661,7 +1661,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu { if (IsAffectFlag(AFF_TERROR)) { - int pct = GetSkillPower(SKILL_TERROR) / 400; + int pct = GetSkillPower(SKILL_SURA_WEAPONRY_FEAR) / 400; if (Random::get(1, 100) <= pct) return false; @@ -1817,10 +1817,10 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu } if (IsAffectFlag(AFF_JEONGWIHON)) - dam = (int) (dam * (100 + GetSkillPower(SKILL_JEONGWI) * 25 / 100) / 100); + dam = (int) (dam * (100 + GetSkillPower(SKILL_WAR_BODY_BERSERK) * 25 / 100) / 100); if (IsAffectFlag(AFF_TERROR)) - dam = (int) (dam * (95 - GetSkillPower(SKILL_TERROR) / 5) / 100); + dam = (int) (dam * (95 - GetSkillPower(SKILL_SURA_WEAPONRY_FEAR) / 5) / 100); if (IsAffectFlag(AFF_HOSIN)) dam = dam * (100 - GetPoint(POINT_RESIST_NORMAL_DAMAGE)) / 100; @@ -2941,7 +2941,7 @@ class CFuncShoot } break; - case SKILL_YEONSA: // ¿¬»ç + case SKILL_NINJA_ARCHERY_REPETITIVE_SHOT: // ¿¬»ç { //int iUseArrow = 2 + (m_me->GetSkillPower(SKILL_YEONSA) *6/100); int iUseArrow = 1; @@ -2970,7 +2970,7 @@ class CFuncShoot break; - case SKILL_KWANKYEOK: + case SKILL_NINJA_ARCHERY_ARROW_SHOWER: { int iUseArrow = 1; @@ -2989,7 +2989,7 @@ class CFuncShoot } break; - case SKILL_GIGUNG: + case SKILL_NINJA_ARCHERY_POISON_ARROW: { int iUseArrow = 1; if (iUseArrow == m_me->GetArrowAndBow(&pkBow, &pkArrow, iUseArrow)) @@ -3007,7 +3007,7 @@ class CFuncShoot } break; - case SKILL_HWAJO: + case SKILL_NINJA_ARCHERY_FIRE_ARROW: { int iUseArrow = 1; if (iUseArrow == m_me->GetArrowAndBow(&pkBow, &pkArrow, iUseArrow)) @@ -3045,15 +3045,15 @@ class CFuncShoot break; - case SKILL_MARYUNG: + case SKILL_SURA_BLACKMAGIC_DARK_STRIKE: //case SKILL_GUMHWAN: - case SKILL_TUSOK: - case SKILL_BIPABU: - case SKILL_NOEJEON: - case SKILL_GEOMPUNG: - case SKILL_SANGONG: - case SKILL_MAHWAN: - case SKILL_PABEOB: + case SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE: + case SKILL_SHAMAN_DRAGON_FLYING_TALISMAN: + case SKILL_SHAMAN_HEALING_LIGHTNING_THROW: + case SKILL_WAR_MENTAL_AMBUSH: + case SKILL_NINJA_BLADEFIGHT_POISONOUS_CLOUD: + case SKILL_SURA_BLACKMAGIC_DARK_ORB: + case SKILL_SURA_WEAPONRY_DISPEL: //case SKILL_CURSE: { m_me->OnMove(true); @@ -3067,7 +3067,7 @@ class CFuncShoot } break; - case SKILL_CHAIN: + case SKILL_SHAMAN_HEALING_LIGHTNING_CLAW: { m_me->OnMove(true); pkVictim->OnMove(); @@ -3082,7 +3082,7 @@ class CFuncShoot } break; - case SKILL_YONGBI: + case SKILL_SHAMAN_DRAGON_SHOOTING_DRAGON: { m_me->OnMove(true); } diff --git a/src/game/src/char_item.cpp b/src/game/src/char_item.cpp index 0992df7..099a31c 100644 --- a/src/game/src/char_item.cpp +++ b/src/game/src/char_item.cpp @@ -478,10 +478,10 @@ void CHARACTER::SetWear(BYTE bCell, LPITEM item) { // ±Í°Ë »ç¿ë ½Ã ¹þ´Â °ÍÀ̶ó¸é È¿°ú¸¦ ¾ø¾Ö¾ß ÇÑ´Ù. if (IsAffectFlag(AFF_GWIGUM)) - RemoveAffect(SKILL_GWIGEOM); + RemoveAffect(SKILL_SURA_WEAPONRY_ENCHANTED_BLADE); if (IsAffectFlag(AFF_GEOMGYEONG)) - RemoveAffect(SKILL_GEOMKYUNG); + RemoveAffect(SKILL_WAR_BODY_AURA); } } @@ -7277,7 +7277,7 @@ void CHARACTER::AutoRecoveryItemProcess(const EAffectTypes type) return; { - const DWORD stunSkills[] = { SKILL_TANHWAN, SKILL_GEOMPUNG, SKILL_BYEURAK, SKILL_GIGUNG }; + const DWORD stunSkills[] = { SKILL_WAR_BODY_DASH, SKILL_WAR_MENTAL_AMBUSH, SKILL_SHAMAN_HEALING_SUMMON_LIGHTNING, SKILL_NINJA_ARCHERY_POISON_ARROW }; for (size_t i=0 ; i < sizeof(stunSkills)/sizeof(DWORD) ; ++i) { diff --git a/src/game/src/char_skill.cpp b/src/game/src/char_skill.cpp index c2fb144..d36674e 100644 --- a/src/game/src/char_skill.cpp +++ b/src/game/src/char_skill.cpp @@ -68,7 +68,7 @@ bool TSkillUseInfo::HitOnce(DWORD dwVnum) SPDLOG_DEBUG("__HitOnce NextUse {} current {} count {} scount {}", dwNextSkillUsableTime, get_dword_time(), iHitCount, iSplashCount); - if (dwNextSkillUsableTime && dwNextSkillUsableTime(SKILL_MAX_LEVEL, GetSkillLevel(SKILL_CHAIN))]; + return aiChainLightningCountBySkillLevel[std::min(SKILL_MAX_LEVEL, GetSkillLevel(SKILL_SHAMAN_HEALING_LIGHTNING_CLAW))]; } void CHARACTER::SetAffectedEunhyung() { - m_dwAffectedEunhyungLevel = GetSkillPower(SKILL_EUNHYUNG); + m_dwAffectedEunhyungLevel = GetSkillPower(SKILL_NINJA_BLADEFIGHT_DISGUISE); } void CHARACTER::SetSkillGroup(BYTE bSkillGroup) @@ -1017,7 +1017,7 @@ EVENTFUNC(ChainLightningEvent) if (pkTarget) { pkChrVictim->CreateFly(FLY_CHAIN_LIGHTNING, pkTarget); - pkChr->ComputeSkill(SKILL_CHAIN, pkTarget); + pkChr->ComputeSkill(SKILL_SHAMAN_HEALING_LIGHTNING_CLAW, pkTarget); pkChr->AddChainLightningExcept(pkTarget); } else @@ -1092,7 +1092,7 @@ struct FuncSplashDamage if (m_pkChr->IsPC()) // ±æµå ½ºÅ³Àº ÄðŸÀÓ Ã³¸®¸¦ ÇÏÁö ¾Ê´Â´Ù. if (!(m_pkSk->dwVnum >= GUILD_SKILL_START && m_pkSk->dwVnum <= GUILD_SKILL_END)) - if (!m_bDisableCooltime && m_pInfo && !m_pInfo->HitOnce(m_pkSk->dwVnum) && m_pkSk->dwVnum != SKILL_MUYEONG) + if (!m_bDisableCooltime && m_pInfo && !m_pInfo->HitOnce(m_pkSk->dwVnum) && m_pkSk->dwVnum != SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) { SPDLOG_TRACE("check guild skill {}", m_pkChr->GetName()); return; @@ -1183,7 +1183,7 @@ struct FuncSplashDamage //////////////////////////////////////////////////////////////////////////////// iAmount = -iAmount; - if (m_pkSk->dwVnum == SKILL_AMSEOP) + if (m_pkSk->dwVnum == SKILL_NINJA_BLADEFIGHT_AMBUSH) { float fDelta = GetDegreeDelta(m_pkChr->GetRotation(), pkChrVictim->GetRotation()); float adjust; @@ -1220,7 +1220,7 @@ struct FuncSplashDamage iAmount = (int) (iAmount * adjust); } - else if (m_pkSk->dwVnum == SKILL_GUNGSIN) + else if (m_pkSk->dwVnum == SKILL_NINJA_BLADEFIGHT_FAST_ATTACK) { float adjust = 1.0; @@ -1346,7 +1346,7 @@ struct FuncSplashDamage if (pkChrVictim->CanBeginFight()) pkChrVictim->BeginFight(m_pkChr); - if (m_pkSk->dwVnum == SKILL_CHAIN) + if (m_pkSk->dwVnum == SKILL_SHAMAN_HEALING_LIGHTNING_CLAW) SPDLOG_DEBUG("{} CHAIN INDEX {} DAM {} DT {}", m_pkChr->GetName(), m_pkChr->GetChainLightningIndex() - 1, iDam, (int) dt); { @@ -1354,14 +1354,14 @@ struct FuncSplashDamage switch (m_pkSk->dwVnum) { - case SKILL_TANHWAN: AntiSkillID = SKILL_7_A_ANTI_TANHWAN; break; - case SKILL_AMSEOP: AntiSkillID = SKILL_7_B_ANTI_AMSEOP; break; - case SKILL_SWAERYUNG: AntiSkillID = SKILL_7_C_ANTI_SWAERYUNG; break; - case SKILL_YONGBI: AntiSkillID = SKILL_7_D_ANTI_YONGBI; break; - case SKILL_GIGONGCHAM: AntiSkillID = SKILL_8_A_ANTI_GIGONGCHAM; break; - case SKILL_YEONSA: AntiSkillID = SKILL_8_B_ANTI_YEONSA; break; - case SKILL_MAHWAN: AntiSkillID = SKILL_8_C_ANTI_MAHWAN; break; - case SKILL_BYEURAK: AntiSkillID = SKILL_8_D_ANTI_BYEURAK; break; + case SKILL_WAR_BODY_DASH: AntiSkillID = SKILL_7_A_ANTI_TANHWAN; break; + case SKILL_NINJA_BLADEFIGHT_AMBUSH: AntiSkillID = SKILL_7_B_ANTI_AMSEOP; break; + case SKILL_SURA_WEAPONRY_FINGER_STRIKE: AntiSkillID = SKILL_7_C_ANTI_SWAERYUNG; break; + case SKILL_SHAMAN_DRAGON_SHOOTING_DRAGON: AntiSkillID = SKILL_7_D_ANTI_YONGBI; break; + case SKILL_WAR_MENTAL_BASH: AntiSkillID = SKILL_8_A_ANTI_GIGONGCHAM; break; + case SKILL_NINJA_ARCHERY_REPETITIVE_SHOT: AntiSkillID = SKILL_8_B_ANTI_YEONSA; break; + case SKILL_SURA_BLACKMAGIC_DARK_ORB: AntiSkillID = SKILL_8_C_ANTI_MAHWAN; break; + case SKILL_SHAMAN_HEALING_SUMMON_LIGHTNING: AntiSkillID = SKILL_8_D_ANTI_BYEURAK; break; } if (0 != AntiSkillID) @@ -1505,7 +1505,7 @@ struct FuncSplashDamage m_pkChr->PointChange(POINT_SP, iDam * iPct / 100); } - if (m_pkSk->dwVnum == SKILL_CHAIN && m_pkChr->GetChainLightningIndex() < m_pkChr->GetChainLightningMaxCount()) + if (m_pkSk->dwVnum == SKILL_SHAMAN_HEALING_LIGHTNING_CLAW && m_pkChr->GetChainLightningIndex() < m_pkChr->GetChainLightningMaxCount()) { chain_lightning_event_info* info = AllocEventInfo(); @@ -1563,11 +1563,11 @@ struct FuncSplashAffect if (DISTANCE_APPROX(m_x - pkChr->GetX(), m_y - pkChr->GetY()) < m_iDist) { SPDLOG_TRACE("FuncSplashAffect step 2 : name:{} vnum:{} iDur:{}", pkChr->GetName(), m_dwVnum, m_iDuration); - if (m_dwVnum == SKILL_TUSOK) + if (m_dwVnum == SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE) if (pkChr->CanBeginFight()) pkChr->BeginFight(m_pkChrAttacker); - if (pkChr->IsPC() && m_dwVnum == SKILL_TUSOK) + if (pkChr->IsPC() && m_dwVnum == SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE) pkChr->AddAffect(m_dwVnum, m_bPointOn, m_iAmount, m_dwAffectFlag, m_iDuration/3, m_iSPCost, m_bOverride); else pkChr->AddAffect(m_dwVnum, m_bPointOn, m_iAmount, m_dwAffectFlag, m_iDuration, m_iSPCost, m_bOverride); @@ -1795,7 +1795,7 @@ int CHARACTER::ComputeSkillAtPosition(DWORD dwVnum, const PIXEL_POSITION& posTar if (IsPC()) if (!(dwVnum >= GUILD_SKILL_START && dwVnum <= GUILD_SKILL_END)) // ±æµå ½ºÅ³Àº ÄðŸÀÓ Ã³¸®¸¦ ÇÏÁö ¾Ê´Â´Ù. - if (!m_bDisableCooltime && !m_SkillUseInfo[dwVnum].HitOnce(dwVnum) && dwVnum != SKILL_MUYEONG) + if (!m_bDisableCooltime && !m_SkillUseInfo[dwVnum].HitOnce(dwVnum) && dwVnum != SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) { return BATTLE_NONE; } @@ -2108,7 +2108,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel // END_OF_REMOVE_BAD_AFFECT_BUG_FIX if (IS_SET(pkSk->dwFlag, SKILL_FLAG_ATTACK | SKILL_FLAG_USE_MELEE_DAMAGE | SKILL_FLAG_USE_MAGIC_DAMAGE) && - !(pkSk->dwVnum == SKILL_MUYEONG && pkVictim == this) && !(pkSk->IsChargeSkill() && pkVictim == this)) + !(pkSk->dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT && pkVictim == this) && !(pkSk->IsChargeSkill() && pkVictim == this)) { bool bAdded = false; @@ -2136,7 +2136,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel if (IsPC()) if (!(dwVnum >= GUILD_SKILL_START && dwVnum <= GUILD_SKILL_END)) // ±æµå ½ºÅ³Àº ÄðŸÀÓ Ã³¸®¸¦ ÇÏÁö ¾Ê´Â´Ù. - if (!m_bDisableCooltime && !m_SkillUseInfo[dwVnum].HitOnce(dwVnum) && dwVnum != SKILL_MUYEONG) + if (!m_bDisableCooltime && !m_SkillUseInfo[dwVnum].HitOnce(dwVnum) && dwVnum != SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) { return BATTLE_NONE; } @@ -2222,7 +2222,7 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel } else { - if (dwVnum == SKILL_MUYEONG) + if (dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) { pkSk->kDurationPoly.SetVar("k", k/*bSkillLevel*/); pkSk->kDurationSPCostPoly.SetVar("k", k/*bSkillLevel*/); @@ -2280,12 +2280,12 @@ int CHARACTER::ComputeSkill(DWORD dwVnum, LPCHARACTER pkVictim, BYTE bSkillLevel //if (g_iUseLocale) if ( !LC_IsYMIR() ) { - if ((pkSk->dwVnum == SKILL_CHUNKEON && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_GRAND_MASTER)) + if ((pkSk->dwVnum == SKILL_WAR_MENTAL_SWORD_STRIKE && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_GRAND_MASTER)) affact_flag = AFF_CHEONGEUN_WITH_FALL; } else { - if ((pkSk->dwVnum == SKILL_CHUNKEON && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_MASTER)) + if ((pkSk->dwVnum == SKILL_WAR_MENTAL_SWORD_STRIKE && GetUsedSkillMasterType(pkSk->dwVnum) < SKILL_MASTER)) affact_flag = AFF_CHEONGEUN_WITH_FALL; } // END_OF_ADD_GRANDMASTER_SKILL @@ -2493,7 +2493,7 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste } // Toggle ÇÒ ¶§´Â SP¸¦ ¾²Áö ¾ÊÀ½ (SelfOnly·Î ±¸ºÐ) - if ((0 != pkSk->dwAffectFlag || pkSk->dwVnum == SKILL_MUYEONG) && (pkSk->dwFlag & SKILL_FLAG_TOGGLE) && RemoveAffect(pkSk->dwVnum)) + if ((0 != pkSk->dwAffectFlag || pkSk->dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT) && (pkSk->dwFlag & SKILL_FLAG_TOGGLE) && RemoveAffect(pkSk->dwVnum)) { return true; } @@ -2515,7 +2515,7 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste DWORD dwCur = get_dword_time(); - if (dwVnum == SKILL_TERROR && m_SkillUseInfo[dwVnum].bUsed && m_SkillUseInfo[dwVnum].dwNextSkillUsableTime > dwCur ) + if (dwVnum == SKILL_SURA_WEAPONRY_FEAR && m_SkillUseInfo[dwVnum].bUsed && m_SkillUseInfo[dwVnum].dwNextSkillUsableTime > dwCur ) { SPDLOG_DEBUG(" SKILL_TERROR's Cooltime is not delta over {}", m_SkillUseInfo[dwVnum].dwNextSkillUsableTime - dwCur ); 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_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim) + if (pkSk->dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim) { // óÀ½ »ç¿ëÇÏ´Â ¹«¿µÁøÀº Àڽſ¡°Ô Affect¸¦ ºÙÀδÙ. pkVictim = this; @@ -2593,7 +2593,7 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste } } - if (dwVnum == SKILL_CHAIN) + if (dwVnum == SKILL_SHAMAN_HEALING_LIGHTNING_CLAW) { ResetChainLightningIndex(); AddChainLightningExcept(pkVictim); @@ -2604,9 +2604,9 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste ComputeSkill(dwVnum, this); else if (!IS_SET(pkSk->dwFlag, SKILL_FLAG_ATTACK)) ComputeSkill(dwVnum, pkVictim); - else if (dwVnum == SKILL_BYEURAK) + else if (dwVnum == SKILL_SHAMAN_HEALING_SUMMON_LIGHTNING) ComputeSkill(dwVnum, pkVictim); - else if (dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill()) + else if (dwVnum == SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT || pkSk->IsChargeSkill()) ComputeSkill(dwVnum, pkVictim); m_dwLastSkillTime = get_dword_time(); @@ -2717,7 +2717,7 @@ EVENTFUNC(skill_muyoung_event) if (f.GetVictim()) { ch->CreateFly(FLY_SKILL_MUYEONG, f.GetVictim()); - ch->ComputeSkill(SKILL_MUYEONG, f.GetVictim()); + ch->ComputeSkill(SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT, f.GetVictim()); } } @@ -3522,10 +3522,10 @@ bool CHARACTER::CheckSkillHitCount(const BYTE SkillID, const VID TargetVID) switch (SkillID) { - case SKILL_YONGKWON: - case SKILL_HWAYEOMPOK: - case SKILL_DAEJINGAK: - case SKILL_PAERYONG: + case SKILL_SURA_WEAPONRY_DRAGON_SWIRL: + case SKILL_SURA_BLACKMAGIC_FLAME_STRIKE: + case SKILL_WAR_MENTAL_STRONG_BODY: + case SKILL_SHAMAN_DRAGON_DRAGONS_ROAR: SPDLOG_WARN("SkillHack: cannot use attack packet for skill({})", SkillID); return false; } @@ -3538,8 +3538,8 @@ bool CHARACTER::CheckSkillHitCount(const BYTE SkillID, const VID TargetVID) switch (SkillID) { - case SKILL_SAMYEON: - case SKILL_CHARYUN: + case SKILL_WAR_BODY_THREE_WAY_CUT: + case SKILL_NINJA_BLADEFIGHT_ROLLING_DAGGER: MaxAttackCountPerTarget = 3; break; @@ -3547,7 +3547,7 @@ bool CHARACTER::CheckSkillHitCount(const BYTE SkillID, const VID TargetVID) MaxAttackCountPerTarget = 5; break; - case SKILL_YEONSA: + case SKILL_NINJA_ARCHERY_REPETITIVE_SHOT: MaxAttackCountPerTarget = 7; break; diff --git a/src/game/src/guild.cpp b/src/game/src/guild.cpp index a0eed4a..bbb5ecf 100644 --- a/src/game/src/guild.cpp +++ b/src/game/src/guild.cpp @@ -1274,7 +1274,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid) ch->RemoveAffect(AFFECT_REVIVE_INVISIBLE); if (ch->IsAffectFlag(AFF_EUNHYUNG)) - ch->RemoveAffect(SKILL_EUNHYUNG); + ch->RemoveAffect(SKILL_NINJA_BLADEFIGHT_DISGUISE); double k =1.0*m_data.abySkill[dwRealVnum]/pkSk->bMaxLevel; pkSk->kSPCostPoly.SetVar("k", k); diff --git a/src/game/src/input_main.cpp b/src/game/src/input_main.cpp index dd137e6..2136cfe 100644 --- a/src/game/src/input_main.cpp +++ b/src/game/src/input_main.cpp @@ -1704,19 +1704,19 @@ void CInputMain::Attack(LPCHARACTER ch, const BYTE header, const char* data) switch (type->type) { - case SKILL_GEOMPUNG: - case SKILL_SANGONG: - case SKILL_YEONSA: - case SKILL_KWANKYEOK: - case SKILL_HWAJO: - case SKILL_GIGUNG: - case SKILL_PABEOB: - case SKILL_MARYUNG: - case SKILL_TUSOK: - case SKILL_MAHWAN: - case SKILL_BIPABU: - case SKILL_NOEJEON: - case SKILL_CHAIN: + case SKILL_WAR_MENTAL_AMBUSH: + case SKILL_NINJA_BLADEFIGHT_POISONOUS_CLOUD: + case SKILL_NINJA_ARCHERY_REPETITIVE_SHOT: + case SKILL_NINJA_ARCHERY_ARROW_SHOWER: + case SKILL_NINJA_ARCHERY_FIRE_ARROW: + case SKILL_NINJA_ARCHERY_POISON_ARROW: + case SKILL_SURA_WEAPONRY_DISPEL: + case SKILL_SURA_BLACKMAGIC_DARK_STRIKE: + case SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE: + case SKILL_SURA_BLACKMAGIC_DARK_ORB: + case SKILL_SHAMAN_DRAGON_FLYING_TALISMAN: + case SKILL_SHAMAN_HEALING_LIGHTNING_THROW: + case SKILL_SHAMAN_HEALING_LIGHTNING_CLAW: case SKILL_HORSE_WILDATTACK_RANGE: if (HEADER_CG_SHOOT != type->header) { diff --git a/src/game/src/skill.h b/src/game/src/skill.h index 824890e..510544c 100644 --- a/src/game/src/skill.h +++ b/src/game/src/skill.h @@ -46,80 +46,80 @@ enum ESkillIndexes // ¹«»ç Àü»ç °è¿­ // A - SKILL_SAMYEON = 1, // »ï¿¬Âü(¼¼¹øº£±â) - SKILL_PALBANG, // Æȹædz¿ì + SKILL_WAR_BODY_THREE_WAY_CUT = 1, // »ï¿¬Âü(¼¼¹øº£±â) + SKILL_WAR_BODY_SWORD_SPIN, // Æȹædz¿ì // S - SKILL_JEONGWI, // Àü±ÍÈ¥ - SKILL_GEOMKYUNG, // °Ë°æ - SKILL_TANHWAN, // źȯ°Ý + SKILL_WAR_BODY_BERSERK, // Àü±ÍÈ¥ + SKILL_WAR_BODY_AURA, // °Ë°æ + SKILL_WAR_BODY_DASH, // źȯ°Ý // ¹«»ç ±â°ø °è¿­ // A - SKILL_GIGONGCHAM = 16, // ±â°øÂü - SKILL_GYOKSAN, // °Ý»êŸ¿ì - SKILL_DAEJINGAK, // ´ëÁø°¢ + SKILL_WAR_MENTAL_BASH = 16, // ±â°øÂü + SKILL_WAR_MENTAL_POUNDING, // °Ý»êŸ¿ì + SKILL_WAR_MENTAL_STRONG_BODY, // ´ëÁø°¢ // S - SKILL_CHUNKEON, // õ±ÙÃß - SKILL_GEOMPUNG, // °Ëdz + SKILL_WAR_MENTAL_SWORD_STRIKE, // õ±ÙÃß + SKILL_WAR_MENTAL_AMBUSH, // °Ëdz // ÀÚ°´ ¾Ï»ì °è¿­ // A - SKILL_AMSEOP = 31, // ¾Ï½À - SKILL_GUNGSIN, // ±Ã½Åź¿µ - SKILL_CHARYUN, // Â÷·û»ì + SKILL_NINJA_BLADEFIGHT_AMBUSH = 31, // ¾Ï½À + SKILL_NINJA_BLADEFIGHT_FAST_ATTACK, // ±Ã½Åź¿µ + SKILL_NINJA_BLADEFIGHT_ROLLING_DAGGER, // Â÷·û»ì // S - SKILL_EUNHYUNG, // ÀºÇü¹ý - SKILL_SANGONG, // »ê°øºÐ + SKILL_NINJA_BLADEFIGHT_DISGUISE, // ÀºÇü¹ý + SKILL_NINJA_BLADEFIGHT_POISONOUS_CLOUD, // »ê°øºÐ // ÀÚ°´ ±Ã¼ö °è¿­ // A - SKILL_YEONSA = 46, // ¿¬»ç - SKILL_KWANKYEOK, // °ü°Ý¼ú - SKILL_HWAJO, // È­Á¶ÆÄ + SKILL_NINJA_ARCHERY_REPETITIVE_SHOT = 46, // ¿¬»ç + SKILL_NINJA_ARCHERY_ARROW_SHOWER, // °ü°Ý¼ú + SKILL_NINJA_ARCHERY_FIRE_ARROW, // È­Á¶ÆÄ // S - SKILL_GYEONGGONG, // °æ°ø¼ú - SKILL_GIGUNG, // ±â±Ã + SKILL_NINJA_ARCHERY_FEATHER_WALK, // °æ°ø¼ú + SKILL_NINJA_ARCHERY_POISON_ARROW, // ±â±Ã // ¼ö¶ó °Ë // A - SKILL_SWAERYUNG = 61, // ¼â·ÉÁö - SKILL_YONGKWON, // ¿ë±ÇÆÄ + SKILL_SURA_WEAPONRY_FINGER_STRIKE = 61, // ¼â·ÉÁö + SKILL_SURA_WEAPONRY_DRAGON_SWIRL, // ¿ë±ÇÆÄ // S - SKILL_GWIGEOM, // ±Í°Ë - SKILL_TERROR, // °øÆ÷ - SKILL_JUMAGAP, // ÁÖ¸¶°© - SKILL_PABEOB, // ÆĹý¼ú + SKILL_SURA_WEAPONRY_ENCHANTED_BLADE, // ±Í°Ë + SKILL_SURA_WEAPONRY_FEAR, // °øÆ÷ + SKILL_SURA_WEAPONRY_ENCHANTED_ARMOUR, // ÁÖ¸¶°© + SKILL_SURA_WEAPONRY_DISPEL, // ÆĹý¼ú // ¼ö¶ó ¸¶¹ý // A - SKILL_MARYUNG = 76, // ¸¶·É - SKILL_HWAYEOMPOK, // È­¿°Æø - SKILL_MUYEONG, // ¹«¿µÁø + SKILL_SURA_BLACKMAGIC_DARK_STRIKE = 76, // ¸¶·É + SKILL_SURA_BLACKMAGIC_FLAME_STRIKE, // È­¿°Æø + SKILL_SURA_BLACKMAGIC_FLAME_SPIRIT, // ¹«¿µÁø // S - SKILL_MANASHILED, // Èæ½Å¼öÈ£ - SKILL_TUSOK, // Åõ¼Ó¸¶·É - SKILL_MAHWAN, // ¸¶È¯°Ý + SKILL_SURA_BLACKMAGIC_DARK_PROTECTION, // Èæ½Å¼öÈ£ + SKILL_SURA_BLACKMAGIC_SPIRIT_STRIKE, // Åõ¼Ó¸¶·É + SKILL_SURA_BLACKMAGIC_DARK_ORB, // ¸¶È¯°Ý // ¹«´ç ¿ë½Å // A - SKILL_BIPABU = 91, - SKILL_YONGBI, // ¿ëºñ±¤»çÆÄ - SKILL_PAERYONG, // Æз泪Çѹ« + SKILL_SHAMAN_DRAGON_FLYING_TALISMAN = 91, + SKILL_SHAMAN_DRAGON_SHOOTING_DRAGON, // ¿ëºñ±¤»çÆÄ + SKILL_SHAMAN_DRAGON_DRAGONS_ROAR, // Æз泪Çѹ« // S //SKILL_BUDONG, // ºÎµ¿¹ÚºÎ - SKILL_HOSIN, // È£½Å - SKILL_REFLECT, // º¸È£ - SKILL_GICHEON, // ±âõ´ë°ø + SKILL_SHAMAN_DRAGON_BLESSING, // È£½Å + SKILL_SHAMAN_DRAGON_REFLECT, // º¸È£ + SKILL_SHAMAN_DRAGON_DRAGONS_AID, // ±âõ´ë°ø // ¹«´ç ³ú½Å // A - SKILL_NOEJEON = 106, // ³úÀü·É - SKILL_BYEURAK, // º­¶ô - SKILL_CHAIN, // üÀζóÀÌÆ®´× + SKILL_SHAMAN_HEALING_LIGHTNING_THROW = 106, // ³úÀü·É + SKILL_SHAMAN_HEALING_SUMMON_LIGHTNING, // º­¶ô + SKILL_SHAMAN_HEALING_LIGHTNING_CLAW, // üÀζóÀÌÆ®´× // S - SKILL_JEONGEOP, // Á¤¾÷ÀÎ - SKILL_KWAESOK, // À̵¿¼Óµµ¾÷ - SKILL_JEUNGRYEOK, // Áõ·Â¼ú + SKILL_SHAMAN_HEALING_CURE, // Á¤¾÷ÀÎ + SKILL_SHAMAN_HEALING_SWIFTNESS, // À̵¿¼Óµµ¾÷ + SKILL_SHAMAN_HEALING_ATTACK, // Áõ·Â¼ú // °øÅë ½ºÅ³ // 7 @@ -215,7 +215,7 @@ class CSkillProto bool IsChargeSkill() { - return dwVnum == SKILL_TANHWAN || dwVnum == SKILL_HORSE_CHARGE; + return dwVnum == SKILL_WAR_BODY_DASH || dwVnum == SKILL_HORSE_CHARGE; } // 3Â÷ Àû¿ë