Go Back   RunUO - Ultima Online Emulation > RunUO > General Discussion

General Discussion General discussion for the RunUO community, all off-topic posts will be deleted. This forum is NOT FOR SUPPORT!

Reply
 
Thread Tools Display Modes
Old 05-26-2004, 03:07 AM   #1 (permalink)
 
Join Date: Mar 2004
Age: 38
Posts: 254
Send a message via MSN to Lorryn
Default PowerScrolls

I am having Blacksmithing and Tailoring PowerScrolls being given out at champ spawns. Is this right ?

Shouldnt they be only available thru Bulk Order Deed rewards ?

L.
Lorryn is offline   Reply With Quote
Old 05-26-2004, 04:02 AM   #2 (permalink)
Forum Expert
 
Join Date: Jun 2003
Location: around
Posts: 1,376
Send a message via ICQ to bean56 Send a message via AIM to bean56
Default

Quote:
Originally Posted by Lorryn
Shouldnt they be only available thru Bulk Order Deed rewards ?

L.
That is correct. Check your champ scirpts.
bean56 is offline   Reply With Quote
Old 05-28-2004, 05:25 AM   #3 (permalink)
 
Join Date: Mar 2004
Age: 38
Posts: 254
Send a message via MSN to Lorryn
Default

Can this be moved to script support ?
I do not see how to restrict the smithing and tailoring scrolls from the champs.

this is at line 90 of BaseChampion.cs

PowerScroll ps = PowerScroll.CreateRandomNoCraft( level, level );

So I am thinking in all reality it shouldn't be making and sending a craft powerscroll as part of the Champion loot ?

L.
Lorryn is offline   Reply With Quote
Old 05-28-2004, 06:23 AM   #4 (permalink)
Account Terminated
 
Join Date: May 2004
Posts: 1,161
Default

Quote:
Originally Posted by Lorryn
Can this be moved to script support ?
I do not see how to restrict the smithing and tailoring scrolls from the champs.

this is at line 90 of BaseChampion.cs

PowerScroll ps = PowerScroll.CreateRandomNoCraft( level, level );

So I am thinking in all reality it shouldn't be making and sending a craft powerscroll as part of the Champion loot ?

L.
Your correct in the fact you cannot get BOD from Champs and I am postive your players are not getting the craft bods from champs.

Unless you changed the code.
Jason is offline   Reply With Quote
Old 05-28-2004, 06:56 AM   #5 (permalink)
 
Join Date: Mar 2004
Age: 38
Posts: 254
Send a message via MSN to Lorryn
Default

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.

L.
Lorryn is offline   Reply With Quote
Old 05-28-2004, 07:25 AM   #6 (permalink)
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
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5