Facebook
From Beefy Pelican, 4 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 64
  1. set $mbarra '630'
  2. set $nbarra '400'
  3. set $mana '$mppc'
  4.  
  5. auto 1 {dontlist} if [$mana >= 80] {set $nd '42'} else {set $nd '$mana'}
  6. auto 1 {dontlist} {setpos [$mbarra+(3*$nd)] [$nbarra-11] | setcolor 0 0 238 | displaytext '$mppc %'}
  7. auto 1 {dontlist} if [$mppc < 100] {set $mana '[100-(100-$mppc/2)] | set $mort '[50-$mppc/2]'} else {set $mana '100' | set $mort '0'}
  8. auto 1 {dontlist} {setpos $mbarra $nbarra | setcolor 0 0 238 | displaytext '$cutstr.'$barra'.1.$mana'}
  9. auto 1 {dontlist} if [$mort > 0] {setpos [$mbarra+(3*$mana)] $nbarra | setcolor 99 184 255 | displaytext '$cutstr.'$barra'.1.$mort'}
  10. auto 1 {dontlist} {setpos [$mbarra+(3*$nd)-33] [$nbarra-11] | setcolor 0 0 238 | displaytext 'MANA:'}