Macready Posted February 28, 2006 Share Posted February 28, 2006 Hello - If you have a spell whose effects shouldn't stack with itself (e.g., greater malison shouldn't lower saves more than once), it is my understanding that you prevent the stacking by adding a "protection from spell" effect to the spell (e.g., if greater malison is spwi4xx, you add a protection from spell spwi4xx effect so that any target affected by malison is protected from being affected again). Is there a way to do the same thing with potions? One potion which has an increment effect is the potion of fire resistance: it adds 50% to fire resistance. Is there any way of preventing the stacking of effects from multiple fire resistance potions without inhibiting the player's ability to add resistance from other sources (say, a ring of fire resistance)? Or is it generally accepted that any potions containing increment/decrement effects are supposed to have their effects be stackable? Link to comment
igi Posted February 28, 2006 Share Posted February 28, 2006 From reading your post, the obvious way would be to patch the item to apply its affects via spell (rather than directly). Then you can use the Protection From Spell opcode. There may be an even simpler way. Link to comment
CamDawg Posted February 28, 2006 Share Posted February 28, 2006 I can't think of anything offhand--you could do EFFs, but it's the same basic idea as the spell, only more files. Can't Use Item might work but I doubt it. I believe it just prevents you from equipping items and that may not prevent you from using the abilities of an item. Link to comment
Macready Posted February 28, 2006 Author Share Posted February 28, 2006 Hello - Thanks for the answers -- they are very much appreciated. Link to comment
Avenger Posted March 4, 2006 Share Posted March 4, 2006 I think igi's way is the simplest. And it is a really good trick Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.