From 6d625929f1aeda7d923c294aaf477e0360492697 Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Wed, 19 Jan 2022 22:01:21 +0100 Subject: [PATCH] feat(character): add random property id to aowow link --- package-lock.json | 4 ++-- package.json | 2 +- static/character.html | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef9cd7a..49a78f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "azerothcore-armory", - "version": "0.1.0", + "version": "0.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azerothcore-armory", - "version": "0.1.0", + "version": "0.4.0", "license": "MIT", "dependencies": { "@supercharge/promise-pool": "^2.1.0", diff --git a/package.json b/package.json index b7b0055..b27cbc1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "azerothcore-armory", - "version": "0.3.0", + "version": "0.4.0", "description": "", "scripts": { "build": "tsc -p tsconfig.json", diff --git a/static/character.html b/static/character.html index 0920378..2850fd2 100644 --- a/static/character.html +++ b/static/character.html @@ -160,6 +160,9 @@ if (item.enchantments.length !== 0) { rel.push("ench=" + item.enchantments.join(":")); } + if (item.randomPropertyId !== 0) { + rel.push("rand=" + item.randomPropertyId); + } } createItemSlot(item?.itemEntry, slot, item?.icon?.toLowerCase(), rel.join("&"), side.element); }