Address comments

Split out TG arcs into its own thing.
This commit is contained in:
Metal Gear Sloth
2020-06-24 19:42:16 +10:00
parent e152dd90dc
commit 8e56f6d985
12 changed files with 119 additions and 78 deletions

View File

@@ -50,7 +50,7 @@ namespace Content.Client.GameObjects.EntitySystems
var lunge = attacker.EnsureComponent<MeleeLungeComponent>();
lunge.SetData(msg.Angle);
var entity = EntityManager.SpawnEntity("WeaponArc", attacker.Transform.GridPosition);
var entity = EntityManager.SpawnEntity(weaponArc.Prototype, attacker.Transform.GridPosition);
entity.Transform.LocalRotation = msg.Angle;
var weaponArcAnimation = entity.GetComponent<MeleeWeaponArcAnimationComponent>();