Skip to content

Commit cc7b443

Browse files
Merge pull request #3332 from guilherme-gm/rebalance-ws
Mastersmith skill rebalance - 2018 patch/renewal
2 parents 259a7d5 + e141121 commit cc7b443

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

db/pre-re/skill_db.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15094,7 +15094,7 @@ skill_db: (
1509415094
DamageType: {
1509515095
NoDamage: true
1509615096
}
15097-
SkillData1: 180000
15097+
SkillData1: 180_000 // Duration of SC_OVERTHRUSTMAX (in milliseconds)
1509815098
CoolDown: 0
1509915099
Requirements: {
1510015100
SPCost: 15

db/re/skill_db.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15194,7 +15194,7 @@ skill_db: (
1519415194
DamageType: {
1519515195
NoDamage: true
1519615196
}
15197-
SkillData1: 180000
15197+
SkillData1: 180_000 // Duration of SC_OVERTHRUSTMAX (in milliseconds)
1519815198
FixedCastTime: 0
1519915199
Requirements: {
1520015200
SPCost: 15

src/map/skill.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2405,11 +2405,11 @@ static int skill_additional_effect(struct block_list *src, struct block_list *bl
24052405
if(sc->data[SC_GIANTGROWTH])
24062406
rate += 10;
24072407
#ifndef RENEWAL
2408-
if(sc->data[SC_OVERTHRUST])
2408+
if(sc->data[SC_OVERTHRUST] != NULL)
24092409
rate += 10;
2410-
#endif
2411-
if(sc->data[SC_OVERTHRUSTMAX])
2410+
if(sc->data[SC_OVERTHRUSTMAX] != NULL)
24122411
rate += 10;
2412+
#endif
24132413
}
24142414
if( rate )
24152415
skill->break_equip(src, EQP_WEAPON, rate, BCT_SELF);

0 commit comments

Comments
 (0)