![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 135
|
{{p_defence_attribute;attr_bow;-40;per};{p_defence_attribute;attr_dagger;-40;per}}
Atm, if I give that to any chars, it'll affect all armor types. How do I make it so only Heavy armor equipped gets this? (I took these skill effects from npc skills. resist_dagger and something about greater_resist_bow. Can't remember exactly...) |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Maybe operate_cond={armor_heavy}
Or made set with one item... Heavy armor, if it possible... I may be do a mistake... |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2005
Posts: 354
|
Code:
skill_begin skill_name = [s_heavy_armor_mastery_war11] /* [?? ?? ????] */ skill_id = 231 level = 1 operate_type = P effect = {{p_physical_defence;{armor_heavy};1.9;diff};{p_defence_attribute;attr_bow;-40;per};{p_defence_attribute;attr_dagger;-40;per}} skill_end
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2006
Posts: 188
|
enishi, that will work even if you have light, or you are naked.
hel, is that operat cond correct? melkor, i made thread about this like 2days ago :P and as i said on irc i think the best way (if there is no operate_cond for equip armor heavy) is add that skill into itemdata for heavy armors as item_skill |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Mattho:
Not sure. ![]() I'm nooblike in skilldata.
|
|
|
|
|