For everyone who dont read all Posts in Threads.
Full Credit to GuuD and rrix
Full Credit to GuuD and rrix
For everyone who encounters potion problem (aka everyone) here is the fix:
Open Plugins/Trinity/Combat/HandleTarget.cs with Sublime Text, Visual Studio, Notepad++ or any other editor.
Findline.Code:bool hasPotion = ZetaDia.Me.Inventory.Backpack.Any(p => p.GameBalanceId == -2142362846);
Add this code just below it:
Code:if (hasPotion && Player.CurrentHealthPct <= PlayerEmergencyHealthPotionLimit && !IsWaitingForPower && !IsWaitingForPotion && !Player.IsIncapacitated && SNOPowerUseTimer(SNOPower.DrinkHealthPotion)) { Logger.Log(TrinityLogLevel.Debug, LogCategory.Targetting, "Setting isWaitingForPotion: MyHP={0}, Limit={1}", Player.CurrentHealthPct, PlayerEmergencyHealthPotionLimit); IsWaitingForPotion = true; runStatus = HandlerRunStatus.TreeRunning; }
Save the file and restart DB.
All credits go to rrix, it's his code till the last ";", he just lost it in the latest Trinity.






