|
Post by mitsuru on Jun 8, 2011 22:59:31 GMT -5
[atrb=border,0,true][atrb=style,float: right;]
[hp=30/30]
[sp=30/30]
|
damn, i need to edit the image a little more >.<
if you'll ignore the cropping blunders I made with the image, what do ya think?
EDIT: That should be good for the meantime. Now I'm off to redo that picture >.<
|
|
|
Post by mitsuru on Jun 9, 2011 0:27:08 GMT -5
Aigis, I was looking at the HP and SP code, I think we can solve the bar length problem if you change this:
if ((maxHpBar * blipMax) < currenthp && maxHp%maxHpBar!=0) { //top HB level chk='A'; greenBarCnt=(currenthp%maxHpBar==0 ? (currenthp>0 ? 16: 0) : currenthp%maxHpBar); greyBarCnt=(maxHp%maxHpBar==0 ? 16 : maxHp%maxHpBar)-greenBarCnt; //=0 remainderCnt=(blipMax==0 ? 0 : maxHpBar-greyBarCnt-greenBarCnt); //=0 leftEnd=(maxHp%maxHpBar==0 ? (currenthp==0 ? endLeftOfUpperBarGrey : endLeftOfUpperBarGreen.replace('CLSCHK',' ')) : (blipMax==0 ? leftEndBracket : endLeftOfUpperBarGreen.replace('CLSCHK','class="faded" ')) ); } else { chk='B'; remainderCnt=0; greenBarCnt=(currenthp%maxHpBar==0 ? (currenthp>0 ? 15 : 1) : currenthp%maxHpBar); greyBarCnt=(maxHp<maxHpBar ? maxHp : maxHpBar)-greenBarCnt-1; leftEnd=(currenthp%maxHpBar==0 ? (currenthp==0 ? endLeftOfUpperBarGrey : endLeftOfUpperBarGreen.replace('CLSCHK',' ')) : endLeftOfUpperBarGrey ); }
to this:
if ((maxHpBar * blipMax) < currenthp && maxHp%maxHpBar!=0) { //top HB level chk='A'; greenBarCnt=(currenthp%maxHpBar==0 ? (currenthp>0 ? 10: 0) : currenthp%maxHpBar); greyBarCnt=(maxHp%maxHpBar==0 ? 10 : maxHp%maxHpBar)-greenBarCnt; //=0 remainderCnt=(blipMax==0 ? 0 : maxHpBar-greyBarCnt-greenBarCnt); //=0 leftEnd=(maxHp%maxHpBar==0 ? (currenthp==0 ? endLeftOfUpperBarGrey : endLeftOfUpperBarGreen.replace('CLSCHK',' ')) : (blipMax==0 ? leftEndBracket : endLeftOfUpperBarGreen.replace('CLSCHK','class="faded" ')) ); } else { chk='B'; remainderCnt=0; greenBarCnt=(currenthp%maxHpBar==0 ? (currenthp>0 ? 10 : 1) : currenthp%maxHpBar); greyBarCnt=(maxHp<maxHpBar ? maxHp : maxHpBar)-greenBarCnt-1; leftEnd=(currenthp%maxHpBar==0 ? (currenthp==0 ? endLeftOfUpperBarGrey : endLeftOfUpperBarGreen.replace('CLSCHK',' ')) : endLeftOfUpperBarGrey ); }
This should decrease the bar length when it is full. At least I'm hoping it will, but no harm in trying.
|
|
|
Post by mitsuru on Jun 9, 2011 0:51:03 GMT -5
This thing has style tags on it, so I cannot simply give you a code(because style tags are a bitch sometimes, it's a fact of life). You'll have to quote this post and copy it directly. (ignore all this crap up here and scroll to the code once you have quoted it)
Alter any areas you must. I recommend getting a 150x(150 or 200)px image as it'll line up better with the bars and paste the url wherever the original one is. The original image link is: i40.photobucket.com/albums/e215/_-DragonInk-_/POST%20EMOTICONS/mitBATTLE.png and it is right at the top of the code, so it should be easy to find. Please use a profile of your character, it looks nicer~ If you need help incorporating this into a post or you even need an image, reply to my shop thread and I'll get you going.
[atrb=border,0,true][atrb=style,float: right;]
[hp=30/30]
[sp=30/30]
|
|
|
|
Post by zetsumei on Aug 15, 2011 10:43:03 GMT -5
Oh, Damn, why did this not get incorporated while you were here?! No matter how you look at it this is pretty fricken bad ass <3 I must continue its use in memory of how awesome an idea this was. If you happen to come back, I hope you approve of this.
|
|