Transmuting

By Hathrael

This script will transmute and sip mana automatically, plus shows health and mana gauges. It'll be mainly for the high int races I think, grook, raja and xoran.

To finish the script, trigger the alias "transmuting" to regaining balance, regaining equilibrium, standing up, getting unstunned, etc.

{suspicious=1};healthbarcurrent=%1;manabarcurrent=%2;#math transmute @healthbarmax-%1;limbfirst=none;limbsecond=none;sipping;transmuting;last diag} "" {nocr|prompt}
 * 1) CLASS {PROMPT} {enable}
 * 2) TRIGGER {%1h, %2m (*)-} {#if @snakemode=1
 * 1) CLASS 0

[Type MORE if you wish to continue reading. (23% shown)] 4370h, 3097m ex-more
 * 1) CLASS {PROMPT|autosipping} {enable}
 * 1) CLASS 0


 * 1) CLASS {PROMPT|autosipping|healing variables} {enable}
 * 2) VAR healbalance {1} {1}
 * 3) VAR mossbalance {1} {1}
 * 4) VAR sipmana {3350}
 * 5) VAR mossmana {3150}
 * 6) VAR healthbarcurrent {3300}
 * 7) VAR healthbarmax {3300}
 * 8) VAR manabarcurrent {3750}
 * 9) VAR manabarmax {3750}
 * 10) VAR moss {0} {0}
 * 11) CLASS 0

[Type MORE if you wish to continue reading. (39% shown)] 4370h, 3097m ex-more {#if @anorexia=0 {#if @healbalance=1 {#if @recklessness=1 {dh} {#if @healbalance=1 {#if @manabarcurrent<@sipmana {dm}} {#if @moss=1 {#if @mossbalance=1 {#if @manabarcurrent<@mossmana {moss}}}}}}}}}}}}
 * 1) CLASS {PROMPT|autosipping|healing aliases} {enable}
 * 2) ALIAS healbalance {healbalance=%1}
 * 3) ALIAS mossbalance {mossbalance=%1}
 * 4) ALIAS moss {outr moss;eat moss;mossbalance=0}
 * 5) ALIAS dh {drink health;healbalance=0}
 * 6) ALIAS dm {drink mana;healbalance=0}
 * 1) ALIAS sipping {#if @asleep=0 {#if @stunned=0 {#if @pause=0 {#if @aeon=0
 * 1) CLASS 0

{healthbarmax=%1;manabarmax=%2;#math transmutehealth @healthbarmax-700;#math sipmana @manabarmax-400;#math mossmana @manabarmax-600}
 * 1) CLASS {PROMPT|autosipping|healing triggers} {enable}
 * 2) TRIGGER {You may drink another health or mana elixir.} {healbalance=1}
 * 3) TRIGGER {You may eat another bit of irid moss.} {mossbalance=1}
 * 4) TRIGGER {Health: %d/%1 Mana: %d/%2}
 * 1) TRIGGER {You take a drink} {#gag}
 * 2) CLASS 0


 * 1) CLASS {PROMPT|gauges} {enable}
 * 2) CLASS 0

[Type MORE if you wish to continue reading. (66% shown)] 4370h, 3097m ex-more
 * 1) CLASS {PROMPT|gauges|gauge variables} {enable}
 * 1) VAR endbarcurrent {6988}
 * 2) VAR endbarmax {15400}
 * 3) VAR willbarcurrent {8211}
 * 4) VAR willbarmax {17650}
 * 5) CLASS 0

{endbarcurrent=%1;endbarmax=%2;willbarcurrent=%3;willbarmax=%4}
 * 1) CLASS {PROMPT|gauges|gauge triggers} {enable}
 * 2) TRIGGER {Endurance: %1/%2 Willpower: %3/%4}
 * 1) CLASS 0

@transmutehealth) {#if @asleep=0 {#if @stunned=0 {#if @pause=0 {#if @aeon=0 {#if @balance=1 {#if @transbal=1 {#if (@manabarcurrent > 0) {#if (@transmute > 0) {#if (@transmute < @manabarcurrent) {transmute @transmute;transbal=0;#alarm +1 {transbal=1}} {transmute @manabarcurrent;transbal=0;#alarm +1 {transbal=1}}}}}}}}}}}}} [Type MORE if you wish to continue reading. (92% shown)] 4370h, 3097m ex-more pure health.} {#sub -TRANSMUTED-;#cw blue}
 * 1) CLASS {COMBAT|KAIDO|transmuting} {enable}
 * 2) ALIAS transmuting {#if @sprawled=0 {#if (@healthbarcurrent <
 * 1) ALIAS transmutecheck {#if @currenthealth}
 * 2) VAR transmute {0} {0}
 * 1) VAR transmutehealth {2600}
 * 2) VAR transbal {1} {1}
 * 3) TRIGGER {You call upon your Kai training and transmute your mana into
 * 1) CLASS 0