sandeagle Posted March 8, 2022 Share Posted March 8, 2022 (edited) i made a custom item,its hair...so i add a new skill effect with it..like effect={{p_max_hp;300;diff}},but when i use this hair and i found charactor could get 600 HP???why is 2x? i just wanna add 300 HP for players.... item_begin armor 10719 [HP_max_Tatoo1] item_type=armor slot_bit_type={underwear} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=10 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=1 price=1 default_price=500 item_skill=[HP_max_Tatoo1] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=wood crystal_type=s crystal_count=10 is_trade=0 is_drop=0 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=90 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=[HP_max_Tatoo1] skill_id=10633 level=1 operate_type=P effect={{p_max_hp;300;diff}} skill_end Edited March 11, 2022 by sandeagle Quote Link to comment Share on other sites More sharing options...
tiagopyerri Posted March 9, 2022 Share Posted March 9, 2022 14 hours ago, sandeagle said: i made a custom item,its hair...so i add a new skill effect with it..like effect={{p_max_hp;300;diff}},but when i use this hair and i found charactor could get 600 HP???why is 2x? i just wanna add 300 HP for players.... you made the accessory based on which item, take a look maybe it adds some advantage even before the skill is linked to it Quote Link to comment Share on other sites More sharing options...
Amenadiel Posted March 9, 2022 Share Posted March 9, 2022 20 hours ago, sandeagle said: i made a custom item,its hair...so i add a new skill effect with it..like effect={{p_max_hp;300;diff}},but when i use this hair and i found charactor could get 600 HP???why is 2x? i just wanna add 300 HP for players.... Post both lines of skilldata and itemdata in pastebin Quote Link to comment Share on other sites More sharing options...
sandeagle Posted March 11, 2022 Author Share Posted March 11, 2022 (edited) ok... skilldata.txt skill_begin skill_name=[HP_max_Tatoo1] skill_id=10633 level=1 operate_type=P effect={{p_max_hp;300;diff}} skill_end item_begin armor 10719 [HP_max_Tatoo1] item_type=armor slot_bit_type={underwear} armor_type=none etcitem_type=none recipe_id=0 blessed=0 weight=10 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 reduced_soulshot={} reduced_spiritshot={} reduced_mp_consume={} immediate_effect=1 price=1 default_price=500 item_skill=[HP_max_Tatoo1] critical_attack_skill=[none] attack_skill=[none] magic_skill=[none] item_skill_enchanted_four=[none] material_type=wood crystal_type=s crystal_count=10 is_trade=0 is_drop=0 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=90 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 itemdata.txt Edited March 11, 2022 by sandeagle Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.