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

[FIX] Zombie Bear (Trinity)

xia0m0on

Member
Joined
Oct 11, 2012
Messages
35
Reaction score
0
Hi, not sure if it is posted or not. Made a search around the forum but no answer to be found so I messed around the plugin.

This is for those who uses primary skill to attack when out of mana.

1.Open up WitchDoctor.cs (Demonbuddy -> Plugin -> GilesTrinity -> Abilities)

2.Search for your primary skill (e.g fire bomb for my case)

3.You will get
// Fire Bomb fast-attacks Spams Bomb when mana is too low (to cast bears) @12yds or @10yds if Bears avialable
if (!UseOOCBuff && !IsCurrentlyAvoiding && Hotbar.Contains(SNOPower.Witchdoctor_Firebomb) && !PlayerStatus.IsIncapacitated)
{
float fUseThisRange = 35f;
if (Hotbar.Contains(SNOPower.Witchdoctor_ZombieCharger) && PlayerStatus.PrimaryResource >= 150)
fUseThisRange = 30f;
return new TrinityPower(SNOPower.Witchdoctor_Firebomb, fUseThisRange, vNullLocation, -1, CurrentTarget.ACDGuid, 0, 1, WAIT_FOR_ANIM);
}

4. change
fUseThisRange = 30f;
to
fUseThisRange = 5f;

Now your WD will use zombie bear over primary skill when there is enough mana.

Side note: I believe this work for other primary skill but have yet to tested.
 
Back
Top