Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Help] How to make it so only heavy armor would get this? (https://postpacific.loc-online.com/showthread.php?t=4146)

MelkorTheStrong 22.04.2006 23:26

[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...)

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

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.

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. :)


All times are GMT. The time now is 16:19.