When im trying to get a random skill i only get error on the script.
So this is the only way i got it to work but thats not really what i want.
Most of all i would like to have it in BaseCreature.cs


C#:
            if ( 0.01 > Utility.RandomDouble() )
            {
                switch ( Utility.Random( 2 ) )
                {
                    case 0: PackItem( new ScrollofTranscendence( SkillName.AnimalTaming, 1.0 ) ); break;
                    case 1: PackItem( new ScrollofTranscendence( SkillName.Magery, 1.0 ) ); break;
                }
            }
 
Back