#W# A few updates for the Virtue Tome quests.
This commit is contained in:
parent
aed6cda934
commit
774e003943
4 changed files with 26 additions and 8 deletions
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
public class VirtuousQuestBook : BlueBook
|
||||
{
|
||||
[Constructable]
|
||||
public VirtuousQuestBook() : base( "The Virtuous Quest", "Lord British", 3, false ) // 3 pages, false means players can't edit it
|
||||
public VirtuousQuestBook() : base( "The Virtuous Quest", "Lord British", 4, false ) // 3 pages, false means players can't edit it
|
||||
{
|
||||
Hue = 1150; // Makes the book a royal white/silver
|
||||
|
||||
|
|
@ -35,6 +35,18 @@ namespace Server.Items
|
|||
};
|
||||
|
||||
Pages[2].Lines = new string[]
|
||||
{
|
||||
"Rumors say that these",
|
||||
"are the mantras",
|
||||
"'mu', 'ahm', 'summ'",
|
||||
"'lum', 'beh', 'cah'",
|
||||
"'om', and 'ra'.",
|
||||
"",
|
||||
"I do not know which",
|
||||
"Shrines they work on."
|
||||
};
|
||||
|
||||
Pages[3].Lines = new string[]
|
||||
{
|
||||
"Once your tome has",
|
||||
"absorbed the knowledge",
|
||||
|
|
|
|||
|
|
@ -1893,7 +1893,13 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
StatCap = 200;
|
||||
int bonusStatCap = 0;
|
||||
if ( m_VirtueTomeCompleted )
|
||||
{
|
||||
bonusStatCap += 15;
|
||||
}
|
||||
StatCap = 200 + bonusStatCap;
|
||||
|
||||
Skills.Cap = 7000;
|
||||
|
||||
if (m_RecentlyReported == null)
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@ namespace Server.Mobiles
|
|||
|
||||
private static string[] m_Hints = new string[]
|
||||
{
|
||||
"I hear a pure dexterous warrior strikes 10% harder than the rest...",
|
||||
"They say exceptional weapons have the ability to deal more damage.",
|
||||
"Rumor has it that some armors have invisible limits to evasion...",
|
||||
"Lord British is looking for brave adventures for a 'Virtuous Quest'! See him in the castle throne room!!",
|
||||
"Walk near the crops and they just might harvest themselves..."
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -146,9 +146,11 @@ namespace Server.Mobiles
|
|||
|
||||
// Flag the player as having completed the quest forever
|
||||
pm.VirtueTomeCompleted = true;
|
||||
|
||||
pm.AddToBackpack( new Gold( 5000 ) );
|
||||
pm.SendMessage( 63, "Lord British rewards you with 5,000 gold pieces!" );
|
||||
int instantBonus = 0;
|
||||
if ( pm.VirtueTomeCompleted ) instantBonus += 15;
|
||||
pm.StatCap = 200 + instantBonus;
|
||||
pm.AddToBackpack( new GoldDeed( 10000 ) );
|
||||
pm.SendMessage( 63, "Lord British rewards you with 10,000 gold pieces and permanently increased your maximum stat cap to 215" );
|
||||
pm.PlaySound( 0x2E6 );
|
||||
|
||||
pm.AddToBackpack( tome );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue