Echon Posted November 21, 2015 Share Posted November 21, 2015 This effect ignores probability values. Link to comment
Roxanne Posted November 21, 2015 Share Posted November 21, 2015 Do you want e.g 50% chance that item is created and 50% chance that it fails or 50% that item1 is created and 50% chance that item2 is created I have used both options in the past, however I always built the probability into the script that calls the respective spell. I never tried the first variation to be inside the spell itself. Link to comment
Echon Posted November 22, 2015 Author Share Posted November 22, 2015 I did not use the effect via a spell, but attached it directly to a creature. That way it always succeeded. It looks like I will need to use your implementation to add the random element. Link to comment
Roxanne Posted November 22, 2015 Share Posted November 22, 2015 I did not use the effect via a spell, but attached it directly to a creature. That way it always succeeded. It looks like I will need to use your implementation to add the random element. In which case you would not even need the opcode, just a simple script with a probability for the GiveItemCreate("random1",Myself,1,0,0) Action. Link to comment
Echon Posted November 22, 2015 Author Share Posted November 22, 2015 Or that. I had forgotten about the GiveItemCreate action. Thanks. Link to comment
Avenger Posted November 22, 2015 Share Posted November 22, 2015 So, the original statement of this topic doesn't hold anymore. Link to comment
Echon Posted November 23, 2015 Author Share Posted November 23, 2015 So, the original statement of this topic doesn't hold anymore. Why not? I have simply found a way to avoid the issue. Link to comment
Avenger Posted November 23, 2015 Share Posted November 23, 2015 So, the original statement of this topic doesn't hold anymore. Why not? I have simply found a way to avoid the issue. "I did not use the effect via a spell, but attached it directly to a creature. " Ever managed to use probabilities in an embedded effect? Link to comment
Echon Posted November 23, 2015 Author Share Posted November 23, 2015 I assume that is not possible then. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.