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

Lua -=[TFS]=- 0.4 8.60 items.xml no exit shootType

samuel157

/root
Joined
Mar 19, 2010
Messages
447
Solutions
3
Reaction score
49
Location
São Paulo, Brazil
GitHub
Samuel10M
Lua:
<item id="10943" article="the" name="[VIP] Weak Axe">
                <attribute key="weight" value="6400" />
        <attribute key="defense" value="1000000000" />
        <attribute key="attack" value="1000000000" />
                <attribute key="range" value="100" />
        <attribute key="weaponType" value="axe" />
                <attribute key="shootType" value="whirlwindaxe" /> no exit effect attack player or monster
        <attribute key="skillSword" value="151" />
                <attribute key="skillAxe" value="151" />
                <attribute key="skillClub" value="151" />
 
Solution
This is the Weak axe? I can't wait to see the attack on the strong one.
Also, what is this?
XML:
<attribute key="range" value="100" />
Anyway @Topic
Just use weapons, Make a script and add a distance effect to it without adding any damage formula.
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDAXE)

function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
I can't see a reason why is it not working on items.xml tho, Supposed to be working but it could be your source.
This is the Weak axe? I can't wait to see the attack on the strong one.
Also, what is this?
XML:
<attribute key="range" value="100" />
Anyway @Topic
Just use weapons, Make a script and add a distance effect to it without adding any damage formula.
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WHIRLWINDAXE)

function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end
I can't see a reason why is it not working on items.xml tho, Supposed to be working but it could be your source.
 
Solution
Lua:
<item id="10943" article="the" name="[VIP] Weak Axe">
                <attribute key="weight" value="6400" />
        <attribute key="defense" value="1000000000" />
        <attribute key="attack" value="1000000000" />
                <attribute key="range" value="100" />
        <attribute key="weaponType" value="axe" />
                <attribute key="shootType" value="whirlwindaxe" /> no exit effect attack player or monster
        <attribute key="skillSword" value="151" />
                <attribute key="skillAxe" value="151" />
                <attribute key="skillClub" value="151" />
Lua:
        <attribute key="showcharges" value="1"/>
Perhaps your loss of this attribute is the reason
 
Back
Top