Dark Forecast: don't modify unit movement costs
Preferrably leaving them in the vanilla version. Closes #3891
This commit is contained in:
parent
6d453e9fe9
commit
e931488f0b
1 changed files with 0 additions and 14 deletions
|
@ -214,20 +214,6 @@ end
|
|||
local function place_units(unittypes, x, y)
|
||||
for i,v in ipairs(unittypes) do
|
||||
local u = wesnoth.units.create { type = v, generate_name = true, side = 2 }
|
||||
u:add_modification("object", {
|
||||
T.effect {
|
||||
apply_to = "movement_costs",
|
||||
replace = true,
|
||||
T.movement_costs {
|
||||
flat = 1,
|
||||
sand = 2,
|
||||
forest = 2,
|
||||
impassable = 3,
|
||||
unwalkable = 3,
|
||||
deep_water = 3,
|
||||
}
|
||||
}
|
||||
})
|
||||
-- give the unit less moves on its first turn.
|
||||
u.status.slowed = true
|
||||
u:add_modification("object", {
|
||||
|
|
Loading…
Add table
Reference in a new issue