This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -342,9 +342,9 @@ namespace Server
|
|||
targetFame / 100.0 * (m_HonorDamage / m_TotalDamage); //Initial honor gain is 100th of the monsters honor
|
||||
|
||||
if (m_HonorDamage == m_TotalDamage && m_FirstHit == FirstHit.Granted)
|
||||
dGain *= 1.5; //honor gain is increased alot more if the combat was fully honorable
|
||||
dGain = dGain * 1.5; //honor gain is increased alot more if the combat was fully honorable
|
||||
else
|
||||
dGain *= 0.9;
|
||||
dGain = dGain * 0.9;
|
||||
|
||||
int gain = Math.Min((int)dGain, 200);
|
||||
|
||||
|
|
|
|||
|
|
@ -36,14 +36,14 @@ namespace Server
|
|||
|
||||
AddPage(1);
|
||||
|
||||
Add(new GumpImage(61, 71, 108, GetHueFor(0), "VirtueGumpItem")); // Humility
|
||||
Add(new GumpImage(123, 46, 112, GetHueFor(4), "VirtueGumpItem")); // Valor
|
||||
Add(new GumpImage(187, 70, 107, GetHueFor(5), "VirtueGumpItem")); // Honor
|
||||
Add(new GumpImage(35, 135, 110, GetHueFor(1), "VirtueGumpItem")); // Sacrifice
|
||||
Add(new GumpImage(211, 133, 105, GetHueFor(2), "VirtueGumpItem")); // Compassion
|
||||
Add(new GumpImage(61, 195, 111, GetHueFor(3), "VirtueGumpItem")); // Spiritulaity
|
||||
Add(new GumpImage(186, 195, 109, GetHueFor(6), "VirtueGumpItem")); // Justice
|
||||
Add(new GumpImage(121, 221, 106, GetHueFor(7), "VirtueGumpItem")); // Honesty
|
||||
Add(new InternalEntry(61, 71, 108, GetHueFor(0))); // Humility
|
||||
Add(new InternalEntry(123, 46, 112, GetHueFor(4))); // Valor
|
||||
Add(new InternalEntry(187, 70, 107, GetHueFor(5))); // Honor
|
||||
Add(new InternalEntry(35, 135, 110, GetHueFor(1))); // Sacrifice
|
||||
Add(new InternalEntry(211, 133, 105, GetHueFor(2))); // Compassion
|
||||
Add(new InternalEntry(61, 195, 111, GetHueFor(3))); // Spiritulaity
|
||||
Add(new InternalEntry(186, 195, 109, GetHueFor(6))); // Justice
|
||||
Add(new InternalEntry(121, 221, 106, GetHueFor(7))); // Honesty
|
||||
|
||||
if (m_Beholder == m_Beheld)
|
||||
{
|
||||
|
|
@ -147,7 +147,7 @@ namespace Server
|
|||
return m_Table[index * 3 + vl];
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
if (info.ButtonID == 1 && m_Beholder == m_Beheld)
|
||||
m_Beholder.SendGump(new VirtueStatusGump(m_Beholder));
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ namespace Server
|
|||
AddHtmlLocalized(83, 275, 400, 40, webPage == null ? 1052055 : 1052052); // This virtue is not yet defined. OR -click to learn more (opens webpage)
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
|
|
@ -88,7 +88,7 @@ namespace Server
|
|||
m_Beholder.SendGump(new VirtueInfoGump(m_Beholder, m_Virtue, m_Desc, m_Page));
|
||||
|
||||
if (m_Page != null)
|
||||
Packets.SendLaunchBrowser(sender, m_Page);
|
||||
state.Send(new LaunchBrowser(m_Page)); //No message about web browser starting on OSI
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace Server
|
|||
AddButton(280, 43, 4014, 4014, 9);
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, RelayInfo info)
|
||||
public override void OnResponse(NetState state, RelayInfo info)
|
||||
{
|
||||
switch (info.ButtonID)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue