Fixed trying to create a new buff for the newbie guide

vithor

Vassal
Customer
UPDATE 1: I added the displayId property to effect and the icon + description started appearing, but how do I create my own icon and description?

1747580434132.webp

UPDATE 2:
To create a new buff from scratch you need to edit two files within the system, SkillName_Classic-eu.dat and Skillgrp_Classic.dat.

In SkillName_Classic-eu.dat you add things like name and description. Example of the code I applied

Code:
skill_begin    skill_id=16960    skill_level=1    skill_sublevel=0    name=[Magic Barrier for Beginners]    desc=[Temporarily increases M. Def. Effect 1. ASD ASD ASD]    desc_param=[]    enchant_name=[none]    enchant_name_param=[]    enchant_desc=[none]    enchant_desc_param=[]    skill_end

And in Skillgrp_Classic.dat you add things like Icon, visual effect and etc...

Code:
skill_begin    skill_id=16960    skill_level=1    skill_sublevel=0    icon_type=0    MagicType=0    operate_type=1    mp_consume=0    cast_range=400    cast_style=0    hit_time=0.0    cool_time=0.0    reuse_delay=0.0    effect_point=0    is_magic=1    origin_skill=0    is_double=0    animation={[None]}    skill_visual_effect=[4322]    icon=[icon.skill1036]    icon_panel=[None]    debuff=0    resist_cast=0    enchant_skill_level=0    enchant_icon=[None]    hp_consume=0    rumble_self=-1    rumble_target=10    skill_end

final result:

1747588964413.webp

====================================================================================================

I'm trying to create a new buff to add it to the newbie guide, I can get the effect to be applied, but the icon and its description don't appear in the interface.

1747579123003.webp

My current code:

in 16900-16999.xml

XML:
<?xml version="1.0" encoding="UTF-8"?>
<list>
  <skill id="16960" levels="1" name="Adventurer's Magic Barrier">
    <set name="magicType" val="MAGIC"/>
    <set name="icon" val="icon.skill1036"/>
    <set name="magicLevel" val="60"/>
    <set name="castRange" val="400"/>
    <set name="target" val="TARGET_ONE"/>
    <set name="skillType" val="BUFF"/>
    <set name="operateType" val="OP_ACTIVE"/>
    <set name="isNewbie" val="true"/>
    <for>
      <effect count="1" name="Buff" stackOrder="2" stackType="MagicDefUp" time="3600" val="0">
        <add order="0x40" stat="mDef" val="1.23"/>
      </effect>
    </for>
  </skill>
</list>

in newbie_buffs.xml

XML:
<buff skill_id="16960" skill_level="1" min_level="1" max_level="70"/>
 
Last edited:
UPDATE: I added the displayId property to effect and the icon + description started appearing, but how do I create my own icon and description?
 
UPDATE: I added the displayId property to effect and the icon + description started appearing, but how do I create my own icon and description?
you need to edit the client-side.
make you icon, save it in a new or existing ukx in systextures
insert it in system dats so it can load
and voila!
 
Back
Top