KingKirmit
Golem
In my current WIP Endgame Gods I have a projectile, created by the amazing Sin Costan, that inflicts a Frozen DeBuff.
This DeBuff is supposed to stop the enemy in place, or greatly decrease their speed if not possible, but when ever the DeBuff is inflicted on a flying mob's bodies or tail the game crashes with this error.
If anyone knows how to fix this, or how to code such a DeBuff any help will be GREATLY appreciated and credited.
This DeBuff is supposed to stop the enemy in place, or greatly decrease their speed if not possible, but when ever the DeBuff is inflicted on a flying mob's bodies or tail the game crashes with this error.
Code:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SwordsofGods.IceDragonLegs.AI() in \Swords of Gods\NPCs\Bosses\IceDragon\IceDragonLegs.cs at line 23
at Terraria.NPC.AI()
at Terraria.NPC.UpdateNPC(System.Int32 i)
at Terraria.Main.UpdateReal(Microsoft.Xna.Framework.GameTime gameTime)
If anyone knows how to fix this, or how to code such a DeBuff any help will be GREATLY appreciated and credited.
Your Modding Newcomer,
King Kirmit
Last edited: