Skip to content

Commit

Permalink
Add proper encoding of Evan glove when quest 22012 is completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Sep 28, 2023
1 parent 342f755 commit 75de25d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ ICharacter character
var inventory = character.Inventories[ItemInventoryType.Equip]?.Items ?? ImmutableDictionary<short, IItemSlot>.Empty;
var unseen = new int[60];
var equip = new int[60];

if ((character.Job == Job.EvanJr || JobConstants.GetJobRace(character.Job) == 2 && JobConstants.GetJobType(character.Job) == 2) &&
character.QuestCompletes[QuestRecords.EvanGlove] != null)
equip[(int)BodyPart.Gloves] = 1082262;

foreach (var kv in inventory.Where(kv => kv.Key < -100))
{
Expand Down

0 comments on commit 75de25d

Please sign in to comment.