Hey there, dont know if im retarded or its not supported yet, Flesh offering! is there anyway to get this skill in the combat routine? its such a great damage/farming boost! Would be great if someone could send me a cr for it
This is how I'm doing it but it causes error spam in the bot like summon skeletons does. First I created a new check to see if any of my summons had the Flesh Offering buff like this: private int FleshOfferingBuffed { get { return LokiPoe.ObjectManager.Objects.OfType<Monster>().Count(m => m.IsValid && m.IsFriendly && m.HasAura("offering_offensive") && !m.IsDead); } } then I added a line to Exile.cs for Flesh Offering that makes sure that none of the minions are buffed, there are dead summonables nearby to use it on, and I have max zombies up so I'm not wasting corpses. Register("Flesh Offering", ret => FleshOfferingBuffed == 0 && DeadSummonablesNearby.Any() && NumZombies == MaxZombies); Works for me, but, as I said, causes mass error spam in bot about null references that I have been unable to fix. Hopefully pushedx can weigh in on my dirty code and fix it. View attachment Exile.cs This is my default exile.cs file with the edits done.
No problem, you can do the same with Bone Offering if you switch it from "offering_offensive" to "offering_defensive" I believe.
Now for another question...(and perhaps this is too tricky to be worth spending time on) Is there any way to code flesh and bone offering so that it uses flesh offering whenever white mobs are around, but uses bone offering whenever blue/yellow/unique mobs are around? I'm just defaulting to using bone offering all the time to increase survivability of my zombies. Thanks for any advice!
Create another check on zombies for bone offering: private int BoneOfferingBuffed { get { return LokiPoe.ObjectManager.Objects.OfType<Monster>().Co unt(m => m.IsValid && m.IsFriendly && m.HasAura("offering_defensive") && !m.IsDead); } } then add a line for bone offering just above flesh offering with a prereq for only magic and above. Register("Bone Offering", ret => BoneOfferingBuffed == 0 && DeadSummonablesNearby.Any() && NumZombies == MaxZombies && BestTarget.Rarity >= Rarity.Magic); I don't have bone offering to test atm but that should work. Let me know if it doesn't and I'll dig into it further.
Araklisk, this is working absolutely perfectly for me, and throwing no errors at all. Thanks so much!
Just for the sake of sharing. (changed a bit the initial code, suits me better) Code: Register("Flesh Offering", ret => FleshOfferingBuffed == 0 && MyZombies.Count == MaxZombies && NumberOfMobsNear(BestTarget, 50, 1, true));
The Inventory API was updated after that post was made, so that code needs to be updated: Code: LokiPoe.ObjectManager.Me.Inventory should now be: Code: LokiPoe.PlayerInventory That should fix those compile errors (just compiled it).