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.
Mana Coil targeting
Where bugs go to lie down and rest
Moderator: Moderator
Message
Author
-
- Wayist
- Posts: 23
- Joined: Tue Feb 14, 2017 9:08 pm
Jump to
- General
- ↳ Announcements
- ToME 4
- ↳ General Discussion
- ↳ Dumb Questions
- ↳ Character Reports
- ↳ Ideas
- ↳ Spoilers
- ↳ Metaclass: Warriors
- ↳ Metaclass: Rogues
- ↳ Metaclass: Mages
- ↳ Metaclass: Wilders
- ↳ Metaclass: Celestials
- ↳ Metaclass: Defilers
- ↳ Metaclass: Afflicted
- ↳ Metaclass: Chronomancers
- ↳ Metaclass: Psionics
- ↳ Metaclass: Adventurers
- ↳ Metaclass: Tinkers
- ↳ Metaclass: Demented
- ↳ Bugs
- ↳ Bugs Archive
- ↳ Development
- ↳ Addons
- T-Engine 4
- ↳ General Discussion
- ↳ Ideas
- ↳ Modules
- ↳ Development
- ↳ Bugs
- ToME 2.x.x
- ↳ General Discussion
- ↳ Ideas
- ↳ Gameplay
- ↳ Spoilers
- ↳ Modules
- ↳ ToME/Bugs
- ToME 3.x.x
- ↳ General Discussion
- ↳ Ideas
- ↳ T-Engine Development
- ↳ Modules
- ↳ Spoilers
- ↳ Bugs
- Behind the Void
- ↳ Tolkien
- ↳ The Void
- Archives
- ↳ Archives