流浪者现在会投掷废料炸弹。
服务端及客户端都需要安装该模组。
模组特性:
- 每种流浪者有不同的掷弹概率,高级流浪者扔炸弹概率更高。
- 炸弹是触炸的。
- 流浪者越高级,爆炸伤害和半径越大,爆炸伤害从中心向外递减。
- 默认关闭方块破坏。可配置开启。
- 认领土地中不受方块破坏影响。
配置文件:
配置文件位置:odconfig/drifterbombs.json.
每个流浪者种类(normal, deep, tainted, corrupt, nightmare, double-headed)可单独配置以下特性:
- destructive :默认为false。设置为true时,炸弹可破坏方块。
- BombChance :流浪者投掷物替换成炸弹的概率。
- InjureRadius :爆炸伤害的范围,爆炸伤害从中心向外递减。
- DestructionRadius :方块破坏的范围,仅在destructive设置为true时生效。
以下是默认配置文件内容:
{
// Set to true if you want drifter bombs to destroy terrain. False by default.
"destructive": false,
// One entry per drifter type. You can tweak each tier independently.
// BombChance: how likely a drifter is to throw a bomb instead of a stone each time it throws. 0.01 = 1% chance per throw.
// DestructionRadius: how far out blocks get destroyed (only matters when destructive is true).
// InjureRadius: how far out the explosion hurts players and creatures. Damage drops off with distance.
"Variants": {
"normal": { "BombChance": 0.002, "DestructionRadius": 4.0, "InjureRadius": 10.5, "FuseSeconds": 4.0 },
"deep": { "BombChance": 0.004, "DestructionRadius": 4.5, "InjureRadius": 11.9, "FuseSeconds": 4.0 },
"tainted": { "BombChance": 0.01, "DestructionRadius": 6.1, "InjureRadius": 16.0, "FuseSeconds": 3.5 },
"corrupt": { "BombChance": 0.01333, "DestructionRadius": 7.0, "InjureRadius": 18.3, "FuseSeconds": 3.0 },
"nightmare": { "BombChance": 0.02, "DestructionRadius": 8.7, "InjureRadius": 22.8, "FuseSeconds": 2.5 },
"double-headed": { "BombChance": 0.025, "DestructionRadius": 10.0, "InjureRadius": 26.3, "FuseSeconds": 2.0 }
}
}
//



