I tried countless "my own" ways of implementing poisons into CC, but none worked.
Finally i tried adapting other cc's ways, but still nothing.
Whenever i do not have any of the poisons chosen in settings in inventory it CC is crashing (unless i comment poisons out), but that's job of Me.CarriedItems to check/prevent that in further steps.
All "info" i'm gettings is "Object reference not set to an instance of an object."
I even tried StyxWoW.Me.CarriedItems.Exists(i => InstantPoisons.Contains(i.Entry) before actually calling Me.CarriedItems.FirstOrDefault(i => MindNumbingPoisons.Contains(i.Entry)), but still nothing changed.
It seems like it's giving error whenever i even try to use Me.CarriedItems searching for item and don't have it in inventory, that sounds retarded
Posting "current" build of it with singular way adapted.
whatever wouldn't be it's solved and wasnt even related to poisons.
Finally i tried adapting other cc's ways, but still nothing.
Whenever i do not have any of the poisons chosen in settings in inventory it CC is crashing (unless i comment poisons out), but that's job of Me.CarriedItems to check/prevent that in further steps.
All "info" i'm gettings is "Object reference not set to an instance of an object."
I even tried StyxWoW.Me.CarriedItems.Exists(i => InstantPoisons.Contains(i.Entry) before actually calling Me.CarriedItems.FirstOrDefault(i => MindNumbingPoisons.Contains(i.Entry)), but still nothing changed.
It seems like it's giving error whenever i even try to use Me.CarriedItems searching for item and don't have it in inventory, that sounds retarded

Posting "current" build of it with singular way adapted.
whatever wouldn't be it's solved and wasnt even related to poisons.
Attachments
Last edited: