fix: Fixes OPL for a few items (#1679)

This commit is contained in:
Kamron Batman 2024-02-14 19:47:30 -08:00 • committed by GitHub
parent 5ada7a4e50
commit 8f4d86ca1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -233,7 +233,7 @@ public partial class BaseQuiver : Container, ICraftable, IAosItem
if (ammo == null) if (ammo == null)
{ {
list.Add(1075265, $"0\t{Capacity}"); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows list.Add(1075265, $"{"0"}\t{Capacity}"); // Ammo: ~1_QUANTITY~/~2_CAPACITY~ arrows
} }
else if (ammo is Arrow) else if (ammo is Arrow)
{ {

View file

@ -361,7 +361,7 @@ public partial class HouseRaffleStone : Item
} }
case HouseRaffleState.Completed: case HouseRaffleState.Completed:
{ {
list.Add(1060658, $"winner\t{_winner?.Name ?? "Unknown"}"); // ~1_val~: ~2_val~ list.Add(1060658, $"{"winner"}\t{_winner?.Name ?? "Unknown"}"); // ~1_val~: ~2_val~
break; break;
} }
} }
@ -375,7 +375,7 @@ public partial class HouseRaffleStone : Item
{ {
case HouseRaffleState.Active: case HouseRaffleState.Active:
{ {
LabelTo(from, 1060658, $"Ends\t{_started + _duration}"); // ~1_val~: ~2_val~ LabelTo(from, 1060658, $"{"Ends"}\t{_started + _duration}"); // ~1_val~: ~2_val~
break; break;
} }
case HouseRaffleState.Completed: case HouseRaffleState.Completed:
@ -383,7 +383,7 @@ public partial class HouseRaffleStone : Item
LabelTo( LabelTo(
from, from,
1060658, // ~1_val~: ~2_val~ 1060658, // ~1_val~: ~2_val~
$"Winner\t{_winner?.Name ?? "Unknown"}" $"{"Winner"}\t{_winner?.Name ?? "Unknown"}"
); );
break; break;
} }

View file

@ -52,7 +52,7 @@ public partial class StatCapScroll : SpecialScroll
* a legendary scroll of ~1_type~ (+20 Maximum Stats) OR * a legendary scroll of ~1_type~ (+20 Maximum Stats) OR
* an ultimate scroll of ~1_type~ (+25 Maximum Stats) * an ultimate scroll of ~1_type~ (+25 Maximum Stats)
*/ */
list.Add(1049463 + level, 1049476); list.AddLocalized(1049463 + level, 1049476);
} }
else else
{ {