코기전용 펫 AI(신속의날개/플로랄실드/풀링필드/푸싱필드)

    펫이 알아서 특기와 핀즈비즈를 사용하게 하자!

    기존 주인바라기 AI에서 신속의 날개(특기), 플로랄실드(핀즈비즈), 풀링필드(핀즈비즈), 푸싱필드(핀즈비즈)의 액션만 추가한 것이다. 전투하면서 펫의 특기나 핀즈비즈까지 하나하나 클릭하면서 사냥하는 것은 매우 비효율적이기 때문에 자동으로 특정상황에서 사용되도록 하면 훨씬 강력한 펫 시너지를 낼 수 있다.

    전투 시 디링을 자주 사용하는 사람에게, 특히 신속의 날개로 빠른 던전 돌파를 하는 사람들에게는 신속의날개 특기를 자동으로 사용하게 하는 것이 좋은데, 이 경우, 주인이 스킬(mater_skill_prepare)을 준비 할 때, 신속의날개(PetSTMoveSpeedUp)을 사용하게 한다.

     

    <rules>
    	<rule name="신속의날개">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="PetST_skill" pet_st="PetSTMoveSpeedUp" timeout="0"/>
    			</sequence>
    		</pattern>
    		<event name="master_skill_prepare" event_skill="all"/>
    	</rule>
    	<rule name="플로랄실드">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="PetEQ_skill" pet_eq="FloralShield" timeout="0"/>
    			</sequence>
    		</pattern>
    		<event name="attacked" master_skill="all" down="false"/>
    	</rule>
    	<rule name="풀링필드">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="PetEQ_skill" pet_eq="PullingField" timeout="0"/>
    			</sequence>
    		</pattern>
    		<event name="attacked" master_skill="all" down="true"/>
    	</rule>
    	<rule name="푸싱필드">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="PetEQ_skill" pet_eq="PushingField" timeout="0"/>
    			</sequence>
    		</pattern>
    		<event name="master_attacked" master_skill="all" down="true"/>
    	</rule>
    	<rule name="펫 인식당함">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="cancel_skill"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="targeted" targeting_type="alert"/>
    	</rule>
    	<rule name="주인 인식당함">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="cancel_skill"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="master_targeted" targeting_type="alert"/>
    	</rule>
    	<rule name="펫 공격당함1">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="2000" run="true"/>
    			</sequence>
    		</pattern>
    		<event name="attacked" master_skill="all" down="false"/>
    	</rule>
    	<rule name="펫 공격당함2">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="attacked" master_skill="all" down="true"/>
    	</rule>
    	<rule name="주인 공격당함1">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="master_attacked" master_skill="all" down="false"/>
    	</rule>
    	<rule name="주인 공격당함2">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    			</sequence>
    		</pattern>
    		<event name="master_attacked" master_skill="all" down="true"/>
    	</rule>
    	<rule name="주인 스킬 준비함">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="master_skill_prepare" event_skill="all"/>
    	</rule>
    	<rule name="주인 공격함">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    			</sequence>
    		</pattern>
    		<event name="master_attack" master_skill="all"/>
    	</rule>
    	<rule name="무조건 주인 쫓기">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="seek_target"/>
    	</rule>
    	<rule name="정말 무조건 주인 쫓기">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="now_targeting"/>
    	</rule>
    	<rule name="추가타 넣지 않기1">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="500" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="attack" pet_attackable_skill="all" down="false"/>
    	</rule>
    	<rule name="추가타넣지 않기2">
    		<conditions/>
    		<pattern>
    			<param_decl/>
    			<sequence>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    				<cmd name="chase" chase_target="master" timeout="0" run="true"/>
    				<cmd name="wait" min="2000" max="2000"/>
    			</sequence>
    		</pattern>
    		<event name="attack" pet_attackable_skill="all" down="true"/>
    	</rule>
    </rules>
    

    사용방법은 펫의 AI에 그대로 복사 - 붙여넣기해서 이름만 정해주고 사용하면 된다.

    - 솔직히, AI 짜는 거 그렇게 어렵지 않기때문에 맞춤형으로 짜고 싶은 사람은 직접 짜도록 하자.