fix: Fixes missing inscription message (#1518)
This commit is contained in:
parent
0d21459e85
commit
d6823309d4
3 changed files with 18 additions and 9 deletions
|
|
@ -202,19 +202,22 @@ namespace Server.Engines.Craft
|
|||
CraftItems[index].ItemHue = hue;
|
||||
}
|
||||
|
||||
public void SetManaReq(int index, int mana)
|
||||
public void SetManaReq(int index, int mana, int cliloc = 0)
|
||||
{
|
||||
CraftItems[index].Mana = mana;
|
||||
CraftItems[index].NeedManaLabel = TextDefinition.Of(cliloc, "You lack the required mana to make that.");
|
||||
}
|
||||
|
||||
public void SetStamReq(int index, int stam)
|
||||
public void SetStamReq(int index, int stam, int cliloc = 0)
|
||||
{
|
||||
CraftItems[index].Stam = stam;
|
||||
CraftItems[index].NeedStamLabel = TextDefinition.Of(cliloc, "You lack the required stamina to make that.");
|
||||
}
|
||||
|
||||
public void SetHitsReq(int index, int hits)
|
||||
public void SetHitsReq(int index, int hits, int cliloc = 0)
|
||||
{
|
||||
CraftItems[index].Hits = hits;
|
||||
CraftItems[index].NeedHitsLabel = TextDefinition.Of(cliloc, "You lack the required hit points to make that.");
|
||||
}
|
||||
|
||||
public void SetUseAllRes(int index, bool useAll)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue