Darkness073 Posted February 12, 2015 Report Share Posted February 12, 2015 Was wondering if anyone knows of the different chances of getting gems. Whether it is rarer to get a citrine or a sapphire If anyone knows the order it would be great for setting the prices! much appreciated! :) Link to comment Share on other sites More sharing options...
fr1nk Posted February 12, 2015 Report Share Posted February 12, 2015 remove.sqf if (_isMine) then { if((random 10) <= 4) then { _gems = ["ItemTopaz","ItemObsidian","ItemSapphire","ItemAmethyst","ItemEmerald","ItemCitrine","ItemRuby"]; _gem = _gems select (floor(random (count _gems))); _selectedRemoveOutput set [(count _selectedRemoveOutput),[_gem,1]]; }; }; edit: no gem is more rare than another, just randomly picked from an array of all gem types Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now