Jump to content
  • 0

A Good Explanation About It!


Question

Posted (edited)

skill_begin skill_name=[tatto_mdef] skill_id=10520 level=1 operate_type=P effect={{p_magical_defence;{all};10;per}} skill_end

skill_begin skill_name=[tatto_evas] skill_id=10521 level=1 operate_type=P effect={{p_avoid;{all};10;diff}} skill_end
skill_begin skill_name=[tatto_hp] skill_id=10522 level=1 operate_type=P effect={{p_max_hp;755;diff}} skill_end
skill_begin skill_name=[tatto_pdef] skill_id=10520 level=1 operate_type=P effect={{p_physical_defence;{all};10;per}} skill_end
skill_begin skill_name=[tatto_speed] skill_id=10520 level=1 operate_type=P effect={{p_speed;{all};10;per}} skill_end
skill_begin skill_name=[tatto_casting] skill_id=10522 level=1 operate_type=P effect={{p_magic_speed;20;diff}} skill_end
skill_begin skill_name=[tatto_m_atack] skill_id=10522 level=1 operate_type=P effect={{p_magical_attack;20;diff}} skill_end
skill_begin skill_name=[tatto_p_atack] skill_id=10522 level=1 operate_type=P effect={{p_physical_attack;20;diff}} skill_end
skill_begin skill_name=[tatto_attack_speed] skill_id=10522 level=1 operate_type=P effect={{p_attack_speed;20;diff}} skill_end
skill_begin skill_name=[tatto_critical_rate] skill_id=10522 level=1 operate_type=P effect={{p_magic_critical_rate;10;diff}} skill_end
skill_begin skill_name=[tatto_acuracy] skill_id=10522 level=1 operate_type=P effect={{p_hit;10;diff}} skill_end
 
 

{all};10;diff}}

all};10;per}}

 

all,diff and per ?

 

What a result ?

 
I'm riding tattoo
as it should be ?
Edited by NaelsonMT

1 answer to this question

Recommended Posts

  • 0
Posted

Effect of type 'p_magical_defence' has three parameters:

1. Types of armor required (all = heavy, light, robe)

2. Modifier value

3. Modifier type (per = skillMDefendPer, diff = skillMDefendDiff). In this case, 'per' will multiply the base MDefend value by 1 + (modifier value / 100), while 'diff' would add the modifier value after all calculations have been performed.

 

You must always know the parameters an effect type expects, otherwise L2Server will simply fail to load skilldata once it encounters the first invalid entry, which in your case should be tatto_hp (at least on a clean GF server).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...