Hey there otland.
So i have a little problem in my server i use Avesta 0.6.3 i think.
Well the problem is with Stone skin amulet and all other items with absorbPercent key value.
Items.xml code
movements.xml code
So there is the code's everything is alright so far.
now we login and try but if i have the stone skin amulet in the hand Slot or arrow and neck slot it will work anyways. means i can use 4 stone skin amulets at the same time result in no DMG at all to the player wearing it.
BUT the amulet of loss preventLoss only works if i have it in the neck slot so my conclusion is that the attribute key = absorbPercent...fire/physical you name it doesnt cooporate with the slotType or something.
PLEASE HELP ME OUT!!
Regaards Johan.
So i have a little problem in my server i use Avesta 0.6.3 i think.
Well the problem is with Stone skin amulet and all other items with absorbPercent key value.
Items.xml code
Code:
<item id="2197" article="a" name="stone skin amulet">
<attribute key="weight" value="760"/>
<attribute key="slotType" value="necklace"/>
<attribute key="charges" value="5"/>
<attribute key="showcharges" value="1"/>
<attribute key="absorbPercentPhysical" value="80"/>
</item>
Code:
<movevent event="Equip" itemid="2197" slot="necklace" function="onEquipItem" />
<movevent event="DeEquip" itemid="2197" slot="necklace" function="onDeEquipItem" />
now we login and try but if i have the stone skin amulet in the hand Slot or arrow and neck slot it will work anyways. means i can use 4 stone skin amulets at the same time result in no DMG at all to the player wearing it.
BUT the amulet of loss preventLoss only works if i have it in the neck slot so my conclusion is that the attribute key = absorbPercent...fire/physical you name it doesnt cooporate with the slotType or something.
PLEASE HELP ME OUT!!
Regaards Johan.