summaryrefslogtreecommitdiff
path: root/src/resources/beinginfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r--src/resources/beinginfo.cpp23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp
index 326d5fd9a..93d8a5d4b 100644
--- a/src/resources/beinginfo.cpp
+++ b/src/resources/beinginfo.cpp
@@ -47,8 +47,15 @@ Attack *BeingInfo::empty = new Attack(SpriteAction::ATTACK,
SpriteAction::ATTACKSKY,
SpriteAction::ATTACKWATER,
SpriteAction::ATTACKRIDE,
- -1, -1, -1, -1,
- std::string());
+ -1,
+ -1,
+ -1,
+ -1,
+ std::string(),
+ 32.0F,
+ 7.0F,
+ 8.0F,
+ 3000);
BeingInfo::BeingInfo() :
mDisplay(),
@@ -184,7 +191,11 @@ void BeingInfo::addAttack(const int id,
const int hitEffectId,
const int criticalHitEffectId,
const int missEffectId,
- const std::string &missileParticle)
+ const std::string &missileParticle,
+ const float missileZ,
+ const float missileSpeed,
+ const float missileDieDistance,
+ const int missileLifeTime)
{
delete mAttacks[id];
mAttacks[id] = new Attack(action,
@@ -195,7 +206,11 @@ void BeingInfo::addAttack(const int id,
hitEffectId,
criticalHitEffectId,
missEffectId,
- missileParticle);
+ missileParticle,
+ missileZ,
+ missileSpeed,
+ missileDieDistance,
+ missileLifeTime);
}
void BeingInfo::clear()