How to make a zone in which active or passive skills will be prohibited

Deazer

Head Developer
Staff member
Path:
data/zone

For example, let's choose 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 the zone in order to block the active or passive skill when entering the zone, the active one cannot be used, the passive one will disable the stats. In the example, I will show you how to block the noblesse skill and deactivate the Boost HP passive skill.

Example:
Code:
    <zone name="[primeval_peace1]" type="peace_zone" >
        <set name="prohibitSkills" val="1323;211" /> <!-- Nobles skill and Boost HP -->
        <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>

look - I added <set name="prohibitSkills" val="1323; 211"/>
where skill_id=1323;skill_id=211

Example:
If we want to ban 1 skill when entering the zone:
Code:
   <zone name="[primeval_peace1]" type="peace_zone" >
        <set name="prohibitSkills" val="1323" />
        <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>
 
Back
Top