Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.04.2006, 23:26   #1
MelkorTheStrong
Архивный участник
 
Join Date: Mar 2006
Posts: 135
Default [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...)
MelkorTheStrong is offline  
Old 22.04.2006, 23:38   #2
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Maybe operate_cond={armor_heavy}
Or made set with one item... Heavy armor, if it possible...
I may be do a mistake...
hel is offline  
Old 23.04.2006, 00:00   #3
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

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
Typo corrected.
Enishi is offline  
Old 23.04.2006, 00:10   #4
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

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 is offline  
Old 23.04.2006, 01:21   #5
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Mattho:
Not sure.
I'm nooblike in skilldata.
hel is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:45.