Cubics

rihosedemon

Heir
Customer
As I am unable to write my own custom AI so agathions will cast skills I first tried to create a passive skill this is just an example that activates when player's hp is lower than 50% he is healed back for certain amount but the issue with this is that I am unable to activate an animation of healing skill appear while I used the skillgrp of battle heal if someone knows if it is possible the animation to appear please tell me here is what I used:
<skill id="20032" levels="1" name="Agathion: Emergency Heal">
<set name="operateType" val="OP_PASSIVE"/>
<set name="skillType" val="PASSIVE"/>
<set name="target" val="TARGET_SELF"/>
<set name="icon" val="icon.skill1015"/>
<set name="isMagic" val="false"/>
<set name="magicLevel" val="78"/>
<triggers>
<trigger id="20033" level="1" type="RECEIVE_DAMAGE" chance="100"/>
</triggers>
</skill>

<skill id="20033" levels="1" name="Emergency Heal">
<set name="operateType" val="OP_ACTIVE"/>
<set name="skillType" val="HEAL"/>
<set name="target" val="TARGET_SELF"/>
<set name="power" val="2000"/>
<set name="reuseDelay" val="15"/>
<set name="isMagic" val="true"/>
<set name="magicLevel" val="78"/>
<set name="icon" val="icon.skill1015"/>
<cond msg="Emergency Heal only activates when HP is low.">
<player percentHP="50"/>
</cond>
</skill>

After I tried with cubics yes the animation of battle heal appears and works as I want but it is limited to the specific ids of cubics. As I understand in order to add new cubic you need to edit also the effect and add the new id of cubic as the appeareance works like that:

LineageEffect.s_u013_a
LineageEffect.s_u013_d
LineageEffect.s_u013_c
LineageEffect.s_u013_e
LineageEffect.s_u013_b

Here is what I did with the cubic:
created a new id of cubic:
<cubic id="15" level="1" delay="2">
<skills chance="100">
<skill id="1015" level="15" action_type="HEAL" can_attack_door="false">
<chance min="0" max="49" value="100"/>
<chance min="50" max="100" value="0"/>
</skill>
</skills>
</cubic>

created skill of cubic:

<skill id="20034" levels="1" name="Summon Healing Cubic">
<set name="icon" val="icon.skill0067"/>
<set name="reuseDelay" val="10000"/>
<set name="magicLevel" val="80"/>
<set name="hitTime" val="400"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_ACTIVE"/>
<for>
<effect name="Cubic" stackType="storm_cubic" stackOrder="1" time="900">
<def name="cubicId" val="15"/> <!-- Unique ID -->
<def name="cubicLevel" val="1"/>
<player cubic="15"/>
</effect>
</for>
</skill>

If someone could help me understand how to add to add appearence to the new cubics and if it is possible to remove the casting animation from player, I would appreciate it.

Here is an example:
 
Last edited:
Back
Top