Module - Monster Extended

Back

Price FREE
Module
name: addon.monster_ex
config: monster_ex.json
Short Description Monsters extended feature.

In this section, there are 3 parameter: records, enemy_rule and default_autorecover

records
This section is about monster modifier.
mon_code Monster code
immortal
true monster cannot be killed
false monster can be killed
destroy_time_ms
10000 After spawning, the monster will despawn in 10 seconds.
to disable, you can comment it like: //"destroy_time_ms": 10000,
self_destruction_time
3000 After using Self-Destruct, the monster will detonate after 3 seconds.
to disable, you can comment it like: //"self_destruction_time": 3000,
collect_weapon_one_hit
true Weapons from the collect_weapon list will instantly kill the monster (Immortal status is ignored).
false
required_generate_aggro
true Generate aggro from receive damage.
false
is_white_list
true Weapons from the collect_weapon list will be treated as a "whitelist" (this is default, any weapons in collect_weapon list will deal damage).
false Weapons from the collect_weapon list will be treated as a "blacklist" (any weapons in collect_weapon list will not deal damage).
collect_weapon
["iwkna65", "iwknb65"] List of weapon codes that can affect the monster.
to disable, you can comment the list like: "collect_weapon": [/*"iwkna65", "iwknb65"*/]
enemy_rule
This section is about monster aggro after its receiveing damage.
limit.player
true The monster is able to engage in aggro towards the player.
false The monster cannot engage in aggro towards the player.
limit.animus
true The monster is able to engage in aggro towards the animus.
false The monster cannot engage in aggro towards the animus.
limit.tower
true The monster is able to engage in aggro towards the tower.
false The monster cannot engage in aggro towards the tower.
priority.player 1 Aggro priority order (1 is the highest).
priority.animus 2 Aggro priority order (1 is the highest).
priority.tower 3 Aggro priority order (1 is the highest).
With the above rule, aggro priority will target the player first, then the animus, and finally the tower.
default_autorecover
true CCR behavior.
false The monster can be affected and killed by debuffs such as Hell Bless.
 

 
Example monster_ex.json

{
    "records": [
    	{
            "mon_code": "13A07",
            "immortal": false,
            //"destroy_time_ms": 10000,
            //"self_destruction_time": 3000,
            "required_generate_aggro": true,
            "is_white_list": false,
            "collect_weapon_one_hit": false,
            "collect_weapon": ["iwxxx01", "iwevn01"]
        },
        {
            "mon_code": "13A17",
            "immortal": false,
            //"destroy_time_ms": 10000,
            //"self_destruction_time": 3000,
            "required_generate_aggro": true,
            "is_white_list": true,
            "collect_weapon_one_hit": false,
            "collect_weapon": ["iwxxx01", "iwevn01"]
        },
        {
            "mon_code": "0ED07",
            "immortal": true,
            //"destroy_time_ms": 10000,
            //"self_destruction_time": 3000,
            "required_generate_aggro": true,
            "is_white_list": false,
            "collect_weapon_one_hit": false,
            "collect_weapon": ["iwxxx01", "iwevn01"]
        },
        {
            "mon_code": "0ED17",
            "immortal": true,
            //"destroy_time_ms": 10000,
            //"self_destruction_time": 3000,
            "required_generate_aggro": true,
            "is_white_list": true,
            "collect_weapon_one_hit": false,
            "collect_weapon": ["iwxxx01", "iwevn01"]
        }
    ],
    "enemy_rule": {
        "limit.player": true,
        "limit.animus": true,
        "limit.tower":  true,
        "priority.player": 1,
        "priority.animus": 2,
        "priority.tower":  3
    },
    "default_autorecover": false
}