Witam wszystkich. Mam przyjemno?? zaprezentowa? czary z Tibii 8.50 przeniesione na tibi? 7.6. B?d? dodawa? nowe co jaki? czas. Dodam r?wnie? kilka zabawnych czar?w zrobionych przeze mnie.
1. Exevo Mas San
2. Exevo Tera Hur
1. Exevo Mas San
Kod:
area = {
{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, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 0, 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, 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, 0, 0, 0, 0},
}
attackType = ATTACK_PHYSICAL
needDirection = false
areaEffect = NM_ME_YELLOW_RINGS
animationEffect = NM_ME_YELLOW_RINGS
hitEffect = NM_ME_YELLOW_RINGS
damageEffect = NM_ME_YELLOW_RINGS
animationColor = BLUE
offensive = true
drawblood = true
UltimateExplosionObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
n = tonumber(var) -- try to convert it to a number
if n ~= nil then
-- bugged
-- ultimateExplosionObject.minDmg = var+0
-- UltimateExplosionObject.maxDmg = var+0
UltimateExplosionObject.minDmg = 0
UltimateExplosionObject.maxDmg = 0
else
UltimateExplosionObject.minDmg = (level *5 + maglv * 2) * 2.3 - 30
UltimateExplosionObject.maxDmg = (level * 7 + maglv * 2) * 3.0
end
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, Ultim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4, 4, 4, 0, 0, 0, 0},
-- {0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0},
-- {0, 0, 0, 0, 4, 4, 4, 0, 0, 0, 0}
-- }
attackType = ATTACK_PHYSICAL
needDirection = true
areaEffect = NM_ME_POISONCLOUD
animationEffect = NM_ANI_NONE
hitEffect = NM_ME_POISEN
damageEffect = NM_ME_POISEN_RINGS
animationColor = GREEN
offensive = true
needDirection = true
drawblood = true
EnergyWaveObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)
function onCast(cid, creaturePos, level, maglv, var)
centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z}
EnergyWaveObject.minDmg = (level * 4 + maglv * 4) * 1.3
EnergyWaveObject.maxDmg = (level * 4 + maglv * 4) * 1.7
return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, EnergyWaveObject:ordered())
end

. My?l?, ?e ka?dy doceni Tw?j wysi?ek
Mam nadzieje ?e b?dzie ich wi?cej 