Added new refine information (#6298)

Added the refine information for weapon level 5 and armor level 2.
Added the event refine information for weapon level 5 and armor level 2 to the import template.
Additionally added TODOs for missing bonuses that will be added later on.

Thanks to @Phaicm and @Balferian for their help.
This commit is contained in:
Lemongrass3110 2021-10-10 11:52:15 +02:00 committed by GitHub
parent d54076d2f6
commit 04d9e33112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 738 additions and 0 deletions

View File

@ -135,6 +135,110 @@ Header:
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Level: 2
# RefineLevels:
# - Level: 4
# Chances:
# - Type: Normal
# Rate: 8000
# - Type: Enriched
# Rate: 9500
# - Level: 5
# Chances:
# - Type: Normal
# Rate: 8000
# - Type: Enriched
# Rate: 8500
# - Level: 6
# Chances:
# - Type: Normal
# Rate: 6000
# - Type: Enriched
# Rate: 7000
# - Level: 7
# Chances:
# - Type: Normal
# Rate: 6000
# - Type: Enriched
# Rate: 6500
# - Level: 8
# Chances:
# - Type: Normal
# Rate: 4000
# - Type: Enriched
# Rate: 5500
# - Level: 9
# Chances:
# - Type: Normal
# Rate: 4000
# - Type: Enriched
# Rate: 4500
# - Level: 10
# Chances:
# - Type: Normal
# Rate: 1800
# - Type: Enriched
# Rate: 2500
# - Level: 11
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 12
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 13
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 14
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 15
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 16
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 17
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 18
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 19
# Chances:
# - Type: Normal
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Level: 20
# Chances:
# - Type: Normal
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Group: Weapon
# Levels:
# - Level: 1
@ -421,6 +525,110 @@ Header:
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Level: 5
# RefineLevels:
# - Level: 4
# Chances:
# - Type: Normal
# Rate: 8000
# - Type: Enriched
# Rate: 9500
# - Level: 5
# Chances:
# - Type: Normal
# Rate: 8000
# - Type: Enriched
# Rate: 8500
# - Level: 6
# Chances:
# - Type: Normal
# Rate: 6000
# - Type: Enriched
# Rate: 7000
# - Level: 7
# Chances:
# - Type: Normal
# Rate: 6000
# - Type: Enriched
# Rate: 6500
# - Level: 8
# Chances:
# - Type: Normal
# Rate: 4000
# - Type: Enriched
# Rate: 5500
# - Level: 9
# Chances:
# - Type: Normal
# Rate: 4000
# - Type: Enriched
# Rate: 4500
# - Level: 10
# Chances:
# - Type: Normal
# Rate: 1800
# - Type: Enriched
# Rate: 2500
# - Level: 11
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 12
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 13
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 14
# Chances:
# - Type: Normal
# Rate: 1600
# - Type: HD
# Rate: 2000
# - Level: 15
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 16
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 17
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 18
# Chances:
# - Type: Normal
# Rate: 1400
# - Type: HD
# Rate: 1500
# - Level: 19
# Chances:
# - Type: Normal
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Level: 20
# Chances:
# - Type: Normal
# Rate: 1000
# - Type: HD
# Rate: 1000
# - Group: Shadow_Armor
# Levels:
# - Level: 1

View File

@ -363,6 +363,262 @@ Body:
Price: 100000
Material: HD_Carnium
DowngradeAmount: 1
- Level: 2
RefineLevels:
- Level: 1
Bonus: 120
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Ethernium
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Ethernium
- Level: 2
Bonus: 240
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Ethernium
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Ethernium
- Level: 3
Bonus: 360
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Ethernium
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Ethernium
- Level: 4
Bonus: 480
Chances:
- Type: Normal
Rate: 6000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 9000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 5
Bonus: 720
Chances:
- Type: Normal
Rate: 6000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 7000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 6
Bonus: 960
Chances:
- Type: Normal
Rate: 4000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 6000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 7
Bonus: 1200
Chances:
- Type: Normal
Rate: 4000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 6000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 8
Bonus: 1440
Chances:
- Type: Normal
Rate: 2000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 4000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 9
Bonus: 1800
Chances:
- Type: Normal
Rate: 2000
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 4000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 10
Bonus: 2160
Chances:
- Type: Normal
Rate: 900
Price: 50000
Material: Ethernium
DowngradeAmount: 3
- Type: Enriched
Rate: 2000
Price: 50000
Material: Enriched_Ethernium
DowngradeAmount: 1
- Level: 11
Bonus: 2520
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Ethernium
BreakingRate: 10000
- Level: 12
Bonus: 2880
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Ethernium
BreakingRate: 10000
- Level: 13
Bonus: 3360
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Ethernium
BreakingRate: 10000
- Level: 14
Bonus: 3840
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Ethernium
BreakingRate: 10000
- Level: 15
Bonus: 4320
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Ethernium
BreakingRate: 10000
- Level: 16
Bonus: 4800
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Carnium
BreakingRate: 10000
- Level: 17
Bonus: 5400
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Carnium
BreakingRate: 10000
- Level: 18
Bonus: 6000
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Carnium
BreakingRate: 10000
- Level: 19
Bonus: 6600
Chances:
- Type: Normal
Rate: 500
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 700
Price: 100000
Material: HD_Etel_Carnium
BreakingRate: 10000
- Level: 20
Bonus: 7200
Chances:
- Type: Normal
Rate: 500
Price: 100000
Material: Etel_Carnium
BreakingRate: 10000
- Type: HD
Rate: 700
Price: 100000
Material: HD_Etel_Carnium
BreakingRate: 10000
- Group: Weapon
Levels:
- Level: 1
@ -1673,6 +1929,262 @@ Body:
Price: 100000
Material: HD_Bradium
DowngradeAmount: 1
- Level: 5
RefineLevels:
- Level: 1
Bonus: 800
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Etherdeocon
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Etherdeocon
- Level: 2
Bonus: 1600
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Etherdeocon
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Etherdeocon
- Level: 3
Bonus: 2400
Chances:
- Type: Normal
Rate: 10000
Price: 50000
Material: Etherdeocon
- Type: Enriched
Rate: 10000
Price: 50000
Material: Enriched_Etherdeocon
- Level: 4
Bonus: 3200
Chances:
- Type: Normal
Rate: 6000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 9000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 5
Bonus: 4000
Chances:
- Type: Normal
Rate: 6000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 7000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 6
Bonus: 4800
Chances:
- Type: Normal
Rate: 4000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 6000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 7
Bonus: 5600
Chances:
- Type: Normal
Rate: 4000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 6000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 8
Bonus: 6400
Chances:
- Type: Normal
Rate: 2000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 4000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 9
Bonus: 7200
Chances:
- Type: Normal
Rate: 2000
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 4000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 10
Bonus: 8000
Chances:
- Type: Normal
Rate: 900
Price: 50000
Material: Etherdeocon
DowngradeAmount: 3
- Type: Enriched
Rate: 2000
Price: 50000
Material: Enriched_Etherdeocon
DowngradeAmount: 1
- Level: 11
Bonus: 8800
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Etherdeocon
BreakingRate: 10000
- Level: 12
Bonus: 9600
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Etherdeocon
BreakingRate: 10000
- Level: 13
Bonus: 10400
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Etherdeocon
BreakingRate: 10000
- Level: 14
Bonus: 11200
Chances:
- Type: Normal
Rate: 800
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1500
Price: 100000
Material: HD_Etherdeocon
BreakingRate: 10000
- Level: 15
Bonus: 12000
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etherdeocon
BreakingRate: 10000
- Level: 16
Bonus: 12800
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Bradium
BreakingRate: 10000
- Level: 17
Bonus: 13600
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Bradium
BreakingRate: 10000
- Level: 18
Bonus: 14400
Chances:
- Type: Normal
Rate: 700
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 1000
Price: 100000
Material: HD_Etel_Bradium
BreakingRate: 10000
- Level: 19
Bonus: 15200
Chances:
- Type: Normal
Rate: 500
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 700
Price: 100000
Material: HD_Etel_Bradium
BreakingRate: 10000
- Level: 20
Bonus: 16000
Chances:
- Type: Normal
Rate: 500
Price: 100000
Material: Etel_Bradium
BreakingRate: 10000
- Type: HD
Rate: 700
Price: 100000
Material: HD_Etel_Bradium
BreakingRate: 10000
- Group: Shadow_Armor
Levels:
- Level: 1

View File

@ -4322,6 +4322,15 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt)
wa->atk += sd->inventory_data[index]->atk;
if( info != nullptr ){
wa->atk2 += info->bonus / 100;
#ifdef RENEWAL
// TODO: additional grade bonus
if( wlv == 5 ){
// TODO: P.ATK += sd->inventory.u.items_inventory[index].refine * 2;
// TODO: S.MATK += sd->inventory.u.items_inventory[index].refine * 2;
}
#endif
}
#ifdef RENEWAL
if (sd->bonus.weapon_atk_rate)
@ -4331,6 +4340,8 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt)
// Renewal magic attack refine bonus
if( info != nullptr && sd->weapontype1 != W_BOW ){
wa->matk += info->bonus / 100;
// TODO: additional grade bonus
}
#endif
// Overrefine bonus.
@ -4364,6 +4375,13 @@ int status_calc_pc_sub(struct map_session_data* sd, enum e_status_calc_opt opt)
} else if(sd->inventory_data[index]->type == IT_ARMOR) {
if( info != nullptr ){
refinedef += info->bonus;
#ifdef RENEWAL
if( sd->inventory_data[index]->armor_level == 2 ){
// TODO: RES += sd->inventory.u.items_inventory[index].refine * 2;
// TODO: MRES += sd->inventory.u.items_inventory[index].refine * 2;
}
#endif
}
if(sd->inventory_data[index]->script && (pc_has_permission(sd,PC_PERM_USE_ALL_EQUIPMENT) || !itemdb_isNoEquip(sd->inventory_data[index],sd->bl.m))) {