fix: Updates Mysticism to use circles (#1123)
This commit is contained in:
parent
c5d1927df3
commit
54da2c94a5
11 changed files with 97 additions and 66 deletions
|
|
@ -64,11 +64,8 @@ namespace Server.Spells
|
|||
{
|
||||
if (m.Skills[MoveSkill].Value < RequiredSkill)
|
||||
{
|
||||
var args = $"{RequiredSkill:F1}\t{MoveSkill.ToString()}\t ";
|
||||
m.SendLocalizedMessage(
|
||||
1063013,
|
||||
args
|
||||
); // You need at least ~1_SKILL_REQUIREMENT~ ~2_SKILL_NAME~ skill to use that ability.
|
||||
// You need at least ~1_SKILL_REQUIREMENT~ ~2_SKILL_NAME~ skill to use that ability.
|
||||
m.SendLocalizedMessage(1063013, $"{RequiredSkill:F1}\t{MoveSkill}\t ");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -105,10 +102,8 @@ namespace Server.Spells
|
|||
|
||||
if (from.Mana < mana)
|
||||
{
|
||||
from.SendLocalizedMessage(
|
||||
1060181,
|
||||
mana.ToString()
|
||||
); // You need ~1_MANA_REQUIREMENT~ mana to perform that attack
|
||||
// You need ~1_MANA_REQUIREMENT~ mana to perform that attack
|
||||
from.SendLocalizedMessage(1060181, mana.ToString());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue