mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 01:41:40 +00:00
The vendor window checks an item's reqPrecondition in the vendor buy context (an unnamed function in LWOVendorComponent, through LWOItemComponent::StaticCheckUseRequirements) and greys out what the player does not meet, without a tooltip. The server sold the item whatever its requirements; a buy that fails them now gets the vendor's normal PURCHASE_FAIL, for both the vendor and the achievement vendor. Rows without the vendor buy bit (the thinking hat one, validContexts 252) still do not stop a purchase; the level ones (249) do. PreconditionExpression::Check takes the client's bShowTooltip flag, so this check sends no NotifyClientFailedPrecondition. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>