Есть лук на сервере
есть скилл на сервере
в клиенте skillgrp.dat
skillname-e.dat
skillsoundgrp.dat
Вопрос: после того как взял лук в руки не появляется скилл во вкладке активных скилов. В чем дело?
Ах да. Иконка в файле icon.utx (icon.skill3260 ) в systextures имеется.
Код:
item_begin weapon 9140 [salvation_bow] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=900 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=1 price=0 default_price=1 item_skill=[s_happiness] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=wood crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=1 random_damage=1 weapon_type=bow can_penetrate=1 critical=0 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=1 magical_damage=1 durability=-1 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=0 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
Код:
skill_begin skill_name=[s_happiness] /* [Happiness] */ skill_id=3261 level=1 operate_type=A1 magic_level=1 effect={{i_p_attack;1;0}} is_magic=0 mp_consume2=1 cast_range=500 effective_range=750 skill_hit_time=2.5 skill_cool_time=0 skill_hit_cancel_time=0 reuse_delay=2.5 attribute=attr_none effect_point=-100 target_type=enemy affect_scope=single affect_limit={0;0} next_action=none ride_state={@ride_none} skill_end
Код:
3261 1 0 1 500 5 2.50000000 0 S icon.skill3260 0 0 0 0 9 11
Код:
3261 1 a,Heart Shot\0 a,Taps into the magic of the bow to fire a harmless bolt. Warning: If you use this skill against a monster, it will flag you for PvP.\0 a,none\0 a,none\0
Код:
3261 1 SkillSound7.heart_shot_cast SkillSound7.heart_shot_shot SkillSound7.heart_shot_shot 250.00000000 40.00000000 250.00000000 40.00000000 250.00000000 40.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 250.00000000 50.00000000
Ах да. Иконка в файле icon.utx (icon.skill3260 ) в systextures имеется.