Artek 3 Posted September 9, 2020 Share Posted September 9, 2020 Trying to make complex fightclass for my druid without coding. Mangle can have 3 different costs of energy which depends on Improved Mangle Talent, every time i lvl it up i need to change condition manually, would love to avoid it. Other way to work could be something like "use this skill only when it costs x energy" but there is no such way in coditions list. Is is possible to use specific skill only when specific talent is selected/not selected?(without using c#) Checked whole list of spell condition and couldn't find anything Link to comment https://wrobot.eu/forums/topic/12496-use-specific-skill-only-when-a-specific-talent-is-selected-or-not-selected/ Share on other sites More sharing options...
Matenia 628 Posted September 9, 2020 Share Posted September 9, 2020 Not possible without code Link to comment https://wrobot.eu/forums/topic/12496-use-specific-skill-only-when-a-specific-talent-is-selected-or-not-selected/#findComment-59895 Share on other sites More sharing options...
Apexx 60 Posted September 9, 2020 Share Posted September 9, 2020 But.. if anyone needed code for this: Boolean method: internal static bool PlayerKnowShadowWeaving() { return Lua.LuaDoString<bool>(@" local numTabs = GetNumTalentTabs(); for t=1, numTabs do local numTalents = GetNumTalents(t); for i = 1, numTalents do nameTalent, _, _, _, currRank, _ = GetTalentInfo(t, i); if nameTalent == 'Shadow Weaving' and currRank > 0 then return true; end end end" ); } Usage: // Shadow Word: Pain- Only if player knows Shadow Weaving and has 5 stacks if (PlayerKnowShadowWeaving() && ObjectManager.Me.BuffStack(15258) >= 5 && !ObjectManager.Target.HaveBuff(SpellController.shadowWordPain.Ids)) { Logging.WriteDebug($"Shadow Weaving buff stack = {Player.BuffStack(SpellController.shadowWeaving.Ids)}"); // Launch Shadow Word: Pain } Link to comment https://wrobot.eu/forums/topic/12496-use-specific-skill-only-when-a-specific-talent-is-selected-or-not-selected/#findComment-59897 Share on other sites More sharing options...
maukor 34 Posted September 10, 2020 Share Posted September 10, 2020 11 hours ago, Artek said: Trying to make complex fightclass for my druid without coding. Mangle can have 3 different costs of energy which depends on Improved Mangle Talent, every time i lvl it up i need to change condition manually, would love to avoid it. Other way to work could be something like "use this skill only when it costs x energy" but there is no such way in coditions list. Is is possible to use specific skill only when specific talent is selected/not selected?(without using c#) Checked whole list of spell condition and couldn't find anything Whats the point of it, energy chars wont be slow in leveling if they wait extra 3 energy, most of your damage is from auto-attacks, and your Bite convert extra energy to dmg, Leveled more than 100 druids with no problems. Actually i'm not even checking if i have enough energy, my druid spam it ; ) Not sure if it's good or bad or safe etc Link to comment https://wrobot.eu/forums/topic/12496-use-specific-skill-only-when-a-specific-talent-is-selected-or-not-selected/#findComment-59899 Share on other sites More sharing options...
Artek 3 Posted September 10, 2020 Author Share Posted September 10, 2020 7 hours ago, maukor said: Whats the point of it. It can be used for other stuff ? But i guess you are right with druid Link to comment https://wrobot.eu/forums/topic/12496-use-specific-skill-only-when-a-specific-talent-is-selected-or-not-selected/#findComment-59900 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now