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

    End of Open Tibia or what?

    this should become default on ots https://otland.net/threads/opentibia-sprite-pack.254815/ when got completed ofc
  2. runsicky

    TFS 0.X Block/Reduce damage on LUA

    thank you so much!
  3. runsicky

    TFS 0.X Block/Reduce damage on LUA

    everything else can be done on lua by following this topic: Lua - Imbuements System to 8.60 [0.4] (https://otland.net/threads/imbuements-system-to-8-60-0-4.265853/) i didnt make the rest, i'll do after understand this part on this topic, but everything else is there it works, i tested here...
  4. runsicky

    TFS 0.X Block/Reduce damage on LUA

    i still not understand... if(reductPercent > 0 && combatType == COMBAT_FIREDAMAGE) { damage = (int64_t)std::floor (damage - damage * reductPercent /100); } this means, if player have fire protect and damage is fire: reduce some % depeding on storage...
  5. runsicky

    TFS 0.X Block/Reduce damage on LUA

    I don't understand one thing What u want to do with this else if? It isn't the same thing to the IF? fire protection for example //----------------------------------------------------------------------------------------------------------------------------------------------------------------...
  6. runsicky

    TFS 0.X Block/Reduce damage on LUA

    Thats what i tried I need to change the type and the storage, different types have differents storages What i've dont wrong? int32_t damage = -healthChange; int32_t tmp; // def imbu (elemental protections) 1 if(target && target->getPlayer()) {...
  7. runsicky

    TFS 0.X Block/Reduce damage on LUA

    What do i doing wrong? code int32_t damage = -healthChange; int32_t tmp; // def imbu (elemental protections) 1 if(target && target->getPlayer()) { std::string value; // fire protection...
  8. runsicky

    TFS 0.X Block/Reduce damage on LUA

    what are u mean? this storages fire_protect_storage (1001) for example is to reduce fire types damage, not all damages so as holy, energy, death... https://tibia.fandom.com/wiki/Imbuing every time player equips an item with imbuiments he will recive 1001 + 1 so will reduce more percentage...
  9. runsicky

    TFS 0.X Block/Reduce damage on LUA

    ============================================================================================================ @heba ============================================================================================================ what is it? int32_t tmp = (int32_t)(atoi(value.c_str())); what is it...
  10. runsicky

    TFS 0.X Block/Reduce damage on LUA

    i would love if u did, but as i said idk how to help you the only thing i will do is, when u do the source part, i make the lua to post so people here on forum can use everything
  11. runsicky

    TFS 0.X Block/Reduce damage on LUA

    Yes i do use, as most ppl who have a 8.6 server i use the @Fir3element ones Fir3element/3777 (https://github.com/Fir3element/3777/tree/master/src) But idk about source edit, i couldn't help you with a single thing... Is isn't possible to do on LUA as i'm trying? Why in source is better?
  12. runsicky

    TFS 0.X Block/Reduce damage on LUA

    I'm trying to bring Charm/Imbuements to my server 8.6 I was able to change attacks stuff, add, remove, anything i want on attack on LUA But on receive damage on LUA i could manage and even put to work The only thing i found on forum working about it was this topic block damage if have x...
  13. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    Hmmm okey, anyways thank you for your try then... Do u have a tip for what search, what to do to do it on my own? I will not use your script like it is now, just want a base to change recive damage on LUA (if it is possible ofc)
  14. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    @Delusion did i do what you asked for?
  15. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    you think it is impossible to change damage in lua? or do i doing something wrong?
  16. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    using this, 2 insane things are happen... 1- earth protection is only call after 1 hit for example, if i do 1 dmg, it dont call earth protection but next one calls 2- when call the earth prootection if i damage 8 and player target says earth protection i recive -2 damage in my character i...
  17. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    like this? local combatTypes = { [1] = {storage = 1000, type = COMBAT_FIREDAMAGE, text = "Fire Protect"}, [2] = {storage = 1001, type = COMBAT_DEATHDAMAGE, text = "Death Protect"}, [3] = {storage = 1002, type = COMBAT_ICEDAMAGE, text = "Ice Protect"}, [4] = {storage = 1003, type...
  18. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    i didn't understand, i'm sorry, what are u mean?
  19. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    I tried even to set to 0 doSendAnimatedText(getThingPos(cid), combatTypes.text, TEXTCOLOR_WHITE) value = 0 it's sending the doSendAnimatedText(getThingPos(cid), combatTypes[i].text, TEXTCOLOR_WHITE) but the damage is not changing... local combatTypes...
  20. runsicky

    TFS 0.X Is it possible to change things on receive damage in LUA?

    u guys have any idea what could be or what should i test?
Back
Top