[[Icon reorganization]]
* Moved weapon icons to their own hierarchy: images/attacks/ * Changed code and unit files accordingly * Fixed some erroneous/missing entries
|
@ -34,7 +34,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=15
|
||||
number=5
|
||||
icon=misc/dark-missile.png
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-250
|
||||
end=0
|
||||
|
|
|
@ -20,7 +20,7 @@ get_hit_sound=skeleton-hit.wav
|
|||
impact=120
|
||||
[/resistance]
|
||||
[attack]
|
||||
name=fists
|
||||
name=fist
|
||||
type=impact
|
||||
range=short
|
||||
damage=5
|
||||
|
|
|
@ -14,7 +14,7 @@ usage=fighter
|
|||
unit_description="Cuttle Fish are giantic creatures of the seas. They can grab their opponents with strong tentacles, or spit a poisonous black ink from a distance. The best way to survive an encounter with these monsters is to remain ashore."
|
||||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=tentacles
|
||||
name=tentacle
|
||||
type=impact
|
||||
range=short
|
||||
damage=3
|
||||
|
|
|
@ -24,7 +24,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=8
|
||||
number=2
|
||||
icon=misc/dark-missile.png
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
|
|
|
@ -20,7 +20,7 @@ get_hit_sound=skeleton-hit.wav
|
|||
range=short
|
||||
damage=15
|
||||
number=4
|
||||
icon=misc/battleaxe.png
|
||||
icon=attacks/battleaxe.png
|
||||
[sound]
|
||||
time=-250
|
||||
sound=sword-swish.wav
|
||||
|
|
|
@ -37,6 +37,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=13
|
||||
number=3
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
|
|
|
@ -28,6 +28,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=14
|
||||
number=4
|
||||
icon=attacks/dark-missile.png
|
||||
[missile_frame]
|
||||
begin=-200
|
||||
end=0
|
||||
|
|
|
@ -30,7 +30,7 @@ get_hit_sound=groan.wav
|
|||
[/defense]
|
||||
[attack]
|
||||
name=berserker frenzy
|
||||
icon=misc/frenzy.png
|
||||
icon=attacks/frenzy.png
|
||||
type=blade
|
||||
special=berserk
|
||||
range=short
|
||||
|
|
|
@ -25,7 +25,7 @@ get_hit_sound=groan.wav
|
|||
name=battle axe
|
||||
type=blade
|
||||
range=short
|
||||
icon=misc/battleaxe.png
|
||||
icon=attacks/battleaxe.png
|
||||
damage=17
|
||||
number=3
|
||||
[frame]
|
||||
|
|
|
@ -21,6 +21,8 @@ get_hit_sound=groan.wav
|
|||
range=short
|
||||
damage=15
|
||||
number=3
|
||||
# XXX we're currently lacing a runic hammer icon
|
||||
icon=attacks/hammer.png
|
||||
|
||||
[frame]
|
||||
begin=-100
|
||||
|
@ -36,6 +38,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=15
|
||||
number=2
|
||||
icon=attacks/lightingbolt.png
|
||||
special=magical
|
||||
|
||||
[sound]
|
||||
|
|
|
@ -23,7 +23,7 @@ unit_description="The more experienced Dwarvish Steelclad fighters wear heavy ch
|
|||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=battle axe
|
||||
icon=misc/battleaxe.png
|
||||
icon=attacks/battleaxe.png
|
||||
type=blade
|
||||
range=short
|
||||
damage=11
|
||||
|
|
|
@ -35,7 +35,7 @@ unit_description="Once great, Elder Mages have seen their power a little diminis
|
|||
special=magical
|
||||
damage=14
|
||||
number=4
|
||||
icon=misc/lightingbolt.png
|
||||
icon=attacks/lightingbolt.png
|
||||
[frame]
|
||||
begin=-300
|
||||
end=0
|
||||
|
|
|
@ -24,7 +24,7 @@ get_hit_sound=female-hit.wav
|
|||
damage=4
|
||||
number=2
|
||||
range=short
|
||||
icon=misc/druidstaff.png
|
||||
icon=attacks/druidstaff.png
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
|
@ -43,7 +43,7 @@ get_hit_sound=female-hit.wav
|
|||
damage=6
|
||||
number=2
|
||||
range=long
|
||||
icon=misc/entangle.png
|
||||
icon=attacks/entangle.png
|
||||
[frame]
|
||||
begin=-250
|
||||
end=0
|
||||
|
|
|
@ -25,7 +25,7 @@ get_hit_sound=female-hit.wav
|
|||
damage=3
|
||||
number=2
|
||||
range=short
|
||||
icon=misc/druidstaff.png
|
||||
icon=attacks/druidstaff.png
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
|
|
|
@ -25,7 +25,7 @@ get_hit_sound=female-hit.wav
|
|||
damage=4
|
||||
number=2
|
||||
range=short
|
||||
icon=misc/faerie_touch.png
|
||||
icon=attacks/faerie_touch.png
|
||||
[frame]
|
||||
begin=-200
|
||||
end=-100
|
||||
|
@ -45,7 +45,7 @@ get_hit_sound=female-hit.wav
|
|||
damage=7
|
||||
number=2
|
||||
range=long
|
||||
icon=misc/entangle.png
|
||||
icon=attacks/entangle.png
|
||||
[missile_frame]
|
||||
begin=-150
|
||||
end=0
|
||||
|
|
|
@ -37,6 +37,7 @@ get_hit_sound=wolf-cry.wav
|
|||
damage=6
|
||||
number=2
|
||||
range=long
|
||||
icon=attacks/web.png
|
||||
[frame]
|
||||
begin=-200
|
||||
end=100
|
||||
|
|
|
@ -15,7 +15,7 @@ unit_description="The most powerful mounted warriors of any race, Grand Knights
|
|||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=sword
|
||||
icon=misc/sword.png
|
||||
icon=attacks/sword.png
|
||||
type=blade
|
||||
range=short
|
||||
damage=12
|
||||
|
|
|
@ -14,14 +14,14 @@ usage=fighter
|
|||
unit_description="The best of the soldiers are choosen to become Halberdiers. Their weapon, though a little slower than the sword, can strike with deadly force."
|
||||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=halbard
|
||||
name=halberd
|
||||
type=pierce
|
||||
range=short
|
||||
damage=14
|
||||
number=4
|
||||
[/attack]
|
||||
[attack]
|
||||
name=halbard
|
||||
name=halberd
|
||||
type=blade
|
||||
range=short
|
||||
damage=11
|
||||
|
|
|
@ -21,6 +21,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=6
|
||||
number=3
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-350
|
||||
end=-250
|
||||
|
|
|
@ -34,7 +34,7 @@ get_hit_sound=skeleton-hit.wav
|
|||
range=long
|
||||
damage=12
|
||||
number=3
|
||||
icon=misc/dark-missile.png
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
|
@ -56,4 +56,4 @@ get_hit_sound=skeleton-hit.wav
|
|||
sound=magic.wav
|
||||
[/sound]
|
||||
[/attack]
|
||||
[/unit]
|
||||
[/unit]
|
||||
|
|
|
@ -37,7 +37,7 @@ get_hit_sound=groan.wav
|
|||
range=long
|
||||
damage=12
|
||||
number=2
|
||||
icon=misc/dark-missile.png
|
||||
icon=attacks/dark-missile.png
|
||||
[frame]
|
||||
begin=-300
|
||||
end=-200
|
||||
|
|
|
@ -20,6 +20,7 @@ get_hit_sound=orc-hit.wav
|
|||
range=short
|
||||
damage=4
|
||||
number=3
|
||||
icon=attacks/short-sword.png
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
|
|
|
@ -19,6 +19,7 @@ get_hit_sound=orc-hit.wav
|
|||
range=short
|
||||
damage=4
|
||||
number=3
|
||||
icon=attacks/short-sword.png
|
||||
[frame]
|
||||
begin=-100
|
||||
end=100
|
||||
|
|
|
@ -20,7 +20,7 @@ unit_description="Knights of the highest virtue, Paladins have all the skills of
|
|||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=sword
|
||||
icon=misc/paladinsword.png
|
||||
icon=attacks/paladinsword.png
|
||||
type=holy
|
||||
range=short
|
||||
damage=8
|
||||
|
|
|
@ -23,7 +23,7 @@ get_hit_sound=mermen-hit.wav
|
|||
[/attack]
|
||||
[attack]
|
||||
name=water spray
|
||||
icon=misc/waterspray.png
|
||||
icon=attacks/waterspray.png
|
||||
type=impact
|
||||
range=long
|
||||
special=magical
|
||||
|
|
|
@ -20,7 +20,7 @@ get_hit_sound=female-groan.wav
|
|||
range=short
|
||||
damage=10
|
||||
number=3
|
||||
icon=misc/fangs.png
|
||||
icon=attacks/fangs.png
|
||||
special=drain
|
||||
[frame]
|
||||
begin=-100
|
||||
|
|
|
@ -17,7 +17,7 @@ unit_description="Today almost a boy, by his devotion to the crown he is seeking
|
|||
get_hit_sound=groan.wav
|
||||
[attack]
|
||||
name=training sword
|
||||
icon=misc/woodensword.png
|
||||
icon=attacks/woodensword.png
|
||||
type=impact
|
||||
range=short
|
||||
damage=3
|
||||
|
|
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 549 B |
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 714 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 446 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 476 B After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 441 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 420 B After Width: | Height: | Size: 420 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 575 B After Width: | Height: | Size: 575 B |
BIN
images/attacks/web.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
images/attacks/woodensword.png
Normal file
After Width: | Height: | Size: 356 B |
|
@ -36,7 +36,7 @@ attack_type::attack_type(const config& cfg)
|
|||
backstab_ = special_ == "backstab";
|
||||
icon_ = cfg["icon"];
|
||||
if(icon_.empty())
|
||||
icon_ = "misc/" + name_ + ".png";
|
||||
icon_ = "attacks/" + name_ + ".png";
|
||||
|
||||
range_ = cfg["range"] == "long" ? LONG_RANGE : SHORT_RANGE;
|
||||
hexes_ = maximum<int>(1,atoi(cfg["hexes"].c_str()));
|
||||
|
|