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

MoveEvent Firewalker boots

The function exists, but either you did something wrong or it doesn't work like this on your distribution.
 
@up: yesterday I was unabl;e to check, now I have to create 130 lvl and gonna test it again on 0.3.6pl1(dont know rev but whatever, if you use rev from prv svn its your problem, sorry :D)

EDIT: tested with player, dl, gs, rat with a lot of health all: big, medium and small fire fields, everything works correctly.
Dl got no dmg, gs got 10% more, rat got 20/10 dmg depending on ff used, player got 2/1 dmg depending on field type with boots and like rat without, nothing in the console
 
Last edited:
[16/02/2010 04:49:33] [Error - MoveEvents Interface]
[16/02/2010 04:49:33] data/movements/scripts/firewalker.lua:eek:nStepIn
[16/02/2010 04:49:33] Description:
[16/02/2010 04:49:33] (luaDoAddCondition) Condition not found

help
 
@up bumping old old thread -_- lawl...

TFS 0.4 has already implemented absorbFieldDamage or sth like that.
 
@up: rly? o_O, some newer rev right? cause that 0.4a1 that was released doesnt have it I guess?

if it really have I lost one of my TODO codes, cause there is no reason of releasing something that elf did, and its done better way(for 99.99999%)
 
"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>
 
abilities is the wrong way, it is defined per itemType, not per item, it can save some memory but makes my life harder xD
bad for me but good for you that you posted this part of code, not the important one
 
I put where?

else if(tmpStrValue == "fieldabsorbpercentfire")
{
if(readXMLInteger(itemAttributesNode, "value", intValue))
it.abilities.fieldAbsorb[COMBAT_FIREDAMAGE] += intValue;
}
 
this is only part of source edit, and this part is the one you should know, dont even try without step by step tutorial with pictures and video...
 
The boots should make fire fields hit 90% less, normally a fire field hits 20 and when I'm walking on one it hits me 1 insteed of 2.
 
Could you tell me please, What do i have to do!! to get the script working?
How and where do i paste this?

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

i ussed Zakius script but console gets error... used Citko... and server closes ramdonly.
 
Nice, all working, and i think will be good if you make it for:
1506 field :D (PoI violet fire)
 
Back
Top