Author: zookeeper
Date: Mon Aug 18 16:20:57 2008
New Revision: 28707
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28707&view=rev
Log:
Fixed the giant rat animations.
Modified:
trunk/data/campaigns/Descent_Into_Darkness/units/giant-rat.cfg
Modified: trunk/data/campaigns/Descent_Into_Darkness/units/giant-rat.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Descent_Into_Darkness/units/giant-rat.cfg?rev=28707&r1=28706&r2=28707&view=diff
==============================================================================
--- trunk/data/campaigns/Descent_Into_Darkness/units/giant-rat.cfg (original)
+++ trunk/data/campaigns/Descent_Into_Darkness/units/giant-rat.cfg Mon Aug 18
16:20:57 2008
@@ -16,6 +16,8 @@
cost=13
usage=scout
description= _ "Given an adequate supply of food, some rats can grow to
truly impressive sizes. They can also grow quite agressive."
+ {DEFENSE_ANIM "units/giant-rat.png" "units/giant-rat.png"
{SOUND_LIST:BAT_HIT} }
+ die_sound=bat-flapping.wav
[attack]
name=bite
description=_ "bite"
@@ -29,18 +31,28 @@
[filter_attack]
name=bite
[/filter_attack]
- hits=yes
[frame]
- begin=-250
+ begin=-200
end=-100
image="units/giant-rat.png"
[/frame]
- [frame]
- begin=-100
- end=200
- image="units/giant-rat-attack.png"
- sound=bite-small.ogg
- [/frame]
+ [if]
+ hits=yes
+ [frame]
+ begin=-100
+ end=200
+ image="units/giant-rat-attack.png"
+ sound=bite-small.ogg
+ [/frame]
+ [/if]
+ [else]
+ hits=no
+ [frame]
+ begin=-100
+ end=200
+ image="units/giant-rat-attack.png"
+ [/frame]
+ [/else]
[frame]
begin=50
end=200
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits