changed the Drake Glider movetype to have 40% defense almost everywhere

macrofied some similar movetypes along the way
This commit is contained in:
Gunter Labes 2009-09-10 04:55:15 +00:00
parent efd1416954
commit 7fd76af0e3
6 changed files with 122 additions and 172 deletions

View file

@ -13,6 +13,8 @@ Version 1.7.5+svn:
* Added new music track, "Into the Shadows" by Tyler Johnson
* Fixed bug #14239 (check_fogged ignored by sound sources)
* Implemented FR #14246 (check_shrouded= for sound sources)
* Units:
* Changed the Drake Glider movetype to give 40% defense almost everywhere.
* User interface:
* new gamestate inspector debug dialog (via 'inspect' command
and '[inspect]' tag)

View file

@ -764,106 +764,78 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
#define FLY_MOVE
deep_water=1
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
frozen=1
unwalkable=1
impassable={UNREACHABLE}
#enddef
#define FLY_DEFENSE DEF
deep_water={DEF}
shallow_water={DEF}
reef={DEF}
swamp_water={DEF}
flat={DEF}
sand={DEF}
forest={DEF}
hills={DEF}
mountains={DEF}
village={DEF}
castle={DEF}
frozen={DEF}
unwalkable={DEF}
impassable={DEF}
#enddef
#define FLY_RESISTANCE
[resistance]
blade=100
pierce=100
impact=120
fire=100
cold=100
arcane=80
[/resistance]
#enddef
[movetype]
name=fly
flies=true
[movement_costs]
deep_water=1
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
{FLY_MOVE}
cave=3
frozen=1
unwalkable=1
impassable={UNREACHABLE}
fungus=3
[/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=80
frozen=50
unwalkable=50
impassable=80
fungus=70
[/defense]
[resistance]
blade=100
pierce=100
impact=120
fire=100
cold=100
arcane=80
[/resistance]
{FLY_RESISTANCE}
[/movetype]
[movetype]
name=smallfly
flies=true
[movement_costs]
deep_water=1
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
{FLY_MOVE}
cave=1
frozen=1
unwalkable=1
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
[defense]
deep_water=40
shallow_water=40
reef=40
swamp_water=40
flat=40
sand=40
forest=40
hills=40
mountains=40
village=40
castle=40
{FLY_DEFENSE 40}
cave=40
frozen=40
unwalkable=40
impassable=40
fungus=40
[/defense]
[resistance]
blade=100
pierce=100
impact=120
fire=100
cold=100
arcane=80
[/resistance]
{FLY_RESISTANCE}
[/movetype]
[movetype]
@ -1271,43 +1243,15 @@ While undead lords arrived on the Great Continent in considerable numbers only i
name=undeadfly
flies=true
[movement_costs]
deep_water=1
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
{FLY_MOVE}
cave=1
frozen=1
unwalkable=1
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=100
pierce=100
@ -1573,6 +1517,36 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
#define DRAKEFLY_MOVE
[movement_costs]
deep_water=2
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
cave=3
fungus=2
frozen=2
unwalkable=1
impassable={UNREACHABLE}
[/movement_costs]
#enddef
#define DRAKEFLY_RESISTANCE
[resistance]
blade=90
pierce=110
impact=80
fire=50
cold=150
arcane=130
[/resistance]
#enddef
[movetype]
name=drakefly
# this has been commented out because it interferes with the standard
@ -1583,25 +1557,7 @@ While undead lords arrived on the Great Continent in considerable numbers only i
# from the classical flying unit: to fight they have to land
# They love caves and mountains, and above all: warmth
# But because of big wings moving in caves is difficult for them
[movement_costs]
deep_water=2
shallow_water=1
reef=1
swamp_water=1
flat=1
sand=1
forest=1
hills=1
mountains=1
village=1
castle=1
cave=3
frozen=2
unwalkable=1
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
{DRAKEFLY_MOVE}
[defense]
deep_water=80
shallow_water=80
@ -1615,20 +1571,40 @@ While undead lords arrived on the Great Continent in considerable numbers only i
village=60
castle=60
cave=70
fungus=60
frozen=80
unwalkable=60
impassable=70
[/defense]
{DRAKEFLY_RESISTANCE}
[/movetype]
[movetype]
name=drakeglide
#flies=true
{DRAKEFLY_MOVE}
[defense]
{FLY_DEFENSE 60}
cave=70
fungus=60
[/defense]
{DRAKEFLY_RESISTANCE}
[/movetype]
[resistance]
blade=90
pierce=110
impact=80
fire=50
cold=150
arcane=130
[/resistance]
[movetype]
name=drakeglide2
#flies=true
[movement_costs]
{FLY_MOVE}
cave=3
fungus=2
[/movement_costs]
[defense]
{FLY_DEFENSE 50}
cave=70
fungus=60
[/defense]
{DRAKEFLY_RESISTANCE}
[/movetype]
[movetype]
@ -1654,7 +1630,6 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable={UNREACHABLE}
fungus=2
[/movement_costs]
[defense]
deep_water=90
shallow_water=80
@ -1673,7 +1648,6 @@ While undead lords arrived on the Great Continent in considerable numbers only i
impassable=70
fungus=60
[/defense]
[resistance]
blade=80
pierce=100
@ -1684,3 +1658,8 @@ While undead lords arrived on the Great Continent in considerable numbers only i
[/resistance]
[/movetype]
[/units]
#undef FLY_MOVE
#undef FLY_DEFENSE
#undef FLY_RESISTANCE
#undef DRAKEFLY_MOVE
#undef DRAKEFLY_RESISTANCE

View file

@ -8,7 +8,7 @@
ellipse="misc/ellipse"
profile="portraits/drakes/glider.png"
hitpoints=32
movement_type=drakefly
movement_type=drakeglide
movement=8
experience=35
level=1

View file

@ -7,16 +7,7 @@
profile="portraits/drakes/glider.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=58
movement_type=fly
# the flies=true of the movement_type is overridden to make submersion work
flies=false
[movement_costs]
fungus=2
[/movement_costs]
[defense]
cave=70
fungus=60
[/defense]
movement_type=drakeglide2
movement=9
experience=150
level=3
@ -42,14 +33,6 @@
mirror="true"
image="portraits/drakes/transparent/glider.png"
[/portrait]
[resistance]
blade=90
pierce=110
impact=80
fire=50
cold=150
arcane=130
[/resistance]
[standing_anim]
start_time=0
layer=60

View file

@ -7,16 +7,7 @@
profile="portraits/drakes/glider.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=45
movement_type=fly
# the flies=true of the movement_type is overridden to make submersion work
flies=false
[movement_costs]
fungus=2
[/movement_costs]
[defense]
cave=70
fungus=60
[/defense]
movement_type=drakeglide2
movement=9
experience=80
level=2
@ -40,14 +31,6 @@
mirror="true"
image="portraits/drakes/transparent/glider.png"
[/portrait]
[resistance]
blade=90
pierce=110
impact=80
fire=50
cold=150
arcane=130
[/resistance]
[standing_anim]
start_time=0
layer=60

View file

@ -9,6 +9,9 @@ Version 1.7.5+svn:
* Language and translations:
* Updated translations: Czech, Estonian, Finnish, French, German, Spanish.
* Units:
* Changed the Drake Glider movetype to give 40% defense almost everywhere.
Version 1.7.5:
* Graphics: