L2JMobius

Crusader Custom skill is not called by CallSkill

yajeenvy · 8 · 2034

Offline yajeenvy

  • Vassal
  • *
    • Posts: 4
Hello community.
Please tell me what I'm doing wrong.
I added a debuff skill to custom and I want to call it through CallSkill, but nothing happens on characters, but it works on monsters.
https://ibb.co/VBdYb6j
I added my custom skill to Skillgrp and SkillName as well.
If add my custom skill to the character through the admin and use it separately on the enemy, then it works.


Main skill.
Code: [Select]
<skill id="47942" toLevel="6" name="Spear Rumble">
<icon>icon.s_spear_stump</icon>
<affectLimit>10-12</affectLimit>
<affectRange>200</affectRange>
<hitTime>1500</hitTime>
<basicProperty>PHYSICAL</basicProperty>
<effectPoint>
<value level="1">-1190</value>
<value level="2">-1200</value>
<value level="3">-1210</value>
<value level="4">-1220</value>
<value level="5">-1230</value>
<value level="6">-1240</value>
</effectPoint>
<magicLevel>
<value level="1">76</value>
<value level="2">82</value>
<value level="3">84</value>
<value level="4">86</value>
<value level="5">88</value>
<value level="6">90</value>
</magicLevel>
<mpConsume>
<value level="1">100</value>
<value level="2">110</value>
<value level="3">120</value>
<value level="4">130</value>
<value level="5">140</value>
<value level="6">150</value>
</mpConsume>
<operateType>A1</operateType>
<reuseDelay>30000</reuseDelay>
<magicCriticalRate>5</magicCriticalRate>
<targetType>SELF</targetType>
<affectScope>POINT_BLANK</affectScope>
<affectObject>NOT_FRIEND</affectObject>
<conditions>
<condition name="EquipWeapon">
<weaponType>
<item>POLE</item>
</weaponType>
</condition>
</conditions>
<effects>
<effect name="PhysicalAttack">
<power>
<value level="1">4099</value>
<value level="2">4210</value>
<value level="3">4322</value>
<value level="4">4432</value>
<value level="5">4544</value>
<value level="6">4656</value>
</power>
<pDefMod>0.85</pDefMod>
<ignoreShieldDefence>true</ignoreShieldDefence>
<criticalChance>20</criticalChance>
<overHit>true</overHit>
</effect>
<effect name="CallSkill">
<skillId>479420</skillId>
<skillLevel>
<value level="1">1</value>
<value level="2">2</value>
<value level="3">3</value>
<value level="4">4</value>
<value level="5">5</value>
<value level="6">6</value>
</skillLevel>
</effect>
</effects>
</skill>

The custom skill that I'm calling.
Code: [Select]
<skill id="479420" displayId="479420" toLevel="6" name="Spear Rumble">
<icon>icon.s_spear_stump</icon>
        <activateRate>100</activateRate>
        <basicProperty>PHYSICAL</basicProperty>
<affectLimit>10-12</affectLimit>
<affectRange>200</affectRange>
<abnormalLevel>
<value level="1">1</value>
<value level="2">2</value>
<value level="3">3</value>
<value level="4">4</value>
<value level="5">5</value>
<value level="6">6</value>
</abnormalLevel>
<abnormalTime>30</abnormalTime>
<abnormalType>PA_DOWN</abnormalType>
<effectPoint>
<value level="1">-1190</value>
<value level="2">-1200</value>
<value level="3">-1210</value>
<value level="4">-1220</value>
<value level="5">-1230</value>
<value level="6">-1240</value>
</effectPoint>
<magicLevel>
<value level="1">76</value>
<value level="2">82</value>
<value level="3">84</value>
<value level="4">86</value>
<value level="5">88</value>
<value level="6">90</value>
</magicLevel>
        <isDebuff>true</isDebuff>
<operateType>A2</operateType>
        <magicCriticalRate>5</magicCriticalRate>
<targetType>SELF</targetType>
<affectScope>POINT_BLANK</affectScope>
<affectObject>NOT_FRIEND</affectObject>
<effects>
<effect name="PAtk">
<amount>
<value level="1">-30</value>
<value level="2">-30</value>
<value level="3">-30</value>
<value level="4">-40</value>
<value level="5">-40</value>
<value level="6">-40</value>
</amount>
<mode>PER</mode>
</effect>
<effect name="PhysicalSkillCriticalDamage">
<amount>-5</amount>
<mode>PER</mode>
</effect>
<effect name="DispelBySlotProbability">
<dispel>IMPROVE_SPEED_AVOID_UP;SPEED_UP</dispel>
<rate>100</rate>
</effect>            
</effects>
</skill>



Offline SavitarGodOfSpeed

  • Baron
  • *****
    • Posts: 211
  • Here to gain knowledge
1. Did you try by a trigger?

2. Try to see how other similar "Call" skills are working.


Offline yajeenvy

  • Vassal
  • *
    • Posts: 4
1. Did you try by a trigger?

2. Try to see how other similar "Call" skills are working.
hello, tried trigger and got no result.
I did not see any differences between other skills calling through callskill.
I call another skill through callskill, not my custom one, another skill works.


Offline petryxa

  • Viscount
  • *****
    • Posts: 389
As i remember, debuff will apllied on enemy, not character.

Quote
Removes Speed buffs.
For 30 sec. P. Atk. -30%
P. Skill Critical Damage -5%

And if you look at SkillName.dat this skill doesn't have a callskill.
Just use A2.



Offline yajeenvy

  • Vassal
  • *
    • Posts: 4
As i remember, debuff will apllied on enemy, not character.

And if you look at SkillName.dat this skill doesn't have a callskill.
Just use A2.
Then the effect of the skill goes to the buff line. What looks wrong is that the enemy is shown the full description of the skill, and not just the debuff.
https://ibb.co/C2gv6Jh
Therefore, I created a separate skill for this skill that will go to the debuff line and indicate information only about the debuff and added it to skillname and skillgrp.


Offline petryxa

  • Viscount
  • *****
    • Posts: 389
Did you check how it works on retail?


Так в чём проблема - у тебя ложится дебаф от 479420 на моба.


Offline yajeenvy

  • Vassal
  • *
    • Posts: 4
Did you check how it works on retail?


Так в чём проблема - у тебя ложится дебаф от 479420 на моба.
but should on mobs and character. but for some reason it doesn't work for the character.


Offline SavitarGodOfSpeed

  • Baron
  • *****
    • Posts: 211
  • Here to gain knowledge
Got an other question for you but sometimes the answer might rely on somewhere else. If you haven't figure it out by now.

Did you try to give these 2 skills (primary and call skill) to your self? To see if by themselves are existing, from the alt + g menu.

Because some times me when i am creating a skill i either forget to put it on Skillname.eu.dat file and skillgrp.dat or i forget to save the xml so the skill is not functioning properly.

Try to call them individualy on from the alt + g to your self. If they appear on your skill menu then everything is fine and then indeed something is wrong with the "callskill" effect.