Help please - where is the code for autocast?

All development conversation and discussion takes place here

Moderator: Moderator

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

Help please - where is the code for autocast?

#1 Post by jenx »

I want to adjust it as an addon. But I can't find the code that controls autocast. Any help?
MADNESS rocks

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: Help please - where is the code for autocast?

#2 Post by tiger_eye »

See:

"automaticTalents" in tome/class/Player.lua
"setTalentAuto" and "checkSetTalentAuto" in tome/class/Actor.lua
"use" in tome/dialogs/UseTalents.lua

Also see: http://te4.org/games/addons/tome/safer- ... ic-talents
darkgod wrote:OMFG tiger eye you are my hero!

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: Help please - where is the code for autocast?

#3 Post by Hachem_Muche »

It's all kicked off each turn in mod.class.Actor.lua:act() line 650.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Post Reply