From b729f4c5ac185ea71b6ea0bbeafbb10bbecd9330 Mon Sep 17 00:00:00 2001 From: ArcaneDisgea <39720490+ArcaneDisgea@users.noreply.github.com> Date: Wed, 23 Dec 2020 14:56:25 -0500 Subject: [PATCH] Update character.json Shortened TOWN.ICON selector Adjusted PVP_TEAM.ICON_LAYERS selectors Added GUARDIAN_DEITY.ICON selector --- profile/character.json | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/profile/character.json b/profile/character.json index 044dac1..7f4e6b4 100644 --- a/profile/character.json +++ b/profile/character.json @@ -39,7 +39,13 @@ "regex": "(?P\\w* \\w*) / \\w* (?P.*)" }, "GUARDIAN_DEITY": { - "selector": "p.character-block__name:nth-child(4)" + "NAME": { + "selector": "p.character-block__name:nth-child(4)" + }, + "ICON": { + "selector": "div.character-block:nth-child(2) > img:nth-child(1)", + "attribute": "src" + } }, "NAME": { "selector": "div.frame__chara__box:nth-child(2) > .frame__chara__name" @@ -59,15 +65,15 @@ }, "ICON_LAYERS": { "BOTTOM": { - "selector": "div.character__pvpteam__crest__image > div > img:nth-child(1)", + "selector": ".character__pvpteam__crest__image img:nth-child(1)", "attribute": "src" }, "MIDDLE": { - "selector": "div.character__pvpteam__crest__image > div > img:nth-child(2)", + "selector": ".character__pvpteam__crest__image img:nth-child(2)", "attribute": "src" }, "TOP": { - "selector": "div.character__pvpteam__crest__image > div > img:nth-child(3)", + "selector": ".character__pvpteam__crest__image img:nth-child(3)", "attribute": "src" } } @@ -88,7 +94,7 @@ "selector": "div.character-block:nth-child(3) > div:nth-child(2) > p:nth-child(2)" }, "ICON": { - "selector": "div.character__profile__data > div:nth-child(1) > div > div:nth-child(3) > img", + "selector": "div.character-block:nth-child(3) > img:nth-child(1)", "attribute": "src" } }