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

Search results

  1. Verrine

    TFS 1.2 Timed spell with life drain?

    registered it on login.lua and in creaturescripts, how can I register it on the monster? I Found this https://otland.net/threads/register-creature-events-in-monsters.114969/ but its from 2011 anyway Ill check it
  2. Verrine

    TFS 1.2 Timed spell with life drain?

    okay but You think it will help me alot? If script does not want to execute on my attacks even without restrict? so what will storage change? Ill get it and problem will stay, function dont want to react for my attacks on monsters. Am I wrong? anyway that what @Printer posted should work, I...
  3. Verrine

    TFS 1.2 Timed spell with life drain?

    when I made once again new script with this code: local config = { spellName = "Vampiric Rage", storage = 1401, timeStorage = 1402, lifeStealPercent = 50, -- Percent of the damage you deal you will get in health. } function onHealthChange(creature, attacker, primaryDamage...
  4. Verrine

    TFS 1.2 Timed spell with life drain?

    Yes I did it It heals me now when monsters attacking me instead taking my HP When I attack monsters nothing happens I think problem was that I used in past on health change function for resists Also monsters draining life from me local resists = { {120, COMBAT_DEATHDAMAGE, 20}, {121...
  5. Verrine

    TFS 1.2 Timed spell with life drain?

    nothing, Im not getting anything, even when I deleted storages for test it I have no idea why this script doesnt react to my attacks. There is one thing that I can miss. I did dualwielding on char that I testing it. Could it be a problem? I got this, but I have read whole of this post...
  6. Verrine

    Vampiric spell for TFS 1.2 timed

    did I get it now? Monster attacked me i had this: 19:53 Attacker: Rotworm 19:53 Victim: Berserker I attacked monster - nothing creature:sendTextMessage(MESSAGE_EVENT_ORANGE, "Attacker: " .. attacker:getName() .. "\n") creature:sendTextMessage(MESSAGE_EVENT_ORANGE, "Victim: " ...
  7. Verrine

    TFS 1.2 Timed spell with life drain?

    I did it yesterday, just problem with script, functions with exhaustion I have in libs-050.lua and spell just work but main problem that I posted here ->> https://otland.net/threads/vampiric-spell-for-tfs-1-2-timed.242593/#post-2349575 is only function OnHealthChange ;)
  8. Verrine

    Vampiric spell for TFS 1.2 timed

    If I do that script does not work, mobs ofc dont recive HP but players too, thats why I deleted line if attacker:IsPlayer()
  9. Verrine

    Vampiric spell for TFS 1.2 timed

    Hi. As I wrote thread with request here : https://otland.net/threads/tfs-1-2-timed-spell-with-life-drain.242563/ I decided to try it myself but I have problem with that. I mean It only work for monsters who attacking me. When I attack monster nothing happen ;/ Here is Code: function...
  10. Verrine

    TFS 1.2 Timed spell with life drain?

    ok in my TFS this function only works for mobs, players attacks doesnt matters when I removed ifs and just left attacker:say and magic efests also healing only mobs heal themself when I attack monster nothing happens
  11. Verrine

    TFS 1.2 Timed spell with life drain?

    in this script : local config = { spellName = "Vampiric Rage", storage = 1401, timeStorage = 1402, lifeStealPercent = 50, -- Percent of the damage you deal you will get in health. } function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage...
  12. Verrine

    TFS 1.2 Timed spell with life drain?

    local config = { spellName = "Vampiric Rage", storage = 1401, timeStorage = 1402, lifeStealPercent = 20, -- Percent of the damage you deal you will get in health. } function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType...
  13. Verrine

    TFS 1.2 Timed spell with life drain?

    there is no function like function onStatsChange(cid, attacker, type, combat, value) Thats my problem now I found this - https://github.com/otland/forgottenserver/wiki/Interface:Creature-Events#onHealthChange but how can I use it now? duno also it wont work on mob hp change just on players hp...
  14. Verrine

    TFS 1.2 Timed spell with life drain?

    does not work with 1.2
  15. Verrine

    TFS 1.2 Timed spell with life drain?

    thats all I think spell for x seconds that gives "buff" during buff player get % of damage done as healing (lifedrain) % of drain can be random if its easy to do It would be nice if player have this buff arrow during spell thats all
  16. Verrine

    TFS 1.2 Timed spell with life drain?

    if its easy to do it can be random but if it would be random I would make it like 18-20% of hit so I think there is no point to make it random
  17. Verrine

    TFS 1.2 Timed spell with life drain?

    what is easier to do ofc drain over time would be better I mean someone hits mob or player for 100 and heal himself for 20 hp (20%) of his hit so drain over hit once again Becouse my english isnt good enough player cast spell -> earn buff for x seconds -> hit mob for 100 (for example) -> earn...
  18. Verrine

    TFS 1.2 Timed spell with life drain?

    TFS 1.2 pardon... I did smth like exori hur and this returns hp but i want it from autoattacks (edited thread title)
  19. Verrine

    TFS 1.2 Timed spell with life drain?

    Hi I need spell that will return ammount of HP after cast for x seconds or just x hits
  20. Verrine

    NPC TFS 1.2 Buffer for War servers - rewritten

    Hi Ive rewritten old npc (so big words, I just repaired class checks and added level cap and money cost as variable so its not big deal) I know that some errors shows in console but NPC works and giving buffs as You can see Here is original script: https://otland.net/threads/buffer.131246/...
Back
Top