• 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. T

    RevScripts Convert spell to revscript

    i need convert this seplls to RevScript, if is possible i need without event. I've tried to perform the conversion in numerous ways and I couldn't, so my last alternative is to ask you for help local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE...
  2. Codinablack

    [1.3+] Spell Converter

    Ok so I was working on a converter to turn the spells.xml file and the scripts for each spell in the spells.xml. The aim or goal was to read the .xml file and rewrite all the information to Revscripts for spells. This allows each spell to become modular and easily transferred or shared between...
  3. potinho

    Lua [TFS 0.X] Custom Spell for knights

    I would like to add a spell on my server that would work as follows: for 5 seconds (customizable) the knight will take 20% less total damage (also customizable) but will lose 50% speed in that time interval. Could you help me in creating this magic?
  4. Adorius Black

    Lua [TFS 1+] !exiva on/off

    Hi OTLanders. I'm browsing otserver webpages to insiped myself with something and I came across an interesting feature which has one ots. !exiva on/off - lets say its only for vocation Sorcerer and it works like that: when you use: !exiva off - nobody can exiva you but when you use: !exiva on...
  5. Raikou

    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...
  6. Raikou

    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 =...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top