EquipItem(new Spellbook()); // Corrected line for equipping a spellbook
Spells.Spellbook spbk = Spellbook; // <--- this is your error
if (spbk != null)
{
spbk.Content = ulong.MaxValue;
spbk.LootType = LootType.Newbied;
}
Spellbook spbk = new Spellbook();
spbk.Content = ulong.MaxValue;
spbk.LootType = LootType.Newbied;
EquipItem(spbk); // Corrected line for equipping a spellbook
EquipItem(new Spellbook(ulong.MaxValue) {LootType = LootType.Newbied}); // Corrected line for equipping a spellbook
We use essential cookies to make this site work, and optional cookies to enhance your experience.