Code: Select all
function cureAffs_pipe(aff)
send(pipeTable[aff])
end
pipeTable = {}
pipeTable.aeon = "smoke elm"
pipeTable.deadening = "smoke elm"
pipeTable.hellsight = "smoke elm"
pipeTable.madness = "smoke elm"
pipeTable.disloyalty = "smoke valerian"
pipeTable.manaleech = "smoke valerian"
pipeTable.slickness = "cureSlickness"
cureAffs_pipe("slickness")
Pattern:
Code: Select all
^cureSlickness$
Code: Select all
if hellspawn.asthma == true and hellspawn.herb_balance == true then
cureAffs_herb("bloodroot")
end
Code: Select all
function cureAffs_pipe(aff)
if aff == "slickness" then
expandAlias("cureSlickness")
else
send(pipeTable[aff])
end
end
pipeTable = {}
pipeTable.aeon = "smoke elm"
pipeTable.deadening = "smoke elm"
pipeTable.hellsight = "smoke elm"
pipeTable.madness = "smoke elm"
pipeTable.disloyalty = "smoke valerian"
pipeTable.manaleech = "smoke valerian"
pipeTable.slickness = "cureSlickness"
cureAffs_pipe("slickness")
Code: Select all
function cureAffs_salve(aff)
if hellspawn.salve_balance = true then
send(salveTable[aff])
end
end
salveTable = {}
salveTable.leftleg_broken = "Mending left leg"
salveTable.rightleg_broken = "Mending right leg"
salveTable.leftarm_broken = "Mending left arm"
salveTable.rightarm_broken = "Mending right arm"
salveTable.leftleg_damaged = "Restoration left leg"
salveTable.rightleg_damaged = "Restoration right leg"
salveTable.leftarm_damaged = "Restoration left arm"
salveTable.rightarm_damaged = "Restoration right arm"
salveTable.head_damaged = "Restoration head"
salveTable.torso_damaged = "Restoration torso"
salveTable.stuttering = "apply epidermal"
salveTable.selarnia = "Mending"
salveTable.anorexia = "apply epidermal"
salveTable.ablaze = "Mending"
salveTable.chilled = "apply caloric"