Vanquisher
Initiate
//public override void OnDeath( Container c )
//{
//base.OnDeath( c );
//if ( Utility.RandomDouble() > 40 )
//{
//switch ( Utility.Random( 3 ) )
//{
// case 0: PackItem( new PowerScroll (SkillName.AnimalTaming, 140 ) ); break;
// case 1: PackItem( new PowerScroll (SkillName.AnimalLore, 140 ) ); break;
// case 2: PackItem( new TamerSkillMount () ); break;
//}
//}
//}
Im wanting to know how to set this up for like 1 out of 5 chance to get one of the items im wanting to know what the variables mean exactly im abit confused.
//{
//base.OnDeath( c );
//if ( Utility.RandomDouble() > 40 )
//{
//switch ( Utility.Random( 3 ) )
//{
// case 0: PackItem( new PowerScroll (SkillName.AnimalTaming, 140 ) ); break;
// case 1: PackItem( new PowerScroll (SkillName.AnimalLore, 140 ) ); break;
// case 2: PackItem( new TamerSkillMount () ); break;
//}
//}
//}
Im wanting to know how to set this up for like 1 out of 5 chance to get one of the items im wanting to know what the variables mean exactly im abit confused.