How to make AutoBuff Zone

Deazer

Head Developer
Staff member
Path:
data/zone

We choose for an example any standard zone - for example:
data/zone/peace_zone.xml

Code:
    <zone name="[primeval_peace1]" type="peace_zone" >
        <polygon> <!-- 원시의 섬 선착장(20_17) -->
            <coords loc="10408 -27395 -4290 -1290" />
            <coords loc="12065 -25334 -4290 -1290" />
            <coords loc="12223 -23159 -4290 -1290" />
            <coords loc="10424 -22340 -4290 -1290" />
            <coords loc="9566 -23131 -4290 -1290" />
            <coords loc="9290 -24261 -4290 -1290" />
        </polygon>
    </zone>

And now we modify a zone in order that at an entrance to a zone to auto Nobles Buff or any else. I will specify in an example as buff Nobles
Option 1:
Code:
    <zone name="[primeval_peace1]" type="peace_zone" >
        <set name="zoneBuffs" val="1323:1" /> <!-- Nobles Buff -->
        <polygon> <!-- 원시의 섬 선착장(20_17) -->
            <coords loc="10408 -27395 -4290 -1290" />
            <coords loc="12065 -25334 -4290 -1290" />
            <coords loc="12223 -23159 -4290 -1290" />
            <coords loc="10424 -22340 -4290 -1290" />
            <coords loc="9566 -23131 -4290 -1290" />
            <coords loc="9290 -24261 -4290 -1290" />
        </polygon>
    </zone>
you look - I added <set name="zoneBuffs" val="1323:1" />
where skill_id=1323 skill_level=1

Option 2:

If we want to add much buff on zone enter:
Code:
   <zone name="[primeval_peace1]" type="peace_zone" >
        <set name="zoneBuffs" val="1323:1;1045:6;1047:4;1048:6" />
        <polygon> <!-- 원시의 섬 선착장(20_17) -->
            <coords loc="10408 -27395 -4290 -1290" />
            <coords loc="12065 -25334 -4290 -1290" />
            <coords loc="12223 -23159 -4290 -1290" />
            <coords loc="10424 -22340 -4290 -1290" />
            <coords loc="9566 -23131 -4290 -1290" />
            <coords loc="9290 -24261 -4290 -1290" />
        </polygon>
    </zone>

you look - I added <set name="zoneBuffs" val="1323:1;1045:6;1047:4;1048:6" />

Option 3:
If we want to add much buffs or one at the same time to modify buff time, but not to take standard buff time:

Code:
   <zone name="[primeval_peace1]" type="peace_zone" >
        <set name="zoneBuffs" val="1323:1/6000;1045:6/6000;1047:4/6000;1048:6/6000" />
        <polygon> <!-- 원시의 섬 선착장(20_17) -->
            <coords loc="10408 -27395 -4290 -1290" />
            <coords loc="12065 -25334 -4290 -1290" />
            <coords loc="12223 -23159 -4290 -1290" />
            <coords loc="10424 -22340 -4290 -1290" />
            <coords loc="9566 -23131 -4290 -1290" />
            <coords loc="9290 -24261 -4290 -1290" />
        </polygon>
    </zone>

you look - I added <set name="zoneBuffs" val="1323:1/6000;1045:6/6000;1047:4/6000;1048:6/6000" />

where "id1323:level1/time modifier in seconds 6000 = 100 minutes"

Conditions:
Buff will not be imposed to apply if registered on the Olympic Games, you are in a duel, dead, on trade and etc abnormal state.
 
Last edited:
hey friend, there is some parameter that as soon as he dies, and is reborn in the same area on Ex Primeval Island, I teleport there, I gain nobles, but if he dies and goes to the village, the character is reborn on the Island, and gains nobles again, because when reborn does not win nobles
 
Back
Top