diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-12 10:33:54 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-12 10:33:54 -0300 |
commit | 622a7e908ed08ff1a18b4b7aa7be558d19bdb237 (patch) | |
tree | 3e552c1fad2ffa6bdab53dec06a166cd5c3a884e /npc | |
parent | b7ad5006acd4c2869b986fd86ef4909bd91388d0 (diff) | |
download | serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.gz serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.bz2 serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.tar.xz serverdata-622a7e908ed08ff1a18b4b7aa7be558d19bdb237.zip |
Hardcore server settings
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/super-menu.txt | 22 | ||||
-rw-r--r-- | npc/functions/hub.txt | 6 |
2 files changed, 27 insertions, 1 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index c0052c446..9df8c791c 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -76,6 +76,28 @@ OnInit: } else if ($HARDCORE) { setbattleflag("mob_spawn_delay", $BCONFD_SPAWN); setbattleflag("monster_hp_rate", $BCONFD_MOBHP); + // FIXME's + setbattleflag("mob_count_rate", 150); + setbattleflag("no_spawn_on_player", 3); + setbattleflag("zeny_from_mobs", true); + setbattleflag("item_auto_get", true); + setbattleflag("enable_perfect_flee", 3); // Mobs can now perfect-flee + setbattleflag("mob_critical_rate", 100); + setbattleflag("multi_level_up", true); + setbattleflag("quest_exp_rate", 300); + setbattleflag("death_penalty_type", 2); // Death causes total exp loss + setbattleflag("homunculus_friendly_rate", 1000); + setbattleflag("hom_bonus_exp_from_master", 30); + //setbattleflag("pk_mode", 1); + setbattleflag("party_even_share_bonus", 12); // Official: 9% + setbattleflag("hp_rate", 200); // Official: 100% + setbattleflag("player_invincible_time", 10000); // Official: 5s + setbattleflag("natural_healhp_interval", 1500); // Official: 2.5s + setbattleflag("natural_heal_weight_rate", 75); // Official: 50% + setbattleflag("max_aspd", 193); // Official: 190 + setbattleflag("max_parameter", 150); // The Official Official is 150 + setbattleflag("pc_status_def_rate", 50); // 2x harder to get stat resist + // Reload settings donpcevent("@exprate::OnInheirtedReload"); } end; diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index e5bb153f7..ac46a2597 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -30,8 +30,12 @@ function script HUB_Logout { .@dead=getarg(0, false); getmapxy(.@mapa$, .@a,.@b, 0); + // Hardcore Server + if ($HARDCORE && .@dead) { + // It could be @jail, but... + atcommand("@jailfor 1d "+strcharinfo(0)); // Vanished on Cindy Cave - if (.@mapa$ == "021-4" && strcharinfo(0) == $@CINDY_HERO$) { + } else if (.@mapa$ == "021-4" && strcharinfo(0) == $@CINDY_HERO$) { donpcevent("Cindy#Outside::OnReckless"); recovery(getcharid(3)); warp any("010-1", "010-2"), 0, 0; |