What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Reflect Damage item swap?

stankopalluza

New Member
Joined
Oct 19, 2012
Messages
44
Reaction score
0
I tried posting this to the Trinity forum but didn't get any responses so hopefully someone here can help! Is there anyway to use the combat plugins to swap some items out when the bot encounters reflect damage mobs? Or is there a different plugin to handle this? It's the only mob type I ever have problems with and would consistently allow me to run at a higher MP if I could swap to LoH items. Any information on this would be greatly appreciated. Thanks.
 
Yes it is possible.
You need to take a look at what i did with the WeaponSwap.cs or at Apoc's MF Swap plugin he made a few months back.

Create some variable: bool ReflectAround
If a monsters affix has reflect damage -> ReflectAround = True;
Then inside barbarian.cs do these 2 IF's:

1.
Code:
if (ReflectAround == true && reflectItemsOn() == false)
{
    SwapToReflectItems();
}
2.
Code:
if (iElitesInRange[50] == 0)
{
    ReflectAround = false;
    SwapBackToNormalGear();
}


Ofc means you need to know a little programming, but this is the way to go imo.
 
Thanks for the help. I know some programming but wading through all this code is going to be rough!

There should really be a plugin for this type of thing, gearing swapping for reflect damage mobs with high dps toons is a standard part of the game. Even a plugin to switch to an SOJ when you run into elites would be really clutch.
 
Well all plugins are user made, the DB devs do nothing except maintain the bot.
Meaning - welcome to the "community dev" team :) Take this as a project and then there will be a "swap to SoJ on elite" and a "swap to defensive on reflect"
 
Back
Top