Add collision teleport portals and ledge-safe movement in VNext dungeons
This commit is contained in:
@@ -385,9 +385,12 @@ public sealed partial class DungeonHandler
|
||||
frame = o.FrameIndex,
|
||||
blocks = o.BlocksMovement,
|
||||
interact = o.IsInteractable,
|
||||
triggeredByWalk = o.TriggeredByWalk,
|
||||
interactionType = o.InteractionType,
|
||||
trap = o.IsTrap,
|
||||
damage = o.TrapDamage,
|
||||
loot = o.LootTableId
|
||||
loot = o.LootTableId,
|
||||
metadataJson = o.MetadataJson
|
||||
}).ToArray();
|
||||
}
|
||||
|
||||
@@ -453,7 +456,11 @@ public sealed partial class DungeonHandler
|
||||
id = p.Id,
|
||||
x = p.X,
|
||||
y = p.Y,
|
||||
type = p.Type.ToString().ToLower()
|
||||
type = p.Type.ToString().ToLower(),
|
||||
triggerOnCollision = p.TriggerOnCollision,
|
||||
triggerRadius = p.TriggerRadius,
|
||||
destinationX = p.DestinationX,
|
||||
destinationY = p.DestinationY
|
||||
}),
|
||||
// V3 visual tile data
|
||||
tileSheets,
|
||||
|
||||
Reference in New Issue
Block a user