some more movetype refactoring

This commit is contained in:
Gunter Labes 2009-09-10 04:55:21 +00:00
parent 7fd76af0e3
commit eae06aba78
2 changed files with 44 additions and 120 deletions

View file

@ -613,6 +613,16 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
#define WOODLAND_RESISTANCE
[resistance]
blade=100
pierce=100
impact=100
fire=100
cold=100
arcane=110
[/resistance]
#enddef
[movetype]
name=woodland
[movement_costs]
@ -633,7 +643,6 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
[defense]
deep_water=80
shallow_water=80
@ -652,15 +661,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable=70
fungus=50
[/defense]
[resistance]
blade=100
pierce=100
impact=100
fire=100
cold=100
arcane=110
[/resistance]
{WOODLAND_RESISTANCE}
[/movetype]
[movetype]
@ -684,7 +685,6 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
[defense]
deep_water=70
shallow_water=60
@ -703,15 +703,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable=70
fungus=50
[/defense]
[resistance]
blade=100
pierce=100
impact=110
fire=100
cold=100
arcane=110
[/resistance]
{WOODLAND_RESISTANCE}
[/movetype]
[movetype]
@ -1039,58 +1031,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
[movetype]
name=mountainfoot
[movement_costs]
deep_water={UNREACHABLE}
shallow_water=3
reef=2
swamp_water=3
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
cave=1
frozen=2
unwalkable={UNREACHABLE}
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
[defense]
deep_water=80
shallow_water=80
reef=70
swamp_water=80
flat=70
sand=70
forest=70
hills=40
mountains=30
village=50
castle=40
cave=50
frozen=70
unwalkable=80
impassable=50
fungus=60
[/defense]
[resistance]
blade=100
pierce=100
impact=100
fire=100
cold=100
arcane=80
[/resistance]
[/movetype]
[movetype]
name=dwarvishfoot
#define MOUNTAIN_MOVE
[movement_costs]
deep_water={UNREACHABLE}
shallow_water=3
@ -1109,7 +1050,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
#enddef
#define MOUNTAIN_DEFENSE
[defense]
deep_water=80
shallow_water=80
@ -1124,11 +1066,29 @@ While undead lords arrived on the Great Continent in considerable numbers only i
castle=40
cave=50
frozen=70
unwalkable=80
unwalkable=50
impassable=50
fungus=60
[/defense]
#enddef
[movetype]
name=mountainfoot
{MOUNTAIN_MOVE}
{MOUNTAIN_DEFENSE}
[resistance]
blade=100
pierce=100
impact=100
fire=100
cold=100
arcane=80
[/resistance]
[/movetype]
[movetype]
name=dwarvishfoot
{MOUNTAIN_MOVE}
{MOUNTAIN_DEFENSE}
[resistance]
blade=80
pierce=80
@ -1285,21 +1245,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/movement_costs]
[defense]
deep_water=50
shallow_water=50
reef=50
swamp_water=50
flat=50
sand=50
forest=50
hills=50
mountains=50
village=50
castle=50
{FLY_DEFENSE 50}
cave=50
frozen=50
unwalkable=50
impassable=50
fungus=50
[/defense]
@ -1313,6 +1260,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
#only used in some UMC
[movetype]
name=spirit
flies=true
@ -1334,26 +1282,11 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus=1
[/movement_costs]
[defense]
deep_water=50
shallow_water=50
reef=50
swamp_water=50
flat=50
sand=50
forest=50
hills=50
mountains=50
village=50
castle=50
{FLY_DEFENSE 50}
cave=60
frozen=50
unwalkable=50
impassable=60
fungus=50
[/defense]
[resistance]
blade=40
pierce=40
@ -1436,26 +1369,11 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus={UNREACHABLE}
[/movement_costs]
[defense]
deep_water=50
shallow_water=50
reef=50
swamp_water=50
flat=50
sand=50
forest=50
hills=50
mountains=50
village=50
castle=50
{FLY_DEFENSE 50}
cave=50
frozen=50
unwalkable=50
impassable=50
fungus=50
[/defense]
[resistance]
blade=100
pierce=100
@ -1658,8 +1576,11 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
[/units]
#undef WOODLAND_RESISTANCE
#undef FLY_MOVE
#undef FLY_DEFENSE
#undef FLY_RESISTANCE
#undef MOUNTAIN_MOVE
#undef MOUNTAIN_DEFENSE
#undef DRAKEFLY_MOVE
#undef DRAKEFLY_RESISTANCE

View file

@ -6,6 +6,9 @@
image="units/monsters/cavespider.png"
hitpoints=54
movement_type=mountainfoot
[movement_costs]
fungus=2
[/movement_costs]
movement=6
experience=150
level=3