Quantcast

In addon:OnEnable(): Added a "Scanned" table member to the Player table, set all keys to the profession names and all values to false.

Author torhal <torhal@dummy.example.com>
Author date 2010-02-01 03:56:36
Author local date 2010-02-01 03:56:36 +0000
Committer torhal <torhal@dummy.example.com>
Committer date 2010-02-01 03:56:36
Committer local date 2010-02-01 03:56:36 +0000
Commit 4b13633a266a9cec0f68970af05b3b0e0779aea0
Tree 1fa195b4dd208c5b99025019456534035743fdeb
Parent 580d7de2badfae27649d3b2a2ad8bab5b95513a6
In addon:OnEnable(): Added a "Scanned" table member to the Player table, set all keys to the profession names and all values to false.
In addon:Scan(): Set the player's scanned value for the current profession to true.
In the GameTooltip hook for OnSetUnit: Check to see if the player has scanned the given profession before checking to see if the recipes are known so as to not print false positives.