Hey, I'm trying to make a mod to balance poisons and prevent them from stacking, but I can't really find a way to do the latter.
I did find this code in the toolset: Ability_PreventAbilityEffectStacking
How would I go around using that? In an ideal world, it would work like:
Ability_PreventAbilityEffectStacking = Poison
and it would prevent all abilities with "= Poison" from stacking with each other, but I'm not getting my hopes up.
Another Q: does ATTRIBUTE_WIL exist as a shortcut for willpower?
Preventing Poisons from Stacking and Freebie Q
Débuté par
Midgetface
, déc. 05 2009 04:20
#1
Posté 05 décembre 2009 - 04:20
#2
Posté 05 décembre 2009 - 06:40
Figured this out on my own :3
#3
Posté 28 décembre 2009 - 04:55
Mind telling what you edit to change the duration of the poisons?
Figured I'd update this in case anyone else was looking for this information: The durations are in item_constants_h.
I found them doing the following:
Open up item_singletarget.nss in the toolset, do a search for a partial poison name, something to find the poison section ("venom" for example). Once you find an entry for a poison the 2nd line will start with "ApplyEffectOnObject". Find the XXXXX_DURATION ("VENOM_DURATION" in this case) variable. Left click to make sure the cursor is actually over the XXXX_DURATION or just highlight the entire thing, then right click it and pick "Go to definition." and there it is. change it to whatever you'd like then just export item_singletarget and put it in your override folder.
Figured I'd update this in case anyone else was looking for this information: The durations are in item_constants_h.
I found them doing the following:
Open up item_singletarget.nss in the toolset, do a search for a partial poison name, something to find the poison section ("venom" for example). Once you find an entry for a poison the 2nd line will start with "ApplyEffectOnObject". Find the XXXXX_DURATION ("VENOM_DURATION" in this case) variable. Left click to make sure the cursor is actually over the XXXX_DURATION or just highlight the entire thing, then right click it and pick "Go to definition." and there it is. change it to whatever you'd like then just export item_singletarget and put it in your override folder.
Modifié par Xeddicus_Xor, 10 janvier 2010 - 09:06 .





Retour en haut






