• 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. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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)...
  11. 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...
  12. 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)...
  13. donnyred

    TFS 1.X+ ERROR AddEvent() Argument # 3 is unsafe

    Hi everybody I need a simple help for this spells.... the truth is that I do not know much about... buy someone can explain me, I'll be grateful. this is my script.lua local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT...
  14. M

    TFS 1.X+ Spell Area Error

    Hi, just curious if anyone knows how you go about solving this error that comes up in console. I have been working on this script few weeks back but I have forgotten what I meant to fix. Here is my code local combat = { { {0,0,0}, {0,0,0}, {0,0,0}, {1,3,1}, {1,0,1} }, {...
  15. G

    Lua Animate dead in area

    Hello, when I use the rune Animate Dead in a minotaur corpse for example, it only make 1 skeleton even if have more than 1 dead minotaur around, but the rune should work in area to summon more than 1 skeleton if there are more than 1 minotaur corpse, anyone can help me change this script to be...
  16. Paulix

    Monster Attacks and Defenses flags

    Does anyone have a list of all attacks and defesens flags for monsters? I tried to find but couldn't. I also tried to search on sources but its not clear for me
  17. herki17

    Script - passive abilities

    Hi, I'm looking for a script which gives each vocation passive ability (they will work all the time) if possible: - if you're in party, members have increased healing power - X% monster damage resistance (only monster damage!), X% mana/health regeneration/s, - arrows, bolts can hit 3 enemies at...
  18. riesjuh666

    C++ Problem making new spells

    Hello Otland, I have a problem with creating a spell, i am working on a 7.4 server with costum spells and monster. i added some spells from 8.6 into my 7.4 server when i try to use Ice Strike (exori frigo) i see the sprite but i dont see damage. the monsters due take damage. i already...
  19. V

    Spells Parser - Configurable - Any TFS / OTX Version

    This script will produce a file which is a table of all the spells in your spells.xml file. Which you can then reference via scripts. You will need a lua interpreter to run this script or you can integrate it with your server by calling the method parseSpells() function cwd(name) local chr...
  20. N

    Solved tfs skill after time 1.2

    Hello i have question how can i do skill use after time. Example: function test3(creature,variant) testa:execute(creature, variant) end function onCastSpell(creature, variant) addEvent(test1, 10, creature:getId()) addEvent(test2, 5000, creature:getId()) addEvent(test3...
Top