@[Only registered and activated users can see links. Click Here To Register...]Quote:
About active skill, use a time to execute this only every 4/5 second(this will work for minion skill, cleric Benevolence, gladiator Combat preparation etc...)
Code:var petAbility = Game.AbilityList.GetAbility("Skill name"); if (petAbility != null && petAbility.State == 0) { Game.PlayerInput.Ability("Skill name"); return true; }
About dispell
Code:var debuffState= Game.Player.StateList.GetState("debuff name"); // if debuff exist and dispell skill is available if(debuffState!=null && AionGame.UnknownFramework.Helper.HelperFunction.CheckAvailable("dispell skill name")) { AionGame.UnknownFramework.Helper.HelperFunction.CheckExecute("dispell skill name"); return false; }
Questions...
1. Dispel
- How do I make a list of all debuffs that I wish to dispel? ATM I can only dispel one debuff. I put a list of all debuff names but it will only dispel the first debuff on my list.
this is my dispel code
Code:
var debuffState = Game.Player.StateList.GetState("Wide Area Poison Slash"); Game.Player.StateList.GetState("Smash"); Game.Player.StateList.GetState("Hardening Lava"); Game.Player.StateList.GetState("Break Defence"); Game.Player.StateList.GetState("Fire Burst"); Game.Player.StateList.GetState("Visual Confusion");
if (debuffState != null && AionGame.UnknownFramework.Helper.HelperFunction.CheckAvailable("Energy Discharge"))
{
AionGame.UnknownFramework.Helper.HelperFunction.CheckExecute("Energy Discharge");
return false;
}
2. HP Buff skills
- Bot gets stuck in loop spamming HP buff skill bcos it has 1 sec CD. How to make it only use buff once the buff has expired, removed or dispelled?
Currently I use this code
Code:
if (HelperFunction.CheckAvailable("Blessing Of Stone"))
{
HelperFunction.CheckExecute("Blessing Of Stone");
return false;
}
- Can you please show me how to add a pause between active skills to stop them turning on and off and on and off again?
4. Chains
- I've noticed that your default grinder script will actually allow all chains to finish their course before moving onto the next skill. My script will stop half way through a chain to use a skill which is higher up on my scripts list.
Please what's the way to allow chains to finish before using starting new skill?
Thanks