PDA

View Full Version : Sets with shield question


GMan
10.05.2006, 05:11
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

Virexor
10.05.2006, 08:47
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_end


well for example brigandine set it gives +20 HP with shield
well 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}

kepler001
10.05.2006, 08:56
solutio create skill for shield and add on itemdata ;)

Mattho
10.05.2006, 12:48
can there will be a skill just with additional slot?

archonus
11.05.2006, 03:43
nice solution kepler001 , then all shields will have skill with or without set
really nice Oo

GMan
11.05.2006, 04:02
i thourght the format was xxx_inc={+%;+N}

Virexor
11.05.2006, 08:57
well you can make another set one with shield one without and you give the one with shield the skill + the other setsbonuses

GMan
11.05.2006, 23:59
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