Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -34,7 +34,7 @@ namespace Server.SkillHandlers
|
|||
if (!m.CanHearGhosts)
|
||||
{
|
||||
Timer t = new SpiritSpeakTimer(m);
|
||||
double secs = m.Skills[SkillName.SpiritSpeak].Base / 50;
|
||||
double secs = m.Skills.SpiritSpeak.Base / 50;
|
||||
secs *= 90;
|
||||
if (secs < 15)
|
||||
secs = 15;
|
||||
|
|
@ -143,14 +143,14 @@ namespace Server.SkillHandlers
|
|||
|
||||
if (toChannel != null)
|
||||
{
|
||||
min = 1 + (int)(Caster.Skills[SkillName.SpiritSpeak].Value * 0.25);
|
||||
min = 1 + (int)(Caster.Skills.SpiritSpeak.Value * 0.25);
|
||||
max = min + 4;
|
||||
mana = 0;
|
||||
number = 1061287; // You channel energy from a nearby corpse to heal your wounds.
|
||||
}
|
||||
else
|
||||
{
|
||||
min = 1 + (int)(Caster.Skills[SkillName.SpiritSpeak].Value * 0.25);
|
||||
min = 1 + (int)(Caster.Skills.SpiritSpeak.Value * 0.25);
|
||||
max = min + 4;
|
||||
mana = 10;
|
||||
number = 1061286; // You channel your own spiritual energy to heal your wounds.
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.SkillHandlers
|
|||
{
|
||||
Caster.CheckSkill(SkillName.SpiritSpeak, 0.0, 120.0);
|
||||
|
||||
if (Utility.RandomDouble() > Caster.Skills[SkillName.SpiritSpeak].Value / 100.0)
|
||||
if (Utility.RandomDouble() > Caster.Skills.SpiritSpeak.Value / 100.0)
|
||||
{
|
||||
Caster.SendLocalizedMessage(502443); // You fail your attempt at contacting the netherworld.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue