mirror of
https://github.com/veden/Rampant.git
synced 2025-02-13 13:48:36 +02:00
see changelog
This commit is contained in:
parent
09cffae72a
commit
55e1611692
@ -116,7 +116,7 @@ Date: 2. 18. 2019
|
|||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.16.41
|
Version: 0.16.41
|
||||||
Date: 2. 18. 2019
|
Date: 2. 18. 2019
|
||||||
Note:
|
Note:
|
||||||
- Enemy level maxes have changed what was 10 is now roughly equal to 8
|
- Enemy level maxes have changed what was 10 is now roughly equal to 8
|
||||||
Tweaks:
|
Tweaks:
|
||||||
- Added energy thief crystal and pylon physical resistance 25%
|
- Added energy thief crystal and pylon physical resistance 25%
|
||||||
|
@ -206,7 +206,7 @@ function biterFunctions.makeBiter(name, biterAttributes, biterAttack, biterResis
|
|||||||
resistances[#resistances+1] = v
|
resistances[#resistances+1] = v
|
||||||
end
|
end
|
||||||
-- print(name .. " " .. biterAttributes.health)
|
-- print(name .. " " .. biterAttributes.health)
|
||||||
return {
|
local entity = {
|
||||||
type = "unit",
|
type = "unit",
|
||||||
name = name .. "-rampant",
|
name = name .. "-rampant",
|
||||||
icon = "__base__/graphics/icons/small-biter.png",
|
icon = "__base__/graphics/icons/small-biter.png",
|
||||||
@ -235,8 +235,13 @@ function biterFunctions.makeBiter(name, biterAttributes, biterAttack, biterResis
|
|||||||
dying_explosion = biterAttributes.explosion,
|
dying_explosion = biterAttributes.explosion,
|
||||||
dying_sound = make_biter_dying_sounds(1.0),
|
dying_sound = make_biter_dying_sounds(1.0),
|
||||||
working_sound = make_biter_calls(0.7),
|
working_sound = make_biter_calls(0.7),
|
||||||
run_animation = biterrunanimation(biterAttributes.scale, biterAttributes.tint1, biterAttributes.tint2)
|
run_animation = biterrunanimation(biterAttributes.scale, biterAttributes.tint1, biterAttributes.tint2),
|
||||||
|
biter_ai_settings = { destroy_when_commands_fail = true, allow_try_return_to_spawner = true }
|
||||||
}
|
}
|
||||||
|
if biterAttributes.collisionMask then
|
||||||
|
entity.collision_mask = biterAttributes.collisionMask
|
||||||
|
end
|
||||||
|
return entity
|
||||||
end
|
end
|
||||||
|
|
||||||
function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterResistances)
|
function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterResistances)
|
||||||
@ -246,7 +251,7 @@ function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterRes
|
|||||||
resistances[#resistances+1] = v
|
resistances[#resistances+1] = v
|
||||||
end
|
end
|
||||||
-- print(name .. " " .. biterAttributes.health)
|
-- print(name .. " " .. biterAttributes.health)
|
||||||
return {
|
local entity = {
|
||||||
type = "unit",
|
type = "unit",
|
||||||
name = name .. "-rampant",
|
name = name .. "-rampant",
|
||||||
icon = "__base__/graphics/icons/small-spitter.png",
|
icon = "__base__/graphics/icons/small-spitter.png",
|
||||||
@ -276,8 +281,13 @@ function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterRes
|
|||||||
dying_explosion = biterAttributes.explosion,
|
dying_explosion = biterAttributes.explosion,
|
||||||
dying_sound = make_spitter_dying_sounds(0.8),
|
dying_sound = make_spitter_dying_sounds(0.8),
|
||||||
working_sound = make_biter_calls(0.7),
|
working_sound = make_biter_calls(0.7),
|
||||||
run_animation = spitterrunanimation(biterAttributes.scale, biterAttributes.tint)
|
run_animation = spitterrunanimation(biterAttributes.scale, biterAttributes.tint),
|
||||||
|
biter_ai_settings = { destroy_when_commands_fail = true, allow_try_return_to_spawner = true }
|
||||||
}
|
}
|
||||||
|
if biterAttributes.collisionMask then
|
||||||
|
entity.collision_mask = biterAttributes.collisionMask
|
||||||
|
end
|
||||||
|
return entity
|
||||||
end
|
end
|
||||||
|
|
||||||
function biterFunctions.makeUnitSpawner(name, biterAttributes, biterResistances, unitSet)
|
function biterFunctions.makeUnitSpawner(name, biterAttributes, biterResistances, unitSet)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user