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

weapon

  1. J

    Weapon problem

    Hello guys I Work on tfs 0.4 but I was have a crash server and I move my server to tfs 1.5 and little bit I have problem I have custom script on arrow and have a problem like that data/weapons/scripts/arroww.lua] Function setCombatCondition was renamed to addCombatCondition and will be removed...
  2. S

    Check if target item is weapon or armor

    Hi, I'm trying to create a tier system where I use an item on another item to increase target item's action ID. Problem is, I want this system to work only with weapons and armors, but I didn't figure out how to check that (note that target item can be anywhere - ground, backpack, equipped...
  3. A

    RevScripts ImpactEffect/MagicEffect for weapon

    Hello! can someone help me on my script for a wand that when it damages something instead of the effect or the impact of the fire that looks like a fire field, instead it shows musical notes? I have this script that I got from the example.lua from the data/weapons folder. This is the code and...
  4. Adorius Black

    [Rogue Weapon] Plague Dagger [TFS 1.4]

    Plague Dagger Hi. I would like share with you this special dagger. It deal DMG + there is 7% chance for PLAGUE EFFECT. PLAGUE EFFECT means that target get poison -20hp every 4 seconds 5 times and area damage with 50% bigger dmg than normal. This weapon also give you back mana points with every...
  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. Adorius Black

    Advanced Sword

    Hi today I was little bit playing with viper_star.lua script and justice seeker.lua script what I downloaded months ago. I managed to combine these 2 scripts together and here is result. :) Sword has normal attack but there is random chance that it will make GIANTCUT!(area attack) with...
  7. S

    TFS 1.X+ How to use exercise weapon while monsters attack you

    Hi, I would like to know what I must change in the script so that exercise weapons can be used while training in monks Here is the script: local skills = { [32384] = {id=SKILL_SWORD,voc=4}, -- KNIGHT [32385] = {id=SKILL_AXE,voc=4}, -- KNIGHT [32386] = {id=SKILL_CLUB,voc=4}, --...
  8. 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...
  9. C

    TFS 1.X+ Weapons with advantage vs some vocation

    TFS 1.3.10 Hello again, following the example of this post: Weapons with advantage vs some monsters Is it possible to make a weapon have an advantage against vocation? I think this function can help (taken from an npc) player:getVocation():getBase():getId() == 4 (knight) 1 = Sorcerer 2...
  10. Dohko

    [TFS 1.3] Samurai vocation weapon

    Hello otland friends, how are you? I have a custom server with some new classes, and I'm working on the Samurai class. My idea is that she only uses two-handed weapons (katanas) and has a form of attack different from the traditional one. Could someone help me with a weapon script? basically...
  11. Togu

    TFS 1.X+ Making two-handed weapons give bleeding condition

    How am I suppose to do that? I was looking on movements folder, I couldn't understand how it works. I don't know if I should do that in C++, in Lua or in both. Is there some way of adding bleeding condition in C++ (I just found it in the lua file for the bleeding spell)? Cause I know I can...
  12. herki17

    Script - 2 weapons

    Hi, I'm looking for a script which allows player to use 2 weapons at 1 time (2 axes/swords/bows, 1 of them in shield slot).
  13. D

    [request] LUA Script: Heal % of damage dealt

    Hi, guys! I'm making a weapon that heals 25% of the damage dealt to the target. Here's the script: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat...
  14. Noupz

    Skill by WeaponType

    I would like to know if is possible to change the skills in skill channel when player change his weapon (E.g: if is a sword then will show up (ML, Sword, Shielding and fishing)), the same if is axe, club or distance, if has no weapon then appear Fist
  15. X

    Solved Lifesteal Melee Weapon [TFS 1.2]

    As the title suggests, I have been trying to create a script for a melee weapon that damages a monster/player each turn, AND heals the user for a percentage of the damage dealt. I've seen the different threads about "vampriric spell" and "vampiric touch" (Spell - +[Creaturescript] Vampiric...
  16. 115820

    One Weapon, but attack differents for each voc.

    Hi everyone, i need a weapon script. The weapon works like: -When a Knight equip weapon, It attacks different in a way Y -When a Sorcerer equip weapon, It attacks different in a way X -When a Druid equip weapon, It attacks different in a way K -When a Paladin equip weapon, It attacks different...
  17. Goku97

    Compiling [Sources] How can I decrease melee damage ?

    -empty-
  18. demon088

    Solved Multi element wand with attack

    Hello Otland! I have this weapon actually working, but I want to make it different. Take a look on this code: -- Wand/Rod Multi-Elements. -- by leyendario. local config = { min1 = 0.5, min2 = 1, max1 = 1, max2 = 1 } local fisico = createCombatObject()...
  19. Colandus

    The Magical Justice Seeker!

    This will make your weapon more powerful, but for it you need to have a certain actionid on your weapon, that means it's not a regular one. However you get the actionid on the weapon is your descision, and you can turn it off also. What does it do? Well, first of all you have a normal attack...
Back
Top