mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-08 00:05:55 +00:00
Bullet data overhaul
This commit is contained in:
parent
3682de18d5
commit
76221ca7a6
9 changed files with 57 additions and 26 deletions
|
|
@ -20,6 +20,8 @@ public partial class SpiralPattern : AttackPattern
|
|||
[Export] private float burstInterval = 0.5f;
|
||||
[Export] private float spread = 360f;
|
||||
[Export] private BulletOwner owner = BulletOwner.Enemy;
|
||||
[Export] private DamageType _damageType = DamageType.Neutral;
|
||||
[Export] private float _bulletDamage = 1f;
|
||||
[Export] private Resource _modifier;
|
||||
[Export] private Array<Resource> _timeModifiers;
|
||||
|
||||
|
|
@ -49,6 +51,8 @@ public partial class SpiralPattern : AttackPattern
|
|||
Direction = Vector2.Right,
|
||||
Speed = bulletSpeed,
|
||||
Owner = owner,
|
||||
DamageType = _damageType,
|
||||
Damage = _bulletDamage,
|
||||
BulletCount = bulletCount,
|
||||
Spread = spread,
|
||||
BulletScene = BulletScene,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue