summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-03-09 22:52:34 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-03-09 22:52:34 +0000
commit16e99dc852affbc8b149d35037694dcdd25948e6 (patch)
tree2fed35187b803d595559b11b89118f7ef335d359 /src/resources/spritedef.cpp
parent4e2ced304a2013808b2481cceb7622848b073e5b (diff)
downloadmana-client-16e99dc852affbc8b149d35037694dcdd25948e6.tar.gz
mana-client-16e99dc852affbc8b149d35037694dcdd25948e6.tar.bz2
mana-client-16e99dc852affbc8b149d35037694dcdd25948e6.tar.xz
mana-client-16e99dc852affbc8b149d35037694dcdd25948e6.zip
Actions and particle effect for monster attacks are now obtained from the monster database. Added new tail attack animation to scorpion monster sprite.
Diffstat (limited to 'src/resources/spritedef.cpp')
-rw-r--r--src/resources/spritedef.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp
index d2e32c03..d8dfb23d 100644
--- a/src/resources/spritedef.cpp
+++ b/src/resources/spritedef.cpp
@@ -350,6 +350,36 @@ SpriteDef::makeSpriteAction(const std::string& action)
else if (action == "attack_throw") {
return ACTION_ATTACK_THROW;
}
+ else if (action == "special0") {
+ return ACTION_SPECIAL_0;
+ }
+ else if (action == "special1") {
+ return ACTION_SPECIAL_1;
+ }
+ else if (action == "special2") {
+ return ACTION_SPECIAL_2;
+ }
+ else if (action == "special3") {
+ return ACTION_SPECIAL_3;
+ }
+ else if (action == "special4") {
+ return ACTION_SPECIAL_4;
+ }
+ else if (action == "special5") {
+ return ACTION_SPECIAL_5;
+ }
+ else if (action == "special6") {
+ return ACTION_SPECIAL_6;
+ }
+ else if (action == "special7") {
+ return ACTION_SPECIAL_7;
+ }
+ else if (action == "special8") {
+ return ACTION_SPECIAL_8;
+ }
+ else if (action == "special9") {
+ return ACTION_SPECIAL_9;
+ }
else if (action == "cast_magic") {
return ACTION_CAST_MAGIC;
}