Because we cant make plugins for this etc, as everything is set to private, i have to ask you, for things which would easily be a plugin.
Now when i play as chrono assasin, its super important that my 2 skill is always on cooldown. With current system if all 5 abilities are being used, it rarely will use that ability, which is really bad for survivability, so i have to relay only on 2nd skill to do all damage and nothing else.
So instead, maybe make the skills go in priority list? The first added to list are used first.
Basically each 0.1 seconds or whatever the delay is, itll check if any of the skills are usable, if 2 is usable, itll use 2. If i need heals, itll use heals, if it has higher priority than mana and so on. Now it just uses abilities in random and you have to hope that the ability you really need to always be used etc, will be actually used when youd need to.
So then players can make their health skill higher priority than mana skill, by putting it on top of the list etc.
Quick sample =
Code:
foreach (var skill in AllSkills)
{
if (skill.health || skill.mana)
{
if (skill.health && ((Player.Health / Player.HealthMax * 100) < skill.healthValue))
Player.UseSkill(skill.Index.ToString());
else if (skill.mana && ((Player.Mana / Player.ManaMax * 100) < skill.manaValue))
Player.UseSkill(skill.Index.ToString());
}
else
Player.UseSkill(skill.Index.ToString());
}
await Task.Delay(100);