From 7caa3d16574072e40baf72d74a7ab11ff2f3f052 Mon Sep 17 00:00:00 2001 From: Mishiro Usui Date: Fri, 7 Jul 2023 10:46:56 +0100 Subject: [PATCH] Updated Summoner's Association modcalls --- ModSupport/WeakReferenceSupport.cs | 45 +++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index e185505d62..34921ff0f1 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -1171,11 +1171,48 @@ namespace CalamityMod RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); RegisterSummon(ItemType(), BuffType(), ProjectileType()); - - sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List() { ProjectileType(), ProjectileType(), ProjectileType()}, new List() {1-(1f/3f), 2f/3f, 2f/3f}); + + sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List> + { + new Dictionary() + { + ["ProjID"] = ProjectileType(), + ["Slot"] = 1-(1f/3f) + }, + new Dictionary() + { + ["ProjID"] = ProjectileType(), + ["Slot"] = 2f/3f + }, + new Dictionary() + { + ["ProjID"] = ProjectileType(), + ["Slot"] = 2f/3f + } + }); //Entropy's Vigil is a bruh moment - sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List() { ProjectileType(), ProjectileType()}); - sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List() { ProjectileType(), ProjectileType() }); + sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List> + { + new Dictionary() + { + ["ProjID"] = ProjectileType() + }, + new Dictionary() + { + ["ProjID"] = ProjectileType() + } + }); + sAssociation.Call("AddMinionInfo", ItemType(), BuffType(), new List> + { + new Dictionary() + { + ["ProjID"] = ProjectileType() + }, + new Dictionary() + { + ["ProjID"] = ProjectileType() + } + }); } } }