Edit and work with the augmentation

Deazer

Head Developer
Staff member
Location Information:
Augment id and stats - gameserver/data/optiondata/
The chances of catching LS - gameserver/data/variation_data.xml
In what items can be inserted and prices for variation - gameserver/data/variation_group.xml

Description structure gameserver/data/optiondata/
<Optiondata id = "2600"> - ID of the LS (stat/skill)
<For>
<Add order = "0x40" stat = "maxMp" value = "20.72" /> - stats
<Add order = "0x40" stat = "regCp" value = "0.28" /> - stats

Description gameserver/data/variation_data.xml

<Variation_data mineralId = "8723"> - id Life Stone himself in this example, Life Stone - Level 46
<Options type = "WARRIOR"> - type Weapon to which variation1 variation2 will be applied in this case to the Physical weapons
<Variation1> - opsheny for variation1
<Group chance = "100.0"> - the drop rate of the group. groups can not exceed 100%
<Option id = "1" chance = "50.0" /> - a chance to augment precipitation, the amount of chances within the group for the option may not exceed 100%. Id itself is taken from the gameserver/data/optiondata/
<Option id = "2" chance = "50.0" />


<Variation2>
<Group chance = "50.0"> - the drop rate of the group. groups can not exceed 100%
<Option id = "7281" chance = "50.0" />
<Option id = "7282" chance = "50.0" />

<Group chance = "50.0">
<Option id = "8191" chance = "50.0" />
<Option id = "8192" chance = "50.0" />



<Options type = "MAGE"> - type Weapon to which variation1 variation2 will be applied in this case, the magic weapon
<Variation1>
<Group chance = "100.0">
<Option id = "3641" chance = "50.0" />
<Option id = "3642" chance = "50.0" />


<Variation2>
<Group chance = "50.0">
<Option id = "7281" chance = "50.0" />
<Option id = "7282" chance = "50.0" />

<Group chance = "50.0">
<Option id = "8191" chance = "50.0" />
<Option id = "8192" chance = "50.0" />
 
Last edited:
Hello, if i add "val="#1.05" is it now 5 % increase p atk ?

<skill id="3240" levels="10" name="Item Skill: Might">
<!--
Description: Passive: Increases P. Atk. when equipped

Last modify: 11.08.2009
-->
<table name="#val">10 11 12 13 14 15 16 17 18 18</table>
<table name="#magicLevel">46 49 52 55 58 61 64 67 70 75</table>
<set name="icon" val="icon.skill3238"/>
<set name="magicLevel" val="#magicLevel"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x60" stat="pAtk" val="#val"/>
</for>
</skill>
 
Hello, if i add "val="#1.05" is it now 5 % increase p atk ?

<skill id="3240" levels="10" name="Item Skill: Might">
<!--
Description: Passive: Increases P. Atk. when equipped

Last modify: 11.08.2009
-->
<table name="#val">10 11 12 13 14 15 16 17 18 18</table>
<table name="#magicLevel">46 49 52 55 58 61 64 67 70 75</table>
<set name="icon" val="icon.skill3238"/>
<set name="magicLevel" val="#magicLevel"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x60" stat="pAtk" val="#val"/>
</for>
</skill>
https://lucera2.com/threads/all-about-skills-and-effects-guide.1932/

for add 5% p.attack u need write in your skill
XML:
<mul order="0x30" stat="pAtk" val="1.05"/>
 
I tried it on M def, but it doesnt add 5% m def,
do i need to delete "#val"> ?


<table name="#val">10.8 11.62 11.96 12.66 13.01 13.08 14 14.99 15.88 16.32</table>
<table name="#magicLevel">46 49 52 55 58 61 64 67 70 75</table>
<set name="icon" val="icon.skill3238"/>
<set name="magicLevel" val="#magicLevel"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x30" stat="mDef" val="1.05"/>
 
I tried it on M def, but it doesnt add 5% m def,
do i need to delete "#val"> ?


<table name="#val">10.8 11.62 11.96 12.66 13.01 13.08 14 14.99 15.88 16.32</table>
<table name="#magicLevel">46 49 52 55 58 61 64 67 70 75</table>
<set name="icon" val="icon.skill3238"/>
<set name="magicLevel" val="#magicLevel"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_PASSIVE"/>
<for>
<add order="0x30" stat="mDef" val="1.05"/>
study the guides before working with the server, everything is there



https://lucera2.com/threads/all-about-skills-and-effects-guide.1932/

effects are added with words:
<add - adding
<mul - multiplying
<set - set
<sub - minus
<div - divide

all guides https://lucera2.com/forums/en-guides-for-lucera2.36/
 
Back
Top