In the current version of Demigods, Lord Erebus's Poisoned Blood Ability doesn't function quite correctly. Specifically, it allows the Lord Erebus to kill teammates and himself, and get credit for it. This allows Erebus to farm himself for gold. This is obviously unintended, so I've been attempting to fix it.
My current attempt seems to resolve these issues. However, there is a side effect. AIs do not pickup and drink the poisoned blood potions anymore. I have no idea why this is. If someone has an answer and/or fix to why this is, that would be great.
I've included a link to a copy of the mod. (Also included is a mod to the basic potion available from the store that will instakill the user. The Death potion does work quite right, it triggers an error, but it doesn't affect things.)
Also, can someone confirm that the health or mana gain from consuming the scroll or potion from a loot drop has variance?
Edit: I played some real games today and paid attention to loot drops. They do have variance in the healing amount.
Edit: With some assistance from Peppe I tracked down the problem. The AI determines if it should go after a potion based upon Blueprints.Buff.Affects[valuetype].add. To fix the initial problem, I had changed the original buff to call a secondary buff which was based on the team of the demigod who picked it up. Due to this, the Affects.Health variable was no longer immediately accessible to the Buff. To fix the problem I added Affects.Health.Add = 0. After that everything seems to work just fine.