Hello Friends,
I hope all have a good day.
These corrections were a lot of work to discover, because they only manifest when the server is live on a vps (There is a bigger ping), because on localhost they do not manifest themselves.Problem explanation: All dash, rush skills when you use on online server, the character returns to the initial cast location.The problem is <effect name = "EnemyCharge" /> which derives
public class EnemyCharge extends AbstractEffectwhich is in the /game/data/scripts/handlers/effecthandlers/EnemyCharge.java file.
Need put on pastebin, because this mensage have max length 2000 characters
Skill correction:
https://pastebin.com/bZwW0EBXTheres the path of files to correct:
- game/data/stats/skills/00400-00499.xml
- game/data/stats/skills/00900-00999.xml
- game/data/stats/skills/06000-06099.xml
- game/data/stats/skills/06200-06299.xml
- game/data/stats/skills/06600-06699.xml
I discovered another bug in another skill, but this time is not a rush/dash skill, is NPC Cancel Magic skill with id=4094 Problem explanation: All mobs that use this skill, the skill has a 100% chance and cancels all buffs. The correct thing is to have a 25% chance and cancel between 1 to 5 buffsThere the path of file to correct:
- game/data/stats/skills/04000-04099.xml
Skill correction:
How is the skill 4094 now in repository:
skill id="4094" levels="12" name="NPC Cancel Magic">
<table name="#magicLevel">10 20 30 40 50 60 70 75 80 85 90 95</table>
<table name="#mpConsume">10 16 21 28 36 44 52 55 58 60 61 62</table>
<table name="#mpInitialConsume">3 4 6 7 9 11 13 14 15 15 16 16</table>
<set name="affectScope" val="SINGLE" />
<set name="castRange" val="600" />
<set name="effectPoint" val="-100" />
<set name="effectRange" val="1100" />
<set name="hitTime" val="6000" />
<set name="isMagic" val="1" /> Magic Skill
<set name="magicLevel" val="#magicLevel" />
<set name="mpConsume" val="#mpConsume" />
<set name="mpInitialConsume" val="#mpInitialConsume" />
<set name="operateType" val="A1" />
<set name="rideState" val="NONE;STRIDER;WYVERN;WOLF" />
<set name="targetType" val="ONE" />
<for>
<effect name="DispelAll" />
</for>
</skill>
As it should be (4094):
<skill id="4094" levels="12" name="NPC Cancel Magic">
<!-- Confirmed CT2.5 -->
<table name="#magicLvl"> 10 20 30 40 50 60 70 75 80 85 90 95 </table>
<table name="#mpConsume"> 10 16 21 28 36 44 52 55 58 60 61 62 </table>
<table name="#mpInitialConsume"> 3 4 6 7 9 11 13 14 15 15 16 16 </table>
<set name="castRange" val="600" />
<set name="effectPoint" val="-100" />
<set name="effectRange" val="1100" />
<set name="hitTime" val="6000" />
<set name="isMagic" val="1" /> <!-- Magic Skill -->
<set name="magicLvl" val="#magicLvl" />
<set name="mpConsume" val="#mpConsume" />
<set name="mpInitialConsume" val="#mpInitialConsume" />
<set name="operateType" val="A1" />
<set name="targetType" val="ONE" />
<for>
<effect name="DispelByCategory" noicon="1" val="0">
<param slot="buff" rate="25" max="5" />
</effect>
</for>
</skill>