From 986906ca4254c57d9218d87898969a4ced3d04c5 Mon Sep 17 00:00:00 2001 From: Cooper Morris Date: Mon, 25 Nov 2024 09:19:15 -0800 Subject: [PATCH] Add all combat mastery details --- src/app/components/player/EchoesLeague.tsx | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/src/app/components/player/EchoesLeague.tsx b/src/app/components/player/EchoesLeague.tsx index 854f075a..2905b37e 100644 --- a/src/app/components/player/EchoesLeague.tsx +++ b/src/app/components/player/EchoesLeague.tsx @@ -56,6 +56,30 @@ const EchoesLeague: React.FC = observer(() => { const { five: data } = store.player.leagues; const passives = []; + const meleeEffects = [ + 'Melee hits have a 25% chance to roll damage twice and take the highest result.', + 'Melee hits have a 10% chance to generate an echo hit', + 'Melee attack rate set to 80%, rounding down.', + 'Melee hits have a 5% chance to heal 40% of damage dealt.', + 'Melee attack rate set to 50%, rounded down above 5t, rounded up below 4t.', + 'Your chance to generate a Melee echo increases to 20%, and your echoes can generate additional echoes', + ]; + const rangedEffects = [ + 'Damage rolls beneath 30% of max hit with Ranged are increased to 30%.', + 'Each subsequent Ranged attack has its max hit increased by an additional 5%. Resets after +20%.', + 'Ranged attack rate set to 80%, rounding down.', + 'Every 5th Ranged hit, heal 5 hitpoints.', + 'Ranged attack rate set to 50%, rounded down above 5t, rounded up below 4t.', + 'Never miss with Ranged (PvM only).', + ]; + const magicEffects = [ + 'When you roll above 90% of your max hit with Magic, damage is increased by 50%.', + 'Magic max hit is increased by 5% per tick in-between your attacks (Up to +40%).', + 'Magic attack rate set to 80%, rounding down.', + 'When you roll above 90% of your max hit with Magic, heal 10% of damage dealt.', + 'Magic attack rate set to 50%, rounded down above 5t, rounded up below 4t.', + 'Max hit with Magic is increased by 1% for every 100 Hitpoints remaining on target (Up to 10%). On a successful Magic hit, if your target has less Hitpoints than your max hit, you max hit.', + ]; const maxMastery = Math.max(data.melee, data.ranged, data.magic); if (maxMastery >= 3) { passives.push('+100% accuracy'); @@ -104,6 +128,42 @@ const EchoesLeague: React.FC = observer(() => { )} + {(data.melee > 0) && ( +
+ Melee: + +
+ )} + {(data.ranged > 0) && ( +
+ Ranged: + +
+ )} + {(data.magic > 0) && ( +
+ Magic: + +
+ )} {(passives.length > 0) && (
Passives: