projectile fix
This commit is contained in:
@@ -169,22 +169,34 @@ public class DungeonItemDefinition
|
||||
|
||||
/// <summary>
|
||||
/// Whether projectile flies linearly (true) or spins (false)
|
||||
/// Linear projectiles use ProjectileFrontFrame and ProjectileBackFrame
|
||||
/// Linear projectiles use front/back coordinates
|
||||
/// Spinning projectiles rotate as they fly
|
||||
/// </summary>
|
||||
public bool IsLinearProjectile { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Frame index for front of linear projectile (arrow tip pointing forward)
|
||||
/// X coordinate of arrow tip (front) in the sprite image
|
||||
/// Only used when IsLinearProjectile = true
|
||||
/// </summary>
|
||||
public int ProjectileFrontFrame { get; set; } = 0;
|
||||
public int ProjectileFrontX { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Frame index for back of linear projectile (arrow tail/feathers)
|
||||
/// Y coordinate of arrow tip (front) in the sprite image
|
||||
/// Only used when IsLinearProjectile = true
|
||||
/// </summary>
|
||||
public int ProjectileBackFrame { get; set; } = 0;
|
||||
public int ProjectileFrontY { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// X coordinate of arrow tail (back) in the sprite image
|
||||
/// Only used when IsLinearProjectile = true
|
||||
/// </summary>
|
||||
public int ProjectileBackX { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Y coordinate of arrow tail (back) in the sprite image
|
||||
/// Only used when IsLinearProjectile = true
|
||||
/// </summary>
|
||||
public int ProjectileBackY { get; set; } = 0;
|
||||
|
||||
// Visuals
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user