lestion and DJNoni, thank you! (IMG:[
invalid]
style_emoticons/default/laugh.gif)
***
Hi, sickentide. (IMG:[
invalid]
style_emoticons/default/happy.gif)
QUOTE(3534 @ Mar 30 2020, 11:10)

Excuse me,
a small question with using Bind() in numpad,
...
CODE
function MaxVitals() {...}
make it display percent:
after here (↑↑), I add some small edit :
1.
QUOTE(Starlight99 @ Apr 23 2019, 23:34)

Hey,thank you for your help.
What should I do to move the quickbarBesideMonsters to the left of the monster?
(IMG:[
s2.ax1x.com]
https://s2.ax1x.com/2019/04/23/EEhYtK.png)
...
QUOTE(sickentide @ Apr 24 2019, 05:05)

lines 938-939:
CODE
'position: absolute; z-index: 1; } #battle_right { left: -7px !important; top: 107px !important; }' +
'#pane_quickbar { display: flex; position: absolute; left: -212px; top: 69px; width: 203px; }' :
change them to:
CODE
'position: absolute; z-index: 1; } #battle_right { left: 149px !important; top: 107px !important; }' +
'#pane_quickbar { display: flex; position: absolute; left: -586px; top: 69px; width: 203px; }' :
and possibly adjust the numbers to fit your other adjustments
it should basically do what you would expect, but condenseLeft overrides it
refer to this,
lines 951-955:
CODE
(cfg.condenseLeft ? '#pane_effects { position: relative; left: -92px; } #pane_completion { left: -688px; } #battle_left { left: 550px; }' +
'#pane_vitals { position: absolute; top: 3px; left: ' + (document.querySelector('img[src$="bar_orange.png"]') ?
'-556px; } #ckey_spirit { left: -411px; top: 45px;' : '-548px; } #ckey_spirit { left: -459px; top: 2px;') +
'position: absolute; z-index: 1; } #battle_right { left: -7px !important; top: 107px !important; }' +
'#pane_quickbar { display: flex; position: absolute; left: -212px; top: 69px; width: 203px; }' :
I change them to:
CODE
(cfg.condenseLeft ? '#pane_effects { position: relative; left: -92px; } #pane_completion { left: -688px; } #battle_left { left: 550px; }' +
'#pane_vitals { position: absolute; top: 3px; left: -547px;' + (document.querySelector('img[src$="bar_orange.png"]') ?
'-556px; } #ckey_spirit { left: -411px; top: 45px;' : '-548px; } #ckey_spirit { left: -459px; top: 2px;') +
'position: absolute; z-index: 1; } #battle_right { left: 149px !important; top: 107px !important; }' +
'#pane_quickbar { display: flex; position: absolute; left: -586px; top: 69px; width: 203px; }' :
lines 1466-1468:
CODE
if ( cfg.raiseGem ) {
div.setAttribute('style', 'position: absolute;' + (cfg.condenseLeft ? 'top: -55px; left: 165px;' :
(cfg.vitalsAboveMonsters ? 'top: 15px; left: 1191px;' :
I change them to:
CODE
if ( cfg.raiseGem ) {
div.setAttribute('style', 'position: absolute;' + (cfg.condenseLeft ? 'top: 500px; left: 30px;' :
(cfg.vitalsAboveMonsters ? 'top: 15px; left: 1191px;' :
2.
and lines 1716-1719:
CODE
hpd.innerHTML = hpv + '/' + vitals.hp;
mpd.innerHTML = mpv + '/' + vitals.mp;
spd.innerHTML = spv + '/' + vitals.sp;
if ( !cfg.ssd && changed ) localStorage.HVvitals = JSON.stringify(vitals); }
I change them to:
CODE
hpd.innerHTML = ( hpv * 100 / vitals.hp ).toFixed(1) + '%_____' + hpv + '/' + vitals.hp;
mpd.innerHTML = ( mpv * 100 / vitals.mp ).toFixed(1) + '%_____' + mpv + '/' + vitals.mp;
spd.innerHTML = ( spv * 100 / vitals.sp ).toFixed(1) + '%_____' + spv + '/' + vitals.sp;
hpd.style.cssText="left:-5px;width:60px;background:white;";
mpd.style.cssText="left:-5px;width:60px;background:white;";
spd.style.cssText="left:-5px;width:60px;background:white;";
document.getElementById('dvrc').style.background = 'white';
if ( !cfg.ssd && changed ) localStorage.HVvitals = JSON.stringify(vitals); }
are they allowed?
thank you! (IMG:[
invalid]
style_emoticons/default/laugh.gif)