Hi all,
the long and short of what I am trying to accomplish is actions (currently timer creation) for automaton cooldowns on "attachment abilities". for example the heat capacitor attachment has a 90 second cooldown. I would like to automatically create a timer and possibly other behavior later on.
I have started with a mote lua for my pup and made adjustments as needed and have tried the following
function job_pet_precast(spell) if spell:contains('Heat') then add_to_chat(123,'pre DING!.') end add_to_chat(123, 'job pre fired') end function job_pet_midcast(spell) if spell:contains('Heat') then add_to_chat(123,'DING job!.') end add_to_chat(123, 'job mid fired') end function job_pet_aftercast(spell) if spell:contains('Heat') then add_to_chat(123,'after DING!.') end add_to_chat(123, 'job after fired') end
what I have come to glean from this is that pet weaponskills trigger mid and aftercast, but the "attachment abilities" do not trigger any of them.
Not sure if it's something missing from the lua core or my having less of an understanding of the way it's all set up.
Thanks!