Roxanne Posted November 21, 2015 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.
Echon Posted November 22, 2015 Author 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.
Roxanne Posted November 22, 2015 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.
Echon Posted November 22, 2015 Author Posted November 22, 2015 Or that. I had forgotten about the GiveItemCreate action. Thanks.
Avenger Posted November 22, 2015 Posted November 22, 2015 So, the original statement of this topic doesn't hold anymore.
Echon Posted November 23, 2015 Author 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.
Avenger Posted November 23, 2015 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.