-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set spell timers to max when using spells from this same group #8
Comments
Please paste the portion of your code below the line 15 |
ADD YOUR TRACKED ACTIONS HEREactionList = [] ObjectsactionList.append(TrackedAction('Potion',TextColor.BLACK,[CooldownGroup.OBJECT],ActionType.CONSUMABLE,['3','4'],visible=False)) Attack SpellsactionList.append(TrackedAction('Exura Ico',TextColor.LBLUE,[CooldownGroup.HEAL],ActionType.HEALCOOLDOWN,['1'],t=1.1,iv=0.5,visible=True)) actionList.append(TrackedAction('Exura Gran Ico',TextColor.LBLUE,[CooldownGroup.HEAL],ActionType.HEALCOOLDOWN,['x'],t=601.0,iv=0.5)) emptyLines = []; actionList.append(TrackedAction('Exori Hur',TextColor.GREEN,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['n'],t=6.1,iv=0.5)) actionList.append(TrackedAction('Exori Gran Ico',TextColor.GREEN,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['q'],t=30.1,iv=0.5)) emptyLines = [7]; actionList.append(TrackedAction('Exori',TextColor.RED,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['7'],t=4.1,iv=0.5)) actionList.append(TrackedAction('Exori Gran',TextColor.RED,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['z'],t=6.1,iv=0.5)) actionList.append(TrackedAction('Exori Min',TextColor.RED,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['9'],t=6.1,iv=0.5)) actionList.append(TrackedAction('Exori Mas',TextColor.RED,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['y'],t=8.1,iv=0.5)) #actionList.append(TrackedAction('StrongStrike',TextColor.DGREEN,[CooldownGroup.ATTACK],ActionType.ATKCOOLDOWN,['shift+{'],8.0)) #actionList.append(TrackedAction('UltimateStrike',TextColor.rgb2hex((0,137,255)),[CooldownGroup.ATTACK,CooldownGroup.SPECIAL],ActionType.ATKCOOLDOWN,['F11'],30.0)) #actionList.append(TrackedAction('UE',TextColor.ORANGE,[CooldownGroup.ATTACK,CooldownGroup.SPECIAL],ActionType.ATKCOOLDOWN,['F12'],40.0)) Attack RunesactionList.append(TrackedAction('RUNY',TextColor.PINK,[CooldownGroup.OBJECT],ActionType.ATKRUNE,['F5'],t=2.1,iv=0.5,ut=UseType.CROSSHAIR,visible=True)) #actionList.append(TrackedAction('SD',TextColor.RED,[CooldownGroup.ATTACK,CooldownGroup.OBJECT],ActionType.ATKRUNE,['c'],ut=UseType.CROSSHAIR,visible=False)) HealemptyLines = [3,7]; Support#actionList.append(TrackedAction('Magic Shield',TextColor.WHITE,[CooldownGroup.SUPPORT],ActionType.SUPPORTEFFECT,['4'],200.0)) actionList.append(TrackedAction('Haste',TextColor.DGREEN,[CooldownGroup.SUPPORT],ActionType.SUPPORTEFFECT,['E',],t=30.1,iv=0.5)) actionList.append(TrackedAction('Gran Haste',TextColor.DGREEN,[CooldownGroup.SUPPORT],ActionType.SUPPORTEFFECT,['F8',],t=5.1,iv=0.5)) actionList.append(TrackedAction('Utito Tempo',TextColor.DGREEN,[CooldownGroup.SUPPORT],ActionType.SUPPORTEFFECT,['0',],t=10.1,iv=0.5)) actionList.append(TrackedAction('Utura',TextColor.DGREEN,[CooldownGroup.SUPPORT],ActionType.SUPPORTEFFECT,['F1',],t=60.1)) #actionList.append(TrackedAction('Sword Ring',TextColor.ORANGE,[CooldownGroup.NONE],ActionType.EQUIPMENT,['F5'],t=1800)) It works fine if i put all spells to cooldown group "NONE" but i can't track groups cooldown :/ ~I just add spaces to make it more visibility. |
I found line in code responsible for triggering all spells from groups.
If i put # before this loop, spells working excellent, but i can't track cooldown groups. |
I solved this problem by putting all groups into TrackedActions and dupplicate tracked hotkeys. I know, this solution isn't really good but it work fine. I also need to exclude this part of code by putting # in every line Initialize
Now, my trackedactions looks like that: actionList.append(TrackedAction('Heal',TextColor.DGREEN,[CooldownGroup.NONE],ActionType.SUPPORTEFFECT,['F1','F2', 'F3' ],t=2.0,)) actionList.append(TrackedAction('Utura',TextColor.DGREEN,[CooldownGroup.NONE],ActionType.SUPPORTEFFECT,['F1',],t=60.1)) This solution allow me also to display cooldown of groups on arc's. Great, but still need solution to block/suppress Arrow keys on Windows. |
Script set all spell timers to max when using spell from this same CooldownGroup. When using "haste" all spells from support CooldownGroup set their timers to max. If i use "haste" and after 10 sec i use "utito tempo" which also i put to support CooldownGroup, "haste" and the rest spells from support CooldownGroup set their timers to max.
The text was updated successfully, but these errors were encountered: