Jump to content

Create Inventory Item [122]


Echon

Recommended Posts

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

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

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...