Jump to content
  • 0
Nameleszx

Attributes Limiter

Question

Hello guys, just wanna request bout Attributes Limiter like

 

10k ATK and MATK is the only possible attributes, when the ATK and MATK becomes 10k above, it'll automatically disconnected from the server and also in the HP 999999 is the only possible, when it becomes 1000000, the character will automatically disconnected too. Is it possible?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

@TS I dont think its possible to for atk and mtak. but you can reduce their atk/mtak rates by using db/(pre-re|re)/map_zone_db.conf

{	/* PK Mode zone is only used when server is on pk_mode (battle.conf),		it applies to all pvp maps that don't have their own zone */	name: "PK Mode" /* changing this name requires MAP_ZONE_PK_NAME to also be changed in src/map/map.h file */		disabled_skills: {			}		disabled_items: {			}	/* PK Mode Damage Reductions */	/* - weapon_damage_rate -40% */	/* - magic_damage_rate  -40% */	/* - misc_damage_rate   -40% */	/* - long_damage_rate   -30% */	/* - short_damage_rate  -20% */	mapflags: (		"weapon_damage_rate	60",		"magic_damage_rate	60",		"misc_damage_rate	60",		"long_damage_rate	70",		"short_damage_rate	80",	)},

and for HP, pan is right, the setting for max hp is located in player.conf

// Maximum HP. (Default is 1000000)max_hp: 1000000  //<-- replace with 999999// Maximum SP. (Default is 1000000)max_sp: 1000000

Share this post


Link to post
Share on other sites
  • 0

Why not just cap those values via configuration files? You can limit max hp just by altering a setting in conf/battle/player.conf. It's not possible to do something like that using scripts, you could check those stats every time someone kills something (a mob or a player), or changes map, but I don't think that's what you meant in your post.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.