PDA

View Full Version : [Help] How to make it so only heavy armor would get this?


MelkorTheStrong
22.04.2006, 23:26
{{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...)

hel
22.04.2006, 23:38
Maybe operate_cond={armor_heavy}
Or made set with one item... Heavy armor, if it possible...
I may be do a mistake...

Enishi
23.04.2006, 00:00
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_de fence_attribute;attr_bow;-40;per};{p_defence_attribute;attr_dagger;-40;per}} skill_end

Typo corrected.

Mattho
23.04.2006, 00:10
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

hel
23.04.2006, 01:21
Mattho:
Not sure. :(
I'm nooblike in skilldata. :)