function onThink(interval, lastExecution, thinkInterval)
local players = getPlayersOnline()
for _, x in pairs(players) do
----------------------------------------------------------------------------------------------------
if isGoku(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x))
end
----------------------------------------------------------------------------------------------------
elseif isVegeta(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x))
end
----------------------------------------------------------------------------------------------------
elseif isGohan(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
----------------------------------------------------------------------------------------------------
elseif isTrunks(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
----------------------------------------------------------------------------------------------------
elseif isBrolly(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x))
end
----------------------------------------------------------------------------------------------------
elseif isPiccolo(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) / 2)
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * 2)
end
----------------------------------------------------------------------------------------------------
elseif isBuu(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) * 2)
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x))
end
----------------------------------------------------------------------------------------------------
elseif isJanemba(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, SKILL_SHIELD) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
----------------------------------------------------------------------------------------------------
elseif isCell(x) then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, (SKILL_SHIELD)) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
elseif isFreezer(x) and getPlayerFood(x) > 0 then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, (SKILL_SHIELD)) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
elseif isTsuful(x) then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, (SKILL_SHIELD)) * (3/2))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x))
end
elseif isDende(x) then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, (SKILL_SHIELD)) / 2)
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * 2)
end
elseif isC17(x) then
if getCreatureHealth(x) < getCreatureMaxHealth(x) then
doCreatureAddHealth(x, getPlayerSkillLevel(x, (SKILL_SHIELD)))
end
if getCreatureMana(x) < getCreatureMaxMana(x) then
doCreatureAddMana(x, getPlayerMagLevel(x) * (3/2))
end
end
end
return true
end