Implemented SH_MYSTICAL_CREATURE_MASTERY

Mystical Creature Mastery
MAX Lv: 10
Skill Form: Passive
Description: By communicating with mystical creatures, increases P.Atk, S.Matk and the effectiveness of mystical creatures skills.
_
[Level 1]: P.Atk/S.Matk +1
[Level 2]: P.Atk/S.Matk +3
[Level 3]: P.Atk/S.Matk +4
[Level 4]: P.Atk/S.Matk +6
[Level 5]: P.Atk/S.Matk +7
[Level 6]: P.Atk/S.Matk +9
[Level 7]: P.Atk/S.Matk +10
[Level 8]: P.Atk/S.Matk +12
[Level 9]: P.Atk/S.Matk +13
[Level 10]: P.Atk/S.Matk +15
This commit is contained in:
Atemo 2023-10-28 13:01:23 +02:00
parent 16de2a89c4
commit de98f5402e
3 changed files with 9 additions and 1 deletions

View File

@ -41389,6 +41389,10 @@ Body:
SplashArea: 6 SplashArea: 6
Requires: Requires:
SpCost: 1 SpCost: 1
- Id: 5433
Name: SH_MYSTICAL_CREATURE_MASTERY
Description: Mystical Creature Mastery
MaxLevel: 10
- Id: 6001 - Id: 6001
Name: DK_DRAGONIC_BREATH Name: DK_DRAGONIC_BREATH
Description: Dragonic Breath Description: Dragonic Breath

View File

@ -7870,7 +7870,6 @@ Body:
Tree: Tree:
- Name: SH_MYSTICAL_CREATURE_MASTERY - Name: SH_MYSTICAL_CREATURE_MASTERY
MaxLevel: 10 MaxLevel: 10
Requires:
- Name: SH_CHUL_HO_SONIC_CLAW - Name: SH_CHUL_HO_SONIC_CLAW
MaxLevel: 7 MaxLevel: 7
Requires: Requires:

View File

@ -4371,6 +4371,11 @@ int status_calc_pc_sub(map_session_data* sd, uint8 opt)
base_status->smatk += skill * 2; base_status->smatk += skill * 2;
} }
if ((skill = pc_checkskill(sd, SH_MYSTICAL_CREATURE_MASTERY)) > 0) {
base_status->smatk += 1 + (skill - 1) * 15 / 10 + ((skill - 1) * 15 % 10 ? 1 : 0);
base_status->patk += 1 + (skill - 1) * 15 / 10 + ((skill - 1) * 15 % 10 ? 1 : 0);
}
// ----- PHYSICAL RESISTANCE CALCULATION ----- // ----- PHYSICAL RESISTANCE CALCULATION -----
if ((skill = pc_checkskill_imperial_guard(sd, 1)) > 0)// IG_SHIELD_MASTERY if ((skill = pc_checkskill_imperial_guard(sd, 1)) > 0)// IG_SHIELD_MASTERY
base_status->res += skill * 3; base_status->res += skill * 3;