Make Luminescence a cross tier effect

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

Moderator: Moderator

Message
Author
Nagyhal
Wyrmic
Posts: 282
Joined: Tue Feb 15, 2011 12:01 am

Re: Make Luminescence a cross tier effect

#16 Post by Nagyhal »

You could link the two effects so that they're removed as one and the same. There's code for this in my shared Beholder addon.

When affected by Blindness, beholders instead have two of their many eyes blinded - each eye has been given its own individual blinded effect - and abilities relying on each of theses eyes are disabled for the duration.

As this (in some ways a buff against blindness) would cripple character abilities that remove status effects (and plus because I wanted it to be a "cool" rather than "annoying" thing for Beholders to have), I conjoined the two separate blind effects so that an attempt to remove one of them also removes the other.

You can find the code for this in my open Beholder repository.

However if something like this becomes mainline ToME content then it'd be nice to have a much more generalist solution than the one I have provided! Then I can cut down on a lot of the crap in my hooks\load.lua :3. Anyway, proof of concept exists.

Post Reply