diff options
Diffstat (limited to 'src/resources/monsterinfo.cpp')
-rw-r--r-- | src/resources/monsterinfo.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/resources/monsterinfo.cpp b/src/resources/monsterinfo.cpp index 0a7e18dc..0ee08e42 100644 --- a/src/resources/monsterinfo.cpp +++ b/src/resources/monsterinfo.cpp @@ -70,3 +70,18 @@ MonsterInfo::getSound(MonsterSoundEvent event) const return i->second->at(rand()%i->second->size()); } } + +const std::string & +MonsterInfo::getAttackParticleEffect(int attackType) const +{ + static std::string something("graphics/particles/attack.particle.xml"); + static std::string nothing(""); + + if (attackType > 1) return something; else return nothing; +} + +SpriteAction +MonsterInfo::getAttackAction(int attackType) const +{ + return ACTION_ATTACK; +} |