Is it possible to put 10.x monsters to tibia 8.6 or make a mount system for tibia 8.6 for tfs 0.3.6?
Lua Script Error: [Spell Interface]
data/spells/scripts/monster/mutated bat curse.lua:onCastSpell
data/spells/scripts/monster/mutated bat curse.lua:32: attempt to call field '?' (a userdata value)
stack traceback:
[C]: in function '?'
data/spells/scripts/monster/mutated bat curse.lua:32: in function <data/spells/scripts/monster/mutated bat curse.lua:31>
Not the point hahaha <3Yeah, probably it's in combat:execute, wrong values, it's known bug to me. , but I bet you can fix it easily.
Just FYI i noticed this error.
Code:Lua Script Error: [Spell Interface] data/spells/scripts/monster/mutated bat curse.lua:onCastSpell data/spells/scripts/monster/mutated bat curse.lua:32: attempt to call field '?' (a userdata value) stack traceback: [C]: in function '?' data/spells/scripts/monster/mutated bat curse.lua:32: in function <data/spells/scripts/monster/mutated bat curse.lua:31>
local combat = {}
local c = {min = 1, max = 1}
for i = c.min, c.max do
combat[i] = Combat()
combat[i]:setParameter(COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_SOUND_PURPLE)
local condition = Condition(CONDITION_CURSED)
condition:setParameter(CONDITION_PARAM_DELAYED, 1)
local damage = i
condition:addDamage(1, 4000, -damage)
for j = 1, 15 do
damage = damage * 1.2
condition:addDamage(1, 4000, -damage)
end
local area = createCombatArea({
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0}
})
combat[i]:setArea(area)
combat[i]:setCondition(condition)
end
function onCastSpell(creature, var)
return combat[math.random(c.min, c.max)]:execute(creature, var)
end
Do it yourself?sparkion mount please?
bags in the loot not is in Tibia anymore, this is deprecated, only a very old servers have itThanks for this Moj!
Just a tip for the future monster packs that you have, include bags in monster loot and put items inside them instead of everything in the body
Thanks again, nicely done.
Just FYI i noticed this error.
Code:Lua Script Error: [Spell Interface] data/spells/scripts/monster/mutated bat curse.lua:onCastSpell data/spells/scripts/monster/mutated bat curse.lua:32: attempt to call field '?' (a userdata value) stack traceback: [C]: in function '?' data/spells/scripts/monster/mutated bat curse.lua:32: in function <data/spells/scripts/monster/mutated bat curse.lua:31>
return combat[math.random(1, 1)](creature, var)
return combat[math.random(1, 1)]:execute(creature, var)
you used to be coolI've watched hundreds of tibiacast videos to get as much accurate data as possible, but I wont share my files. Not now anyways.