• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

combat

  1. El Man

    Lua Combat Change

    i want a little help in combat spells when i use spells on monster its do combatf on monster and when i use spells on player its do combate on player combatf= firedamage combate= energydamage how i do this ? Spells = local combatf = createCombatObject() setCombatParam(combatf...
  2. Paulix

    TFS 1.X+ combat:execute with targets from getSpectators

    I was playing around with some spells, trying to do some combat on multi creatures... function onCastSpell(cid, var) alt_targets = Game.getSpectators(Creature(var.number):getPosition(), false, false, 1, 2, 1, 2) --minRangeX, maxRangeX, minRangeY, maxRangeY for i=1,#alt_targets do...
  3. Yan18

    TFS 1.X+ [TFS 1.3] What Function Is Equivalente to onAttack or onCombat from TFS 0.X?

    Hello guys! I would like to know what function I can use to get Attacker and Target in combat to set target. I tried use the function Creature: onTargetCombat(target) from file creature.lua but it didn't work. I need to set target from monsters to my summons instead me when I have a summon. I...
Back
Top