View Single Post
Old 08.02.2007, 16:19   #2
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

i have an idea of how u can make it not sure though didnt try it my self

one way would be to make a new item in item data like
this is the default code in itemdata for hazard bow:

Code:
item_begin	weapon	287	[hazard_bow]	item_type=weapon	slot_bit_type={lrhand}	armor_type=none	etcitem_type=none	recipe_id=0	blessed=0	weight=1700	default_action=action_equip	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=3	spiritshot_count=1	reduced_soulshot={}	reduced_spiritshot={}	reduced_mp_consume={}	immediate_effect=1	price=0	default_price=13100000	item_skill=[none]	critical_attack_skill=[none]	attack_skill=[none]	magic_skill=[none]	item_skill_enchanted_four=[none]	material_type=blood_steel	crystal_type=b	crystal_count=1746	is_trade=1	is_drop=1	is_destruct=1	physical_damage=400	random_damage=5	weapon_type=bow	can_penetrate=0	critical=12	hit_modify=-3.75	avoid_modify=0	dual_fhit_rate=0	shield_defense=0	shield_defense_rate=0	attack_range=500	damage_range={0;0;10;0}	attack_speed=293	reuse_delay=1500	mp_consume=9	magical_damage=99	durability=97	damaged=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	enchant_enable=1	can_equip_sex=-1	can_equip_race={}	can_equip_change_class=-1	can_equip_class={}	can_equip_agit=-1	can_equip_castle=-1	can_equip_castle_num={}	can_equip_clan_leader=-1	can_equip_clan_level=-1	can_equip_hero=-1	can_equip_nobless=-1	can_equip_chaotic=-1	item_end
make new item called hazard_bow2 , get new item id for it that is not taken already and change enchanted=0 to enchanted = 2
something like that
like that:

Code:
item_begin	weapon	13371	[hazard_bow2]	item_type=weapon	slot_bit_type={lrhand}	armor_type=none	etcitem_type=none	recipe_id=0	blessed=0	weight=1700	default_action=action_equip	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=3	spiritshot_count=1	reduced_soulshot={}	reduced_spiritshot={}	reduced_mp_consume={}	immediate_effect=1	price=0	default_price=13100000	item_skill=[none]	critical_attack_skill=[none]	attack_skill=[none]	magic_skill=[none]	item_skill_enchanted_four=[none]	material_type=blood_steel	crystal_type=b	crystal_count=1746	is_trade=1	is_drop=1	is_destruct=1	physical_damage=400	random_damage=5	weapon_type=bow	can_penetrate=0	critical=12	hit_modify=-3.75	avoid_modify=0	dual_fhit_rate=0	shield_defense=0	shield_defense_rate=0	attack_range=500	damage_range={0;0;10;0}	attack_speed=293	reuse_delay=1500	mp_consume=9	magical_damage=99	durability=97	damaged=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=2	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	enchant_enable=1	can_equip_sex=-1	can_equip_race={}	can_equip_change_class=-1	can_equip_class={}	can_equip_agit=-1	can_equip_castle=-1	can_equip_castle_num={}	can_equip_clan_leader=-1	can_equip_clan_level=-1	can_equip_hero=-1	can_equip_nobless=-1	can_equip_chaotic=-1	item_end
after that you can add to multisell like any other thing u add to multisell
something like that:

Code:
MultiSell_begin [Enchanted_items] 1337 
selllist={
{{{[hazard_bow2];1}};{{[adena];100000}}}
}
MultiSell_end

but maybe im wrong or maybe theres a better way to do it :P
take care
TehUb3r is offline