Thread: PowerScrolls
View Single Post
Old 05-28-2004, 07:25 AM   #6 (permalink)
Jason
Account Terminated
 
Join Date: May 2004
Posts: 1,161
Default

Quote:
Originally Posted by Lorryn
No I havent touched the code, BaseChampion - PowerScroll or Barracoon Script.

and YES one of the players got a Blacksmithing PS from the Baracoon champ.
The code does not lie:

Quote:
public static PowerScroll CreateRandomNoCraft( int min, int max )
{
min /= 5;
max /= 5;

SkillName[] skills = PowerScroll.Skills;
SkillName skillName;

do
{
skillName = skills[Utility.Random( skills.Length )];
} while ( skillName == SkillName.Blacksmith || skillName == SkillName.Tailoring );

return new PowerScroll( skillName, 100 + (Utility.RandomMinMax( min, max ) * 5));
}
Your player is mistaken that he got the powerscroll from a champion.
Jason is offline   Reply With Quote