Jump to content

Recommended Posts

Posted (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 by sandeagle
Posted
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

Posted
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

Posted (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 by sandeagle

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • @l2naylondev Requiring a player to log in just for the sake of logging  seems exploitable. Someone could log in only to claim the reward and immediately leave, or repeatedly change their ip. So i guess  are there are additional protections in place ? such as locking the reward by account, character , and ip. It would also be useful to add a playtime requirement. For example, after logging in, the player would need to remain active for at least x playtime  before getting the reward or other parameters configurable by the xml.  I suggest improving the system before selling it. 
    • I saw a few similar systems and came up with this one to help keep players on the server. It simply grants daily items every 24 hours just for logging in. There’s also the daily mission system—which assigns different tasks each day—where if you don't complete them within that 24-hour window, you get a new set of missions the next day. Sometimes, when starting out on a low-rate server (like x3), that little bit of help comes in handy—especially if you're playing solo without a clan or friends. I know there are quests to earn adena, but imagine being able to create an item that provides minor buffs or potions—nothing that would affect base stats or unbalance the server, of course; everyone can use the system however they like. I’m not looking to argue about this, haha; if anyone is interested, feel free to reach out. I’m open to criticism, too—no worries there. I just thought I’d post it. Thanks for the advice; I’ll keep improving the system and the interface. Tomorrow—or whenever I can—I’ll upload a short video so you can get an idea of what it’s like. I simply looked at what others had done and wanted to create something different, that's all, my friend. Cheers!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..