ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Dec 11, 2019 5:01 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Mana Coil targeting
PostPosted: Thu Jun 22, 2017 6:27 am 
Offline
Wayist

Joined: Tue Feb 14, 2017 9:08 pm
Posts: 21
Dunno whether this would fall in the "bug that's actually a feature" category: the Mana Coil tinker's autocast lacks a check to see if the caster is hitting themselves with an aoe spell, which can lead to a rather amusing death. (More amusing in this instance since I was already in debug-mode to test something entirely unrelated, so I could cheat-revive and kill myself again to reproduce the behavior.)




Looking at the code, talent_on_spell doesn't seem to care what it hits... so a special-case quick kludge would be to make Mana Coil trigger an intermediary talent which checks for a valid target before before casting Lightning. Or a more general solution would be to give talent_on_spell (and wildgift/mind/steam?) a token value to tell it whether to activate on friend/foe/self/all hits. Which could be mechanically useful for other things as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group