From f94d5658249b44f9fa16ada38264ba3a3c639a98 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Fri, 18 Oct 2024 17:15:05 +0200 Subject: [PATCH] [#13] fix(Npc): set native list lengths correctly --- ZenKit/Vobs/Npc.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ZenKit/Vobs/Npc.cs b/ZenKit/Vobs/Npc.cs index cfe8c04..8585472 100644 --- a/ZenKit/Vobs/Npc.cs +++ b/ZenKit/Vobs/Npc.cs @@ -890,7 +890,7 @@ public void SetAttribute(int i, int v) Native.ZkNpc_setAttribute(Handle, (ulong)i, v); } - public const int HitChanceCount = 8; + public const int HitChanceCount = 4; public List HitChance { @@ -924,7 +924,7 @@ public void SetHitChance(int i, int v) Native.ZkNpc_setHitChance(Handle, (ulong)i, v); } - public const int MissionCount = 8; + public const int MissionCount = 5; public List Missions { @@ -964,7 +964,7 @@ public int[] AiVars set => Native.ZkNpc_setAiVars(Handle, value, (ulong)value.Length); } - public const int PackedCount = 8; + public const int PackedCount = 9; public List Packed {