1
0
mirror of https://github.com/veden/Rampant.git synced 2025-02-09 13:36:53 +02:00

see changelog

This commit is contained in:
Aaron Veden 2019-03-12 17:55:01 -07:00
parent 09cffae72a
commit 55e1611692
2 changed files with 15 additions and 5 deletions

View File

@ -116,7 +116,7 @@ Date: 2. 18. 2019
---------------------------------------------------------------------------------------------------
Version: 0.16.41
Date: 2. 18. 2019
Note:
Note:
- Enemy level maxes have changed what was 10 is now roughly equal to 8
Tweaks:
- Added energy thief crystal and pylon physical resistance 25%

View File

@ -206,7 +206,7 @@ function biterFunctions.makeBiter(name, biterAttributes, biterAttack, biterResis
resistances[#resistances+1] = v
end
-- print(name .. " " .. biterAttributes.health)
return {
local entity = {
type = "unit",
name = name .. "-rampant",
icon = "__base__/graphics/icons/small-biter.png",
@ -235,8 +235,13 @@ function biterFunctions.makeBiter(name, biterAttributes, biterAttack, biterResis
dying_explosion = biterAttributes.explosion,
dying_sound = make_biter_dying_sounds(1.0),
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
function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterResistances)
@ -246,7 +251,7 @@ function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterRes
resistances[#resistances+1] = v
end
-- print(name .. " " .. biterAttributes.health)
return {
local entity = {
type = "unit",
name = name .. "-rampant",
icon = "__base__/graphics/icons/small-spitter.png",
@ -276,8 +281,13 @@ function biterFunctions.makeSpitter(name, biterAttributes, biterAttack, biterRes
dying_explosion = biterAttributes.explosion,
dying_sound = make_spitter_dying_sounds(0.8),
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
function biterFunctions.makeUnitSpawner(name, biterAttributes, biterResistances, unitSet)