![]() |
[Help] How to make it so only heavy armor would get this?
{{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...) |
Maybe operate_cond={armor_heavy}
Or made set with one item... Heavy armor, if it possible... I may be do a mistake... |
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 |
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 |
Mattho:
Not sure. :( I'm nooblike in skilldata. :) |
| All times are GMT. The time now is 16:19. |