Damage resistance
You can build a dragon damage resistance configuration.
Make the dragon resistant or immune to certain weapons.
Assign lower or zero damage values for weapons that would realistically have no effect (e.g.,
WEAPON_UNARMED
).Assign moderate or full damage to more powerful weapons (like
WEAPON_SNIPERRIFLE_CARCANO
).
1. Make sure you have enabled damage receiving in config.lua
config.lua
Config.AllowDamageToDragonByBullets = true -- Guns damage
2. Next go to shared/damage.lua
and change values per weapon.
shared/damage.lua
and change values per weapon. For example:
WEAPON_DAMAGE = {
{Name = `WEAPON_UNARMED`, Damage = 0.0}, -- No damage by fists
{Name = `WEAPON_PISTOL_M1899`, Damage = 2.0}, -- 2x more damage by m1899 pistol
{Name = `WEAPON_RIFLE_ELEPHANT`, Damage = 4.0}, -- 4x more damage elephant rifle
}
Last updated