Skip to content

Commit

Permalink
Merge pull request #38 from fabd/update/patch-2-6
Browse files Browse the repository at this point in the history
Update/patch 2 6
  • Loading branch information
fabd authored Feb 22, 2023
2 parents b6b9787 + 0f267cc commit dea55d8
Show file tree
Hide file tree
Showing 6 changed files with 247 additions and 39 deletions.
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
VITE_GAME_NAME='Diablo II Resurrected'

# version of the vanilla/modded Diablo II that Runewizard is compatible with
VITE_GAME_VERSION='Patch 2.4'
VITE_GAME_VERSION='2.6'

# url to the official update notes
VITE_URL_PATCH_NOTES='https://news.blizzard.com/en-us/diablo2/23899624/diablo-ii-resurrected-ladder-season-three-now-live'

# set 'false' to turn off the header, to eg. include within an existing layout
VITE_LAYOUT_HEADER=true
Expand Down
5 changes: 4 additions & 1 deletion src/assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,12 @@ object {
&Patch {
@apply rounded-sm text-xs leading-1 ml-1;
padding: 2px 4px 2px;
background-color: #71B643;
background-color: #444;
color: #000;
}
&Patch.is-new {
background-color: #71b643;
}
}

// pin icon next to runeword title
Expand Down
19 changes: 14 additions & 5 deletions src/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@
<div class="flex justify-between items-center">
<div class="text-lg text-[#b5b2b0]">
for <span class="text-[#b5b2b0] font-bold">{{ envGameName }}</span>
<span class="ml-2 text-[#71B643]">{{ envGameVersion }}</span>
<span class="ml-2 text-[#71B643]">Patch {{ envGameVersion }}</span>

<span class="text-xs">
<a
class="ml-2 underline hover:underline text-[#39a9f7]"
target="blank"
:href="envPatchNotesUrl"
>Update Notes</a
>
</span>
</div>

<div class="flex items-center text-[#514f4a]">
Expand Down Expand Up @@ -77,10 +86,10 @@ export default defineComponent({
return {
isHelpVisible: false,
envGameName: /**@type {string}*/ (import.meta.env.VITE_GAME_NAME),
envGameVersion: /**@type {string}*/ (import.meta.env.VITE_GAME_VERSION),
envGithubRepoUrl: /**@type {string}*/ (import.meta.env
.VITE_URL_GITHUB_REPO),
envGameName: import.meta.env.VITE_GAME_NAME as string,
envGameVersion: import.meta.env.VITE_GAME_VERSION as string,
envGithubRepoUrl: import.meta.env.VITE_URL_GITHUB_REPO as string,
envPatchNotesUrl: import.meta.env.VITE_URL_PATCH_NOTES as string,
};
},
});
Expand Down
8 changes: 7 additions & 1 deletion src/components/RunewordsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
@click="onEnterRuneword($event, item)"
>{{ item.title }}</span>
<span v-if="item.ladder" class="rw-Md-ladder" title="Ladder Only">L</span>
<span v-if="item.version" class="rw-Table-tdTitlePatch" title="Patch version">{{ item.version }}</span>
<span v-if="item.version" class="rw-Table-tdTitlePatch"
:class="{
'is-new': item.version === envGameVersion
}"
title="Patch version">{{ item.version }}</span>

<div
v-if="pinnedRunewords.has(item.title)"
Expand Down Expand Up @@ -164,6 +168,8 @@ export default defineComponent({
{ key: "ttypes", label: "Item Types" },
{ key: "level", label: "Level" },
],
envGameVersion: import.meta.env.VITE_GAME_VERSION as string,
};
},
Expand Down
95 changes: 95 additions & 0 deletions src/data/runewords-descriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,101 @@ const runewordsDesc: TRunewordMeta = {
+24 Vitality
All Resistances +40
`,

/* Patch 2.6 */
Bulwark: `
+20% Faster Hit Recovery
+4-6% Life stolen per hit
+75-100% Enhanced Defense
+10 to Vitality
Increase Maximum Life 5%
Replenish Life +30
Damage Reduced by 7
Physical Damage Received Reduced by 10-15%
`,

Cure: `
Level 1 Cleansing Aura when Equipped
+20% Faster Hit Recovery
+75-100% Enhanced Defense
+10 to Vitality
Increase Maximum Life 5%
Poison Resist +40-60%
Poison Length Reduced by 50%
`,

Ground: `
+20% Faster Hit Recovery
+75-100% Enhanced Defense
+10 to Vitality
Increase Maximum Life 5%
Lightning Resist +40-60%
Lightning Absorb +10-15%
`,

Hearth: `
+20% Faster Hit Recovery
+75-100% Enhanced Defense
+10 to Vitality
Increase Maximum Life 5%
Cold Resist +40-60%
Cold Absorb +10-15%
Cannot be Frozen
`,

Temper: `
+20% Faster Hit Recovery
+75-100% Enhanced Defense
+10 to Vitality
Increase Maximum Life 5%
Fire Resist +40-60%
Fire Absorb +10-15%
`,

Hustle: `
#### Weapons
5% Chance to cast level 1 Burst of Speed on striking
Level 1 Fanaticism Aura
+30% Increased Attack Speed
+180-200% Enhanced Damage
+75% Damage to Undead
+50 to Attack Rating against Undead
+10 to Dexterity
#### Body Armors
+65% Faster Run/Walk
+40% Increased Attack Speed
+20% Faster Hit Recovery
+6 to Evade
+10 to Dexterity
50% Slower Stamina Drain
+All Resistances +10
`,

Mosaic: `
+50% chance for finishing moves to not consume charges
+2 to Martial Arts (Assassin only)
+20% Increased Attack Speed
+200-250% Enhanced Damage
+20% Bonus to Attack Rating
7% Life Steal
+8-15% to Cold Skill Damage
+8-15% to Lightning Skill Damage
+8-15% to Fire Skill Damage
Prevent Monster Heal
`,

Metamorphosis: `
100% Chance to cast level 1 Mark of the Wolf on striking
100% Chance to cast level 1 Mark of the Bear on striking
+5 to Shape Shifting Skills (Druid only)
+25% Chance of Crushing Blow
+50-80% Enhanced Defense
+10 to Strength
+10 to Vitality
All Resistances +10
Cannot be Frozen
`,
};

export default runewordsDesc;
Loading

0 comments on commit dea55d8

Please sign in to comment.