são dois moves com o mesmo objetivo, Curar o proprio status e dos pokes (aliados, em caso de duel) em uma determinada area.
esse é o erro:
[Error - TalkAction Interface]
data/talkactions/scripts/move1.lua:onSay
Description:
data/lib/032-position.lua:140: attempt to get length of local 'area' (a number value)
stack traceback:
data/lib/032-position.lua:140: in function 'checkAreaUid'
data/lib/pokemon moves.lua:3195: in function 'docastspell'
data/talkactions/scripts/move1.lua:188: in function <data/talkactions/scripts/move1.lua:20>
e esse o script:
elseif spell == "Aromateraphy" or spell == "Emergency Call" then
eff = spell == "Aromateraphy" and 14 or 13
doAreaCombatHealth(cid, GRASSDAMAGE, getThingPosWithDebug(cid), bombWee3, 0, 0, eff)
if isSummon(cid) then
doCureBallStatus(getPlayerSlotItem(getCreatureMaster(cid), 8).uid, "all")
end
doCureStatus(cid, "all")
local uid = checkAreaUid(getThingPosWithDebug(cid), selfArea2, 1, 1)
for _,pid in pairs(uid) do
if isCreature(pid) then
if ehMonstro(cid) and ehMonstro(pid) and pid ~= cid then
doCureStatus(pid, "all")
elseif isSummon(cid) and ((isSummon(pid) and canAttackOther(cid, pid) == "Cant") or (isPlayer(pid) and canAttackOther(cid, pid) == "Cant")) and pid ~= cid then
if isSummon(pid) then
doCureBallStatus(getPlayerSlotItem(getCreatureMaster(pid), 8).uid, "all")
end
doCureStatus(pid, "all")
end
end
end
se alguem puder ajudar. obrigado.
obs. Se precisar de algum outro script, avisa que eu posto.