![]() |
Sets with shield question
Real quick question, How does the server know what set bonus part to apply when the shield is equiped with the rest of the set? Anyone know how this works.
Thanks for any help |
Code:
set_begin 7 slot_chest=352 slot_legs=2378 slot_head=2411 slot_lhand=2493 slot_additional=[slot_lhand] set_skill=[s_brigandine_set] p_def_inc={5;0} m_def_inc={0;0} hp_inc={153;20} mp_inc={0;0} move_speed_inc={0;0} breath_inc={0;0} magic_resist_inc={0;0} casting_speed_inc={0;0} p_attack_inc={0;0} m_attack_inc={0;0} hp_regen_inc={0;0} mp_regen_inc={0;0} str_inc={0;0} con_inc={0;0} dex_inc={0;0} int_inc={0;0} men_inc={0;0} wit_inc={0;0} avoid_inc={0;0} shield_def_prob_inc={0;0} weight_limit_inc={0;0} resist_poison_inc={0;0} p_def_vs_dagger_inc={0;0} set_endwell first you declare the items. slot_chest=352 slot_legs=2378 slot_head=2411 slot_lhand=2493 slot_additional=[slot_lhand] as you see you declare the slot_lhand and after that you make the slot_additional=[slot_lhand]. then the bonus: hp_inc={153;20} This sets gives +153 HP and +20 HP with shield. so the number behind the ; is the additional bonus. for example if you want shield defense rate +24 when shield equipped with this set put this: shield_def_prob_inc={0;24} |
solutio create skill for shield and add on itemdata ;)
|
can there will be a skill just with additional slot?
|
nice solution kepler001 , then all shields will have skill with or without set
really nice Oo |
i thourght the format was xxx_inc={+%;+N}
|
well you can make another set one with shield one without and you give the one with shield the skill + the other setsbonuses
|
so then i take it that to have a +% you must do that with the skill data and only use the set data in itemdata.txt for the parts that are +N
|
| All times are GMT. The time now is 15:40. |