2018-02-11 05:27:00 +00:00
|
|
|
#include "CFlaahgraProjectile.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde::MP1 {
|
2018-02-11 05:27:00 +00:00
|
|
|
|
|
|
|
CFlaahgraProjectile::CFlaahgraProjectile(bool bigStrike, const TToken<CWeaponDescription>& desc,
|
|
|
|
const zeus::CTransform& xf, const CDamageInfo& damage, TUniqueId uid,
|
|
|
|
TAreaId aid, TUniqueId owner)
|
|
|
|
: CEnergyProjectile(true, desc, EWeaponType::AI, xf, EMaterialTypes::Character, damage, uid, aid, owner,
|
2018-12-08 05:30:43 +00:00
|
|
|
kInvalidUniqueId, EProjectileAttrib::BigProjectile, false, zeus::CVector3f::skOne, {}, 0xffff,
|
|
|
|
false)
|
|
|
|
, x3d8_bigStrike(bigStrike) {
|
|
|
|
if (x3d8_bigStrike) {
|
|
|
|
xe8_projectileAttribs |= EProjectileAttrib::BigStrike;
|
|
|
|
x150_damageDuration = 2.f;
|
|
|
|
}
|
2018-02-11 05:27:00 +00:00
|
|
|
}
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde::MP1
|