[1.0.4] Toggle all autocasts ON/OFF

All new ideas for the upcoming releases of ToME 4.x.x should be discussed here

Moderator: Moderator

Post Reply
Message
Author
jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

[1.0.4] Toggle all autocasts ON/OFF

#1 Post by jenx »

I often have elaborate autocasts on. But then, when I reach certain bosses, or difficult rares, I painstakingly turn them all off (and that can be 15+ talents/runes/infusions), so I can control more finely what is happening. Then, I have to reset them all!

I'd LOVE to have a button/keystroke by which I could turn all my autocasts off, and then turn them all back on.

Or alternatively, which would be even cooler, would be to have multiple sets of autocasts, one of which I could set to no talents, or autocast shielding rune only.

Would others like this functionality?
MADNESS rocks

BoomFrog
Halfling
Posts: 84
Joined: Tue Apr 30, 2013 6:19 am

Re: [1.0.4] Toggle all autocasts ON/OFF

#2 Post by BoomFrog »

Yeah that might get me to actually be willing to use autocast sometimes which would be nice.

CaptainTrips
Wyrmic
Posts: 227
Joined: Thu Mar 10, 2011 9:10 pm

Re: [1.0.4] Toggle all autocasts ON/OFF

#3 Post by CaptainTrips »

The basic mechanism of the first option should be relatively simple to do in an addon, if anyone is interested. Just add an additional check to the _M:act() function in /mod/class/Actor.lua in this line:

Code: Select all

if not game.zone.wilderness and not self:attr("confused") and not self:attr("terrified") then self:automaticTalents() end
For example,

Code: Select all

if not game.zone.wilderness and not self:attr("confused") and not self:attr("terrified") and not self:attr("no_autos") then self:automaticTalents() end
and then set the attribute no_autos for the player somehow via the UI.

I *think* this would work as you'd like. I'd try it out myself but I've got no time at the moment, unfortunately.

CaptainTrips
Wyrmic
Posts: 227
Joined: Thu Mar 10, 2011 9:10 pm

Re: [1.0.4] Toggle all autocasts ON/OFF

#4 Post by CaptainTrips »

DarkGod told me earlier he was putting this in 1.05.

jenx
Sher'Tul Godslayer
Posts: 2263
Joined: Mon Feb 14, 2011 11:16 pm

Re: [1.0.4] Toggle all autocasts ON/OFF

#5 Post by jenx »

MADNESS rocks

Post Reply