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

fieldabsorbpercentfire (Help)

LucasFerraz

Systems Analyst
Joined
Jun 10, 2010
Messages
2,857
Reaction score
96
Location
Brazil
How can I add fieldabsorbpercentfire to my server?
Using dev 0.4, rev3884.


Found it
"absorbFieldDamage" -- So it is implemented? I will search it.


PS:

Code:
else if(tmpStrValue == "fieldabsorbpercentfire")
			{
				if(readXMLInteger(itemAttributesNode, "value", intValue))
					it.abilities.fieldAbsorb[COMBAT_FIREDAMAGE] += intValue;
			}

Found it, now you should use this instead of the absorbperencetfire, just useable on latest revs and it should be like:

LUA:
    <item id="9932" article="a" name="firewalker boots">
        <attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
        <attribute key="weight" value="950" />
        <attribute key="armor" value="2" />
        <attribute key="slotType" value="feet" />
        <attribute key="fieldAbsorbPercentFire" value="90" />
        <attribute key="decayTo" value="10022" />
        <attribute key="transformDeEquipTo" value="9933" />
        <attribute key="duration" value="3600" />
        <attribute key="showduration" value="1" />
    </item>
    <item id="9933" article="a" name="firewalker boots">
        <attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
        <attribute key="weight" value="950" />
        <attribute key="armor" value="2" />
        <attribute key="slotType" value="feet" />
        <attribute key="fieldAbsorbPercentFire" value="90" />
        <attribute key="transformEquipTo" value="9932" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />
    </item>
 
If the line background is light yellow, it means something was changed on it.
If it's light orange, it means the whole line has been removed.
If it's light green, it means a new line has been added.

Darker orange and darker green text highlight indicate a change within a single line.

The left side is the old revision, and the right side is the new one.
 
Ok, the last question now:
I saw that 3885 added support to 8.61 but I just want the function fieldabsorbpercentfire to firewalker boots. What I have to change? I know that I don't have to change all, and if I change all i will have 3885 rev

Thanks

EDIT: I tried to compile but bugged my sources
What I have to change exactly? :S
 
Last edited:
Back
Top