Artifacts upgrading - Oshi41/GenshinImpactMod GitHub Wiki
Artifacts consuming other artifacts to upgrade itself. GUI is trying to look as similar to Genshin Impact as it possible for Minecraft.
Basic info
Artifacts starting with 0 level. Artifact stat values stores value at 0 and maximum level. Other level calculates by linear function. For artifact rarities we store min and max exp values. Every level requires more exp than previous, scales up as linear function too.
✯
Max level - 4
No substats
Min exp - 600
Max exp - 3201
✯✯
Max level - 6
1 substat maximum
0-1 initial substats
Min exp - 1200
Max exp - 8801
✯✯✯
Max level - 12
2 substat maximum
1-2 initial substats
Min exp - 1800
Max exp - 52276
✯✯✯✯
Max level - 16
3 substat maximum
2-3 initial substats
Min exp - 2400
Max exp - 122676
✯✯✯✯✯
Max level - 20
4 substat maximum
3-4 initial substats
Min exp - 3000
Max exp - 270475
Possible Artifact stats
HP
✯ +1-2 HP
✯✯ +2-3 HP
✯✯✯ +3-7 HP
✯✯✯✯ +4-10 HP
✯✯✯✯✯ +4-12 HP
ATTACK
✯ +1-2.1 DMG
✯✯ +1.7-3.6 DMG
✯✯✯ +2.8-12.3 DMG
✯✯✯✯ +4.2-23.2 DMG
✯✯✯✯✯ +4.7-31.1 DMG
% HP
✯ +3.1-7.9 % HP
✯✯ +4.2-9 % HP
✯✯✯ +5.2-23.1 % HP
✯✯✯✯ +6.3-34.8 % HP
✯✯✯✯✯ +7-46.6 % HP
% ATTACK
✯ +3.1-7.9 % DMG
✯✯ +4.2-9 % DMG
✯✯✯ +5.2-23.1 % DMG
✯✯✯✯ +6.3-34.8 % DMG
✯✯✯✯✯ +7-46.6 % DMG
PHYSICAL OR ELEMENTAL DAMAGE BONUS
(Physical/Pyro/Cryo/Hydro/Geo/Electro/Anemo)
TODO add dendro
✯ +3.1-7.9 % PHYSICAL OR ELEMENTAL DMG
✯✯ +4.2-9 % PHYSICAL OR ELEMENTAL DMG
✯✯✯ +5.2-23.1 % PHYSICAL OR ELEMENTAL DMG
✯✯✯✯ +6.3-34.8 % PHYSICAL OR ELEMENTAL DMG
✯✯✯✯✯ +7-46.6 % PHYSICAL OR ELEMENTAL DMG
ELEMENTAL MASTERY
✯ +12.6-31.6 points
✯✯ +16.8-35.8 points
✯✯✯ +21-92.3 points
✯✯✯✯ +25.2-139.3 points
✯✯✯✯✯ +28-186.5 points
RECHARGE BONUS
✯ +3.5-8.8 % BONUS
✯✯ +4.7-10.9 % BONUS
✯✯✯ +5.8-23.1 % BONUS
✯✯✯✯ +7-38.7 % BONUS
✯✯✯✯✯ +7.8-51.8 % BONUS
CRITICAL DAMAGE
✯ + 4.2-10.5 BONUS
✯✯ + 5.6-15.9 BONUS
✯✯✯ + 7-30.8 BONUS
✯✯✯✯ + 8.4-46.4 BONUS
✯✯✯✯✯ +9.3-62.2 BONUS
CRITICAL CHANCE
✯ + 2.1-5.3 %
✯✯ + 2.8-9.2 %
✯✯✯ + 3.5-15.4 %
✯✯✯✯ + 4.2-23.2 %
✯✯✯✯✯ + 4.7-31.1 %
HEAL BONUS
✯ + 2.4-6.1 %
✯✯ + 3.2-9.5 %
✯✯✯ + 4-17.08 %
✯✯✯✯ + 4.8-26.08 %
✯✯✯✯✯ + 5.4-35.9 %
% DEFENCE
✯ + 3.9-9.9 %
✯✯ + 5.2-14.2 %
✯✯✯ + 6.6-28.8 %
✯✯✯✯ + 7.9-43.5 %
✯✯✯✯✯ + 8.7-58.3 %
DEFENCE
Defense basing on Minecraft mechanics. So on max level it imitates defense from full armor set. Basically it used for sub stats
SUB_STAT_MODIFIER = 3.4d;
✯ + 5.0-7 * SUB_STAT_MODIFIER // leather armor
✯✯ + 5.5-11 * SUB_STAT_MODIFIER // gold armor
✯✯✯ + 6.0-12 * SUB_STAT_MODIFIER // chainmail armor
✯✯✯✯ + 6.5-15 * SUB_STAT_MODIFIER // iron armor
✯✯✯✯✯ + 7.0-20 * SUB_STAT_MODIFIER // diamond armor
SUB STATS
For substats artifacts uses same value as defined for primal but divided by SUB_STAT_MODIFIER. Substats are always the same rarity as main artifact. Sub stat upgrades scales accordingly primal stats.
SUB_STAT_MODIFIER = 3.4;
USAGE
- Obtain artifacts forge and place it
- Collect artifacts for upgrade and some experience
- 1% 5x multiplier and 10% 2x multiplier chance for upgrade