Search the database
Search forum topics
Search members
Search for trades
diablo2.io is supported by ads
diablo2.io is supported by ads
3 replies   7966 views
2

Description

Not sure if this is the right place for this, and it's super minor. The item description for Phoenix (shield version) says "level up" in green text (as if it were a variable).

runewords/phoenix-t1242.html
5

Can be used to make Runewords:

7
Not sure if this is the right place for this, and it's super minor. The item description for Phoenix (shield version) says "level up" in green text (as if it were a variable).

runewords/phoenix-t1242.html

Usually looking for Runes, Essences, PGems, Tokens, Keys, etc.
Always willing to discuss and negotiate :)

Check out my "Free Stuff" tab for...FREE STUFF!
Before adding me on bnet, please comment on the trade so I know who you are!
7
User avatar

Teebling 8401Admin

Europe PC
Yeah there's a JS regex that looks for values with - in-between them and that's what decides which bits of the text get the 'variable' look.

I can refine the regex further to exclude this exact term, since it's used elsewhere in other items.

7
User avatar

ShadowHeart 4913Moderator

Paladin Europe PC Playstation
There seems to be a difference between the Shield and Weapon variants though @Teebling. If you look at Phoenix tooltip/description, you see that only the Shield variant says "Level-up" with the dash, while the Weapon variant says "Level up" without the dash. An easy fix would be to remove the dash from the Shield variant as well? Technically, the in-game tooltip does have a dash though...
The regex could "lookbehind" and/or "lookahead" of the dash to determine if it's preceded and followed by digits, if it's letters then it shouldn't highlight it. If you need help I can probably assist, I use regex regularly at work :P

I'm in CET (Central European Time), so that's UTC+1 normally and UTC+2 during DST.
My profile says Ladder, but I play both Ladder and Non-Ladder.
My profile says Softcore, but I play both Softcore and Hardcore.
My Holy Grail Tracker is for Offline Hardcore.
7
Relatedly: perhaps when the regex is being updated for this, it could also be updated to better handle literal dots (decimal points) in numbers as well?

One example (of many) of what I mean is the 1.875-185.625% damage to demons on Grief. Only the portion between the dots has the variable look.

My grail tracker is for offline SC. I also play offline HC and recently some occasional online SC NL.
9

Advertisment

Hide ads
999

Greetings stranger!

You don't appear to be logged in...

99

Who is online

Users browsing Bug Reports: No registered users and 13 guests.

No matches
 

 

 

 

You haven't specified which diablo2.io user you completed this trade with. This means that you will not be able to exchange trust.

Are you sure you want to continue?

Yes, continue without username
No, I will specify a username
Choose which dclone tracking options you want to see in this widget:
Value:
Hide ads forever by supporting the site with a donation.

Greetings adblocker...

Warriv asks that you consider disabling your adblocker when using diablo2.io

Ad revenue helps keep the servers going and supports me, the site's creator :)

A one-time donation hides all ads, forever:
Make a donation