kfritz411
Member
At it again folks!
I've been looking for ways to randomly add items to monster corpse. I have found this method that is nice and easy, but it's TOO consistent.
this.PackReg(2);
PackItem( new Soul( Utility.RandomMinMax(0, 1) ) );
PackItem( new EtherealLeather( Utility.RandomMinMax(0, 1) ) );
PackItem( new ShadowLeather( Utility.RandomMinMax(0, 1) ) );
Is there a way to do this where I can lower the overall drop. As of right now, every mob (pretty sure it's every single one) I kill that has this script gets at least 1 of the items dropped in the corpse. I'd like to limit this as more like: 1 in 10 gets at least 1 of the listed items in a random amount.
I'm not sure if there's anything that has an existing script I can copy/paste/retool, or if maybe I'm missing variables/arguments on the script I'm using?
Thanks!
I've been looking for ways to randomly add items to monster corpse. I have found this method that is nice and easy, but it's TOO consistent.
this.PackReg(2);
PackItem( new Soul( Utility.RandomMinMax(0, 1) ) );
PackItem( new EtherealLeather( Utility.RandomMinMax(0, 1) ) );
PackItem( new ShadowLeather( Utility.RandomMinMax(0, 1) ) );
Is there a way to do this where I can lower the overall drop. As of right now, every mob (pretty sure it's every single one) I kill that has this script gets at least 1 of the items dropped in the corpse. I'd like to limit this as more like: 1 in 10 gets at least 1 of the listed items in a random amount.
I'm not sure if there's anything that has an existing script I can copy/paste/retool, or if maybe I'm missing variables/arguments on the script I'm using?
Thanks!