clario
OTS based on Heroes III Might and Magic
- Joined
- Feb 4, 2018
- Messages
- 98
- Reaction score
- 5
hello !Fast help for m3 ? THE PROBLEM IS THAT SPELL DONT DO ANY DMG
Heeeyaaaa ,
there is gif:
im using :
By other hand i was using this :
any sollution?
TITAN ATTACK :
Tibia 8.6 // TSF 0.4
Heeeyaaaa ,
there is gif:
![HGOChMC.gif](/proxy.php?image=https%3A%2F%2Fi.imgur.com%2FHGOChMC.gif&hash=5d070faa5854449ffcc4807d10dfd6c1)
im using :
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGY)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_BIGCLOUDS)
--setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, true) -- unnote if you want it to ignore shield
--setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, true) -- unnote if you want it to ignore armor
--combat:setArea(createCombatArea(AREA_CIRCLE3X3)) -- You can use this instead of the arr if you know how to
local minD = 1000 -- minimum damage it deals
local maxD = 1700 -- maximum damage it deals/
local minH = 1 -- min for healing (change if you want him to heal less or more than dealt dmg)
local maxH = 2 -- max for healing
arr = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, -- This is the field of the spell, 3 is the monster and
{0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0}, -- 1s are the hit area.
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
setCombatFormula(combat, COMBAT_FORMULA_DAMAGE, 1000, -minD, 1700, -maxD)
function onCastSpell(creature, var)
doCreatureAddHealth(creature, math.random(minH,maxH))
return doCombat(creature, combat, var)
end
By other hand i was using this :
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_THUNDER)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.25, -0, -0.55, 0)
local arr = {
{0, 1, 0},
{1, 0, 0},
{0, 3, 0},
{0, 0, 1},
{0, 1, 0}
}
local area = createCombatArea(arr)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
any sollution?
TITAN ATTACK :
<attack name="Thunder" interval="2000" chance="100" target="1" range="7" min="-1080" max="-1620"/>
Tibia 8.6 // TSF 0.4