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

Skill infinite time Fetish Army.

pahaone

New Member
Joined
Feb 16, 2017
Messages
5
Reaction score
0
My Witchdoctor has the skill infinite time Fetish Army. So there is no need to constantly use this skill. I made changes in WitchDoctorBase.cs to avoid constant cast skill Fetish Army.
Code:
        protected virtual bool ShouldFetishArmy()
        {
            if (!Skills.WitchDoctor.FetishArmy.CanCast())
                return false;

            if (Skills.WitchDoctor.FetishArmy.IsBuffActive)
                return false;

[B]            [COLOR="#FF0000"]if (Player.Summons.FetishArmyCount == 6)
                return false;[/COLOR][/B]

            return true;
        }

I think it is not best solution. Tell me how to make more correctly?
 
Hi, me n00b. Does that work and where do i put that if i want mine to also stop spamming the skill.

I main a Zuni WD
 
your code is wrong,1. your code is only when fetish count =6 can did't cast the skill ,when the count is 5 ,or 10, it will cast when skill cooldown.
2. you can try that Player.Summons.FetishArmyCount if it contain the belt effect fetish.
3. it's a bad idea to change the WitchDoctorBase.cs code because other routine may be use it ,the best way is rewrite the code in your own routine , like this:

protected override bool ShouldFetishArmy()
{
//your new code here
}
 
Back
Top