• 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!

spells

  1. R

    Lua Spell buff animation

    I got the following working code for a spell that buffs critical skills. My (luxury) problem is that the animation to show that the buff is active on the person, is in my eyes not the greatest. Though I can't think of another way. Is there a better way to show that the character is buffed...
  2. R

    Get skill within a Spell

    Hello all, I got a very basic problem/annoyance. Within a spell I want to get the players skill lvl. I tried several variations of something like below but i keep getting nill/nothing. function onCastSpell(creature, var, player) -- seems i cant get player here? local skill =...
  3. Adorius Black

    Spell [TFS 1.x+] Omicron

    ☠️ Omicron ☠️ 🤮 🖥️ Install 🖥️ <instant group="attack" spellid="910" name="Omicron" words="omicron" lvl="1" mana="1" prem="0" needweapon="0" range="6" casterTargetOrDirection="1" exhaustion="6000" groupcooldown="2000" needlearn="0" script="custom/omicron.lua"> <vocation...
  4. Yan18

    TFS 1.X+ [TFS 1.3] Summons Cannot Uses Spells From the Same Monster in XML File

    Hello people! Is there a way for a summons cannot uses spells that the same monster (enemy) has in attack tag in xml file? For example, the monster Magma Crawler has the attack: <attack name="magma crawler soulfire" interval="2000" chance="20" /> And I want that I summon him, the Magma...
  5. Adorius Black

    Lua Healing Spear heal monsters...

    Hi guys I want to create healing spear but here is problem. I want to heal only pleayers but it heals also monsters. I was searching little bit on OTland and found function with CallBack but can't figure out how to put it there. Is here any scripter who can fix it? Thank you. local animEffect...
  6. K

    A way to make this spell script simpler?

    Hi, what I'm trying to do here is to create the animations of the strike spells like real Tibia. Is there a way to make this spell cleaner? local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) local...
  7. A

    Lua Spells do not dmg

    Hi, Can someome tell me why this spell do not dmg ? local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) combat:setArea(createCombatArea(AREA_SQUAREWAVE5)) function onGetFormulaValues(cid, level, magicLevel) local min = (level / 5) + (magicLevel * 1.4) + 8...
  8. potinho

    TFS 0.X Rune dont show charges

    I have a rune mana on my server. Her script is ok, their sales with the charges are ok but the rune does not show the charges in her description, I would like her to show them. can you help me? Tried to create a action to use but not worked. Follow my mana rune system spells.xml <rune...
  9. aqubjukr

    TFS 1.X+ Monster attack damages other monsters

    I was wondering if can put in a spell, that a specific creature take damage with the players Ps: The boss doesn't need to "go attack the monster", I just want the magic given to the player to also remove the monster's health local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE...
  10. Kuantikum

    Linux LINUX UBUNTU 16.04 [Error - LuaScriptInterface::loadFile] ¿Not finding the route files ?

    Hello guys! I have some issue with this... Opens normally on windows. I compiled in linux, when I open the server in linux, I get the following error: [Error - LuaScriptInterface::loadFile] cannot open data/spells/scripts/lib/ps/events/spells/Evolve.lua: No such file or directory...
  11. L

    Lua Spells conflict

    TFS: 1.3 Version: 10.98 I have 2 spells configured to apply DOT (Conditions), but: when I use the Mix throw, it looks like it's conflicting with agony ground. Agony ground is not applying dot. I tried to rename the functions but it still didn't work, it looks like both lua scripts are using...
  12. M

    Weapon casting exori

    I want to make a sword that has the chance that, instead of making the normal attack, make an area attack, like an "exori". So I made the script, and put as area, the same as the spell (AREA_SQUARE1X1), but it gives an error (LuaScriptInterface :: luaCombatSetArea (). Area not found), so I...
  13. M

    TFS 0.X Only challenge if the player have a storage

    0.4 Hello everybody, im here to ask for help. I was trying to do a normal attack spell, but if the player has a storage, the creature would target him, like exeta res. Here's the code I worked so far: local outfit = 425 local combat = createCombatObject() setCombatParam(combat...
  14. Walox

    Lua Magma Storm Effect repositioning X and Y

    Hello guys, how are you? Can anybody help me ? I am trying to create a spell for my Pokémon server but I am not able to keep the spell fixed in the center of the Pokémon. the spells are slightly above the pokémon; -; I've tried everything but to no avail ....... Could anyone help me with this...
  15. M

    TFS 0.X Weapon Spell

    0.4 Hello guys, im wondering if this script can be done. I need a script that, when you equip a weapon, you learn a spell. I know how to do with items like helmet and shield, but weapons have a different folder, not in movements, so i tried to do the same and didnt work. Also, Im looking for a...
  16. P

    TFS 1.X+ Strange problem with spells animation

    Hello everybody! First of all, sorry for my bad english, im Brazilian and you will probably see some mistakes. I am setting up a TFS server and came across a problem: Whenever I (or any monster) cast some magic, I can see the damage it causes, but no animation appears. Example: Dragon releases...
  17. Loremaster7

    How to do spell "ultimate explosion" with paralyze?

    "exevo gran mas vis" para "exevo gran mas ina" não funciona o paralyze ... (my distro is The OTX Server Version: (2.X.S - 4) Otserver 7.72) my code: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatFormula(combat...
  18. anyeor

    Uh for vocation

    Can anybody help me how i can make uh for voc? my code didnt work: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)...
  19. T

    TFS 0.X Area Spell hitting specific creature

    Is it possible to make a area spell hits only a creature if it has a certain name? For example: how to do to a spell like, let's say, "divine caldera" (exevo mas san) hits only creatures in it's area named "rat"? Is it possible to do? Could you help me with some ideas? I'm kinda lost trying to...
  20. Sarah Wesker

    Spell Magic Wall Rune " Script With Count Down For TFS 1.x+ "

    they look for the following file: data/spells/scripts/support/magic_wall_rune.lua and replace the code for this! --[[SevuEntertainment(c)]]-- local recAnimateText = false local startSeconds = 20 local combat = Combat() combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)...
Top