- Fixed the config description for 'random_monster_checklv' (follow up to r13952). (bugreport:3378)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13954 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e7f237e2c0
commit
e151f5b278
@ -54,8 +54,10 @@ produce_item_name_input: 0x03
|
|||||||
// Is a monster summoned via dead branch aggressive? (Note 1)
|
// Is a monster summoned via dead branch aggressive? (Note 1)
|
||||||
dead_branch_active: yes
|
dead_branch_active: yes
|
||||||
|
|
||||||
// Are summoned monsters level greater then your base level? (dead branches) (Note 1)
|
// Should summoned monsters check the player's base level? (dead branches) (Note 1)
|
||||||
random_monster_checklv: yes
|
// On officials this is no - monsters summoned from dead/bloody branches can be ANY level.
|
||||||
|
// Change to 'yes' to only summon monsters less than or equal to their base level.
|
||||||
|
random_monster_checklv: no
|
||||||
|
|
||||||
// Can any player equip any item regardless of the gender restrictions
|
// Can any player equip any item regardless of the gender restrictions
|
||||||
// NOTE: Wedding Rings and Whips/Musical Instruments will check gender regardless of setting.
|
// NOTE: Wedding Rings and Whips/Musical Instruments will check gender regardless of setting.
|
||||||
|
@ -3481,7 +3481,7 @@ static const struct _battle_data {
|
|||||||
{ "summon_flora_setting", &battle_config.summon_flora, 1|2, 0, 1|2, },
|
{ "summon_flora_setting", &battle_config.summon_flora, 1|2, 0, 1|2, },
|
||||||
{ "clear_skills_on_death", &battle_config.clear_unit_ondeath, BL_NUL, BL_NUL, BL_ALL, },
|
{ "clear_skills_on_death", &battle_config.clear_unit_ondeath, BL_NUL, BL_NUL, BL_ALL, },
|
||||||
{ "clear_skills_on_warp", &battle_config.clear_unit_onwarp, BL_ALL, BL_NUL, BL_ALL, },
|
{ "clear_skills_on_warp", &battle_config.clear_unit_onwarp, BL_ALL, BL_NUL, BL_ALL, },
|
||||||
{ "random_monster_checklv", &battle_config.random_monster_checklv, 1, 0, 1, },
|
{ "random_monster_checklv", &battle_config.random_monster_checklv, 0, 0, 1, },
|
||||||
{ "attribute_recover", &battle_config.attr_recover, 1, 0, 1, },
|
{ "attribute_recover", &battle_config.attr_recover, 1, 0, 1, },
|
||||||
{ "flooritem_lifetime", &battle_config.flooritem_lifetime, 60000, 1000, INT_MAX, },
|
{ "flooritem_lifetime", &battle_config.flooritem_lifetime, 60000, 1000, INT_MAX, },
|
||||||
{ "item_auto_get", &battle_config.item_auto_get, 0, 0, 1, },
|
{ "item_auto_get", &battle_config.item_auto_get, 0, 0, 1, },
|
||||||
|
@ -411,7 +411,7 @@ int mob_once_spawn(struct map_session_data* sd, int m, short x, short y, const c
|
|||||||
|
|
||||||
for (count = 0; count < amount; count++)
|
for (count = 0; count < amount; count++)
|
||||||
{
|
{
|
||||||
int c = ( class_ >= 0 ) ? class_ : mob_get_random_id(-class_-1, !battle_config.random_monster_checklv?3:1, lv);
|
int c = ( class_ >= 0 ) ? class_ : mob_get_random_id(-class_-1, battle_config.random_monster_checklv?3:1, lv);
|
||||||
md = mob_once_spawn_sub(sd?&sd->bl:NULL, m, x, y, mobname, c, event);
|
md = mob_once_spawn_sub(sd?&sd->bl:NULL, m, x, y, mobname, c, event);
|
||||||
|
|
||||||
if (!md) continue;
|
if (!md) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user