mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 07:26:10 +00:00
Work on projectiles
This commit is contained in:
24
Runtime/MP1/World/CFlaahgraProjectile.cpp
Normal file
24
Runtime/MP1/World/CFlaahgraProjectile.cpp
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Created by Jack Andersen on 2/10/18.
|
||||
//
|
||||
|
||||
#include "CFlaahgraProjectile.hpp"
|
||||
|
||||
namespace urde::MP1
|
||||
{
|
||||
|
||||
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,
|
||||
kInvalidUniqueId, EProjectileAttrib::BigProjectile, false, zeus::CVector3f::skOne,
|
||||
{}, 0xffff, false), x3d8_bigStrike(bigStrike)
|
||||
{
|
||||
if (x3d8_bigStrike)
|
||||
{
|
||||
xe8_projectileAttribs |= EProjectileAttrib::BigStrike;
|
||||
x150_damageDuration = 2.f;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user