mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-28 15:46:49 +01:00
implement absorbDrown damage properly on items
This commit is contained in:
@@ -671,7 +671,7 @@
|
||||
<movevent event="AddItem" itemid="2151" function="onAddField" />
|
||||
|
||||
<!-- Helmets -->
|
||||
<movevent event="Equip" itemid="5460" slot="head" function="onEquipItem" script="misc/helmet_of_the_deep.lua" />
|
||||
<movevent event="Equip" itemid="5460" slot="head" function="onEquipItem" />
|
||||
<movevent event="DeEquip" itemid="5460" slot="head" function="onDeEquipItem" />
|
||||
|
||||
<!-- Boots -->
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
function onEquip(player, item, slot)
|
||||
player:removeCondition(CONDITION_DROWN)
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user