Implemented SH_HYUN_ROK_CANNON (2nd rebalance)

MAX Lv: 7
Skill Requirement: Mystical Creature Mastery 5, Hyunrok Breeze 3
Skill Form: Active
Type: Magic
Target: Single target
Recovery: AP 1 (2 if Commune With Hyunrok is learned)
Description: Using the mysterious magical power of Hyunrok, fires the powerful magic cannon to the target.
Deals additional damage depends on level of Mystical Creature Mastery user learned, user's base level and SPL.
If the user learned Commune With Hyunrok, increases skill damage and increases AP recovery amount.
Damage property can be changed according to Colors of Hyunrok.
_
[Level 1]: (2600 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (2900 + (Mystical Creature level x 75))% Matk.
[Level 2]: (4150 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (4750 + (Mystical Creature level x 75))% Matk.
[Level 3]: (5700 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (6600 + (Mystical Creature level x 75))% Matk.
[Level 4]: (7250 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (8450 + (Mystical Creature level x 75))% Matk.
[Level 5]: (8800 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (10300 + (Mystical Creature level x 75))% Matk.
[Level 6]: (10350 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (12150 + (Mystical Creature level x 75))% Matk.
[Level 7]: (11900 + (Mystical Creature level x 50))% Matk.
Commune With Hyunrok: (14000 + (Mystical Creature level x 75))% Matk.

1st rebalance :
- Removes 0.5 seconds delay after skill.
- Increases SP consumption from 62 to 74 based on level 7.
- Increases damage from 3400%/4400%(Commune With Hyunrok)Matk to 7300%/8500%(Commune With Hyunrok)Matk based on level 7.

2nd rebalance :
- Increases cast range from 9 cells to 11 cells.
- Reduces SP consumption from 74 to 65 based on level 7.
- Increases base damage from 7350%/8500%Matk to 11900%/14000%Matk based on level 7.
This commit is contained in:
Atemo 2023-10-28 17:35:21 +02:00
parent 750a5af89e
commit b09a53cfe1
3 changed files with 49 additions and 0 deletions

View File

@ -41796,6 +41796,37 @@ Body:
Flag:
NoOverlap: true
PathCheck: true
- Id: 5446
Name: SH_HYUN_ROK_CANNON
Description: Hyunrok Cannon
MaxLevel: 7
Type: Magic
TargetType: Attack
Range: -11
GiveAp: 1
Hit: Multi_Hit
HitCount: 1
Element: Endowed
CastCancel: true
CastTime: 2000
Cooldown: 300
FixedCastTime: 1500
Requires:
SpCost:
- Level: 1
Amount: 47
- Level: 2
Amount: 50
- Level: 3
Amount: 53
- Level: 4
Amount: 56
- Level: 5
Amount: 59
- Level: 6
Amount: 62
- Level: 7
Amount: 65
- Id: 5447
Name: SH_TEMPORARY_COMMUNION
Description: Temporary Communion

View File

@ -8185,6 +8185,19 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
RE_LVL_DMOD(100);
break;
}
case SH_HYUN_ROK_CANNON: {
int tmp_val = (sd ? pc_checkskill(sd, SH_MYSTICAL_CREATURE_MASTERY) : 0);
skillratio += -100 + 1050 + 1550 * skill_lv;
skillratio += 50 * tmp_val;
skillratio += 5 * sstatus->spl;
if ((sd && pc_checkskill(sd, SH_COMMUNE_WITH_HYUN_ROK)) || (sc && sc->getSCE(SC_TEMPORARY_COMMUNION))) {
skillratio += 300 * skill_lv;
skillratio += 25 * tmp_val;
}
RE_LVL_DMOD(100);
break;
}
}
if (sc) {// Insignia's increases the damage of offensive magic by a fixed percentage depending on the element.

View File

@ -6125,6 +6125,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, uint
case IG_JUDGEMENT_CROSS:
case TR_SOUNDBLEND:
case SH_HYUN_ROK_CANNON:
clif_skill_nodamage(src, bl, skill_id, skill_lv, 1);
skill_attack(BF_MAGIC, src, src, bl, skill_id, skill_lv, tick, flag);
break;
@ -13279,6 +13280,10 @@ TIMER_FUNC(skill_castend_id){
add_ap += 2;
}
break;
case SH_HYUN_ROK_CANNON:
if (pc_checkskill(sd, SH_COMMUNE_WITH_HYUN_ROK) || (sc && sc->getSCE(SC_TEMPORARY_COMMUNION)))
add_ap += 1;
break;
}
status_heal(&sd->bl, 0, 0, add_ap, 0);