How to create a zone that restores HP/CP/MP/Skill cooldown upon resurrection

Path:
data/zone
We choose any standard zone for example, let's say:
data/zone/epic.xml

And add the parameters:
<set name="restoreZoneHpCpMpOnRevive" val="true" /> - when this parameter is set, the player will have their HP/CP/MP fully restored upon resurrection.
<set name="restoreZoneSkillCooldownOnRevive" val="true" /> - when this parameter is set, all skill cooldowns will be reset for the player upon resurrection.

Example:
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <set name="restoreZoneHpCpMpOnRevive" val="true" />
        <set name="restoreZoneSkillCooldownOnRevive" val="true" />
        <polygon>
            <coords loc="-23176 185080 -6000 -5500" />
            <coords loc="-20104 185080 -6000 -5500" />
            <coords loc="-20104 177928 -6000 -5500" />
            <coords loc="-23176 177928 -6000 -5500" />
        </polygon>
    </zone>
 
é possivel criar uma zona em que o player quando morrer nao perca os buffs e colocar no to village a opção dele voltar para o mesmo lugar, como se fosse o "fixed" do adm
 
Last edited:
Back
Top