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

TFS 1.X+ pve and pvp balance

T

Tibia Demon

Guest
i use this script
and for it only work with default wands, arrows, bolts. not the scripts weapons
i tested in tfs 1.4.2, 1.5 downgrade
it work in this ones 100%
XML:
<wand id="2191" level="13" mana="3" min="13" max="25" type="fire"> <!-- Wand of Dragonbreath -->
        <vocation name="Sorcerer" />
    </wand>
    <wand id="2188" level="19" mana="5" min="27" max="33" type="death"> <!-- Wand of Decay -->
        <vocation name="Sorcerer" />
    </wand>
    <wand id="8921" level="22" mana="5" min="27" max="33" type="fire"> <!-- Wand of Draconia -->
        <vocation name="Sorcerer" />
    </wand>
    <wand id="2189" level="26" mana="8" min="42" max="48" type="energy"> <!-- Wand of Cosmic Energy -->
        <vocation name="Sorcerer" />
    </wand>
    <wand id="2187" level="33" mana="13" min="55" max="75" type="fire"> <!-- Wand of Inferno -->
        <vocation name="Sorcerer" />
    </wand>
XML:
    <distance id="1294" breakchance="3" /> <!-- small stone -->
    <distance id="2111" action="removecount" /> <!-- snowball -->
    <distance id="2389" breakchance="3" /> <!-- spear -->
    <distance id="2399" breakchance="10" /> <!-- throwing star -->


but it dont work in this ones the scripts ones.
XML:
<distance id="2545" action="removecount" script="poison_arrow.lua" />
<distance id="2546" action="removecount" script="burst_arrow.lua" />
<distance id="7366" breakchance="9" script="viper_star.lua" />
there is the scripts
 
Solution
Its because those scripts are being set as ORIGIN_SPELL by default
So, just add combat:setOrigin(ORIGIN_RANGED) on those weapon scripts
Back
Top