Attributes Limiter

Nameleszx

New member
Messages
108
Points
0
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?

 
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.

 
@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

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