@name Settings
@outputs MaxPower StartingHP StartingMana Text:string
@inputs A1 A2 B1 B2 C1 C2
@trigger A1 A2 B1 B2 C1 C2
if (first())
{
    MaxPower=100
    StartingHP=200
    StartingMana=100
    Text="MaxPower:"+MaxPower:toString()+" StartingHP:"+StartingHP+" StartingMana:"+StartingMana
}
if (A1==1)
{
    MaxPower=MaxPower-10
}
if(A2==1)
{
    MaxPower=MaxPower+10
}
if (B1==1)
{
    StartingHP=StartingHP-10
}
if(B2==1)
{
    StartingHP=StartingHP+10
}
if (C1==1)
{
    StartingMana=StartingMana-10
}
if(C2==1)
{
    StartingMana=StartingMana+10
}
Text="MaxPower:"+MaxPower+" StartingHP:"+StartingHP+" StartingMana:"+StartingMana

