skip navigation

Welcome, Guest [log in · register]
Cwn Annwn
Search
Page 1 of 1 1
Kritos
#CLASS {roundstats}
#TRIGGER {^*~<(&hp)hp (&sp)sp (&st)st~>*} {
#MATH newhp @hp-@oldhp
#MATH newsp @sp-@oldsp
#VAR oldsp @sp
#VAR oldhp @hp
#IF (@newhp=0 & @newsp=0) {#ABORT 1} {}
#ECHOPROMPT {%ansi( high, blue, high, black)"{"%if( @newhp<0, %ansi( high,
red, black)@newhp%ansi( high, blue, black)hp, %ansi( white,
black)"+"@newhp%ansi( high, blue, black)hp) %if( @newsp<0, %ansi( high, red,
black)@newsp%ansi( high, blue, black)sp, %ansi( white, black)"+"@newsp%ansi(
high, blue, black)sp)%ansi( high, blue, high, black)"}"}
#echo " "
} "" {nocr|prompt}
#CLASS 0


Last edited on February 1, 2008 04:47pm.
Kyndrydz
Avatar
and how would you incorporate stamina into this … ive tried but it doesnt seem to work
Siege
Avatar

#CLASS {pkstats}
#TRIGGER {^*~<(&hp)hp (&sp)sp (&st)st~>*} {#MATH newhp @hp-@oldhp;#MATH newsp @sp-@oldsp;#MATH newst @st-@oldst;#VAR oldsp @sp;#VAR oldhp @hp;#VAR oldst @st;#IF (@newhp=0 & @newsp=0 & (@newst=0 or @newst=-1)) {#ABORT 1} {#ECHOPROMPT {%ansi( high, white, high, black)"["%if( @newhp<0, %ansi( high, red, black)@newhp%ansi( high, blue, black)hp, %ansi( grey, black)"+"%ansi( high, green, black)@newhp%ansi( high, blue, black)hp) %if( @newsp<0, %ansi( high, red, black)@newsp%ansi( high, blue, black)sp, %ansi( grey, black)"+"%ansi( high, green, black)@newsp%ansi( high, blue, black)sp) %if( @newst<0, %ansi( high, red, black)@newst%ansi( high, blue, black)st, %ansi( grey, black)"+"%ansi( high, green, black)@newst%ansi( high, blue, black)st)%ansi( high, white, high, black)"]"}}} "" {nocr|prompt}
#CLASS 0


This has some of my custom colors that you can tweak around to your own personal prefs, but it does incorporate stamina.
Cheers.

Edited by Siege on Sun, 11 Jul 2010 14:10:24 +0000.
Kyndrydz
Avatar
Works perfect …

Danke!
Siege
Avatar
Should also be worth mentioning that this doesn’t show -1 stamina, like walking around etc.
Page 1 of 1 1