knife_sj
30.01.2006, 02:16
well i've made this skills for cheapshot
the bow (whens critical hit) use the skill (thats the idea)
the skill is just like mana potion (heals certain amount of MP)
but... the problem is, when i set me the skill and use it, i get X mp healed
but when i make critical hit with the bow nothings happend ><
i've tryied making that the X amount of MP healed = to 200 so when i made a critical it must healme 200 of mp, but nothing happed....
Tellme whats my error :P
Itemdata
//-------------
item_begin weapon 4818 [noble_elven_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1760 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=8 spiritshot_count=2 immediate_effect=1 price=0 default_price=2000000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot1] material_type=mithril crystal_type=c crystal_count=1148 is_trade=1 is_drop=1 is_destruct=1 physical_damage=252 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=8 magical_damage=68 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 item_end
item_begin weapon 4824 [eminence_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1720 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=10 spiritshot_count=3 immediate_effect=1 price=0 default_price=6130000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot2] material_type=chrysolite crystal_type=c crystal_count=2452 is_trade=1 is_drop=1 is_destruct=1 physical_damage=323 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=9 magical_damage=83 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 item_end
item_begin weapon 4830 [hazard_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none 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 immediate_effect=1 price=0 default_price=13100000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot3] 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=10 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 item_end
item_begin weapon 5611 [soul_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1660 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=27000000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot4] material_type=oriharukon crystal_type=a crystal_count=2160 is_trade=1 is_drop=1 is_destruct=1 physical_damage=528 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 effective_range=600 damage_range={0;0;10;0} attack_speed=227 reuse_delay=1100 mp_consume=11 magical_damage=126 durability=95 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
skilldata
/--------------
skill_begin skill_name = [s_special_ability_cheapshot1] /* [?? ???] */ skill_id = 6000 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot2] /* [?? ???] */ skill_id = 6001 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot3] /* [?? ???] */ skill_id = 6002 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot4] /* [?? ???] */ skill_id = 6003 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
Skill_pch
//-------------
[s_special_ability_cheapshot1] = 1536001
[s_special_ability_cheapshot2] = 1536257
[s_special_ability_cheapshot3] = 1536513
[s_special_ability_cheapshot4] = 1536769
Skill_pch2
//-------------
1536001 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536257 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536513 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536769 -1 0 0 0 0 29 -1 0 0 0 0 -12345
the bow (whens critical hit) use the skill (thats the idea)
the skill is just like mana potion (heals certain amount of MP)
but... the problem is, when i set me the skill and use it, i get X mp healed
but when i make critical hit with the bow nothings happend ><
i've tryied making that the X amount of MP healed = to 200 so when i made a critical it must healme 200 of mp, but nothing happed....
Tellme whats my error :P
Itemdata
//-------------
item_begin weapon 4818 [noble_elven_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1760 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=8 spiritshot_count=2 immediate_effect=1 price=0 default_price=2000000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot1] material_type=mithril crystal_type=c crystal_count=1148 is_trade=1 is_drop=1 is_destruct=1 physical_damage=252 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=8 magical_damage=68 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 item_end
item_begin weapon 4824 [eminence_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1720 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=10 spiritshot_count=3 immediate_effect=1 price=0 default_price=6130000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot2] material_type=chrysolite crystal_type=c crystal_count=2452 is_trade=1 is_drop=1 is_destruct=1 physical_damage=323 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=9 magical_damage=83 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 item_end
item_begin weapon 4830 [hazard_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none 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 immediate_effect=1 price=0 default_price=13100000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot3] 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 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=10 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 item_end
item_begin weapon 5611 [soul_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1660 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=1 spiritshot_count=1 immediate_effect=1 price=0 default_price=27000000 item_skill=[none] critical_attack_skill=[s_special_ability_cheapshot4] material_type=oriharukon crystal_type=a crystal_count=2160 is_trade=1 is_drop=1 is_destruct=1 physical_damage=528 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 effective_range=600 damage_range={0;0;10;0} attack_speed=227 reuse_delay=1100 mp_consume=11 magical_damage=126 durability=95 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
skilldata
/--------------
skill_begin skill_name = [s_special_ability_cheapshot1] /* [?? ???] */ skill_id = 6000 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot2] /* [?? ???] */ skill_id = 6001 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot3] /* [?? ???] */ skill_id = 6002 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_special_ability_cheapshot4] /* [?? ???] */ skill_id = 6003 level = 1 operate_type = A1 magic_level = 1 effect = {{i_mp;500;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = 0 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
Skill_pch
//-------------
[s_special_ability_cheapshot1] = 1536001
[s_special_ability_cheapshot2] = 1536257
[s_special_ability_cheapshot3] = 1536513
[s_special_ability_cheapshot4] = 1536769
Skill_pch2
//-------------
1536001 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536257 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536513 -1 0 0 0 0 29 -1 0 0 0 0 -12345
1536769 -1 0 0 0 0 29 -1 0 0 0 0 -12345