vendor: import Pawn 1.3.8 from in-game AddOns dir

Imported from /srv/add01/wow-ascension/Interface/AddOns/Pawn — the
build Ascension's WotLK 3.3.5 client ships.

No upstream history rooted: Pawn 1.3.8 (circa 2010) predates the
modern Pawn repo at github.com/VgerMods/Pawn (retail-only since 6.x),
and Ascension-Addons doesn't carry a Pawn fork. If a Wrath-era Pawn
upstream ever surfaces, this can be re-rooted on it the same way
coa-bartender / coa-omen were.

License: per .toc.
This commit is contained in:
2026-05-08 04:03:35 +02:00
parent c13b96f622
commit bd0269e997
23 changed files with 10413 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<Bindings>
<Binding name="PAWN_TOGGLE_UI" header="PAWN">
PawnUIShow()
</Binding>
<Binding name="PAWN_COMPARE_LEFT">
PawnUI_SetCompareFromHover(1)
</Binding>
<Binding name="PAWN_COMPARE_RIGHT">
PawnUI_SetCompareFromHover(2)
</Binding>
</Bindings>
+442
View File
@@ -0,0 +1,442 @@
-- Pawn by Vger-Azjol-Nerub
-- www.vgermods.com
-- © 2006-2010 Green Eclipse. This mod is released under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 license.
-- See Readme.htm for more information.
--
-- Gem information
------------------------------------------------------------
-- Gem table row format:
-- { ItemID, Class, Red, Yellow, Blue, "Stat1" Quantity1, "Stat2", Quantity2 }
-- ItemID: The item ID of this gem.
-- Red: Is this gem red?
-- Yellow: Is this gem yellow?
-- Blue: Is this gem blue?
-- "Stat": The stat that this gem gives.
-- Quantity: How much of the stat that the gem gives.
--========================================
-- Colored level 80 uncommon-quality gems
--========================================
PawnGemData80Uncommon =
{
------------------------------------------------------------
-- Red gems
------------------------------------------------------------
{ 39900, true, false, false, "Strength", 12 }, -- Bold Bloodstone
{ 39905, true, false, false, "Agility", 12 }, -- Delicate Bloodstone
{ 39906, true, false, false, "Ap", 24 }, -- Bright Bloodstone
{ 39907, true, false, false, "DodgeRating", 12 }, -- Subtle Bloodstone
{ 39908, true, false, false, "ParryRating", 12 }, -- Flashing Bloodstone
{ 39909, true, false, false, "ArmorPenetration", 12 }, -- Fractured Bloodstone
{ 39910, true, false, false, "ExpertiseRating", 12 }, -- Precise Bloodstone
{ 39911, true, false, false, "SpellPower", 14 }, -- Runed Bloodstone
------------------------------------------------------------
-- Orange gems
------------------------------------------------------------
{ 39946, true, true, false, "SpellPower", 7, "Intellect", 6 }, -- Luminous Huge Citrine
{ 39947, true, true, false, "Strength", 6, "CritRating", 6 }, -- Inscribed Huge Citrine
{ 39948, true, true, false, "Strength", 6, "HitRating", 6 }, -- Etched Huge Citrine
{ 39949, true, true, false, "Strength", 6, "DefenseRating", 6 }, -- Champion's Huge Citrine
{ 39950, true, true, false, "Strength", 6, "ResilienceRating", 6 }, -- Resplendent Huge Citrine
{ 39951, true, true, false, "Strength", 6, "HasteRating", 6 }, -- Fierce Huge Citrine
{ 39952, true, true, false, "Agility", 6, "CritRating", 6 }, -- Deadly Huge Citrine
{ 39953, true, true, false, "Agility", 6, "HitRating", 6 }, -- Glinting Huge Citrine
{ 39954, true, true, false, "Agility", 6, "ResilienceRating", 6 }, -- Lucent Huge Citrine
{ 39955, true, true, false, "Agility", 6, "HasteRating", 6 }, -- Deft Huge Citrine
{ 39956, true, true, false, "SpellPower", 7, "CritRating", 6 }, -- Potent Huge Citrine
{ 39957, true, true, false, "SpellPower", 7, "HitRating", 6 }, -- Veiled Huge Citrine
{ 39958, true, true, false, "SpellPower", 7, "ResilienceRating", 6 }, -- Durable Huge Citrine
{ 39959, true, true, false, "SpellPower", 7, "HasteRating", 6 }, -- Reckless Huge Citrine
{ 39960, true, true, false, "Ap", 12, "CritRating", 6 }, -- Wicked Huge Citrine
{ 39961, true, true, false, "Ap", 12, "HitRating", 6 }, -- Pristine Huge Citrine
{ 39962, true, true, false, "Ap", 12, "ResilienceRating", 6 }, -- Empowered Huge Citrine
{ 39963, true, true, false, "Ap", 12, "HasteRating", 6 }, -- Stark Huge Citrine
{ 39964, true, true, false, "DodgeRating", 6, "DefenseRating", 6 }, -- Stalwart Huge Citrine
{ 39965, true, true, false, "ParryRating", 6, "DefenseRating", 6 }, -- Glimmering Huge Citrine
{ 39966, true, true, false, "ExpertiseRating", 6, "HitRating", 6 }, -- Accurate Huge Citrine
{ 39967, true, true, false, "ExpertiseRating", 6, "DefenseRating", 6 }, -- Resolute Huge Citrine
------------------------------------------------------------
-- Yellow gems
------------------------------------------------------------
{ 39912, false, true, false, "Intellect", 12 }, -- Brilliant Sun Crystal
{ 39914, false, true, false, "CritRating", 12 }, -- Smooth Sun Crystal
{ 39915, false, true, false, "HitRating", 12 }, -- Rigid Sun Crystal
{ 39916, false, true, false, "DefenseRating", 12 }, -- Thick Sun Crystal
{ 39917, false, true, false, "ResilienceRating", 12 }, -- Mystic Sun Crystal
{ 39918, false, true, false, "HasteRating", 12 }, -- Quick Sun Crystal
------------------------------------------------------------
-- Green gems
------------------------------------------------------------
{ 39968, false, true, true, "Intellect", 6, "Stamina", 9 }, -- Timeless Dark Jade
{ 39974, false, true, true, "CritRating", 6, "Stamina", 9 }, -- Jagged Dark Jade
{ 39975, false, true, true, "HitRating", 6, "Stamina", 9 }, -- Vivid Dark Jade
{ 39976, false, true, true, "DefenseRating", 6, "Stamina", 9 }, -- Enduring Dark Jade
{ 39977, false, true, true, "ResilienceRating", 6, "Stamina", 9 }, -- Steady Dark Jade
{ 39978, false, true, true, "HasteRating", 6, "Stamina", 9 }, -- Forceful Dark Jade
{ 39979, false, true, true, "Intellect", 6, "Spirit", 6 }, -- Seer's Dark Jade
{ 39980, false, true, true, "CritRating", 6, "Spirit", 6 }, -- Misty Dark Jade
{ 39981, false, true, true, "HitRating", 6, "Spirit", 6 }, -- Shining Dark Jade
{ 39982, false, true, true, "ResilienceRating", 6, "Spirit", 6 }, -- Turbid Dark Jade
{ 39983, false, true, true, "HasteRating", 6, "Spirit", 6 }, -- Intricate Dark Jade
{ 39984, false, true, true, "Intellect", 6, "Mp5", 3 }, -- Dazzling Dark Jade
{ 39985, false, true, true, "CritRating", 6, "Mp5", 3 }, -- Sundered Dark Jade
{ 39986, false, true, true, "HitRating", 6, "Mp5", 3 }, -- Lambent Dark Jade
{ 39988, false, true, true, "ResilienceRating", 6, "Mp5", 3 }, -- Opaque Dark Jade
{ 39989, false, true, true, "HasteRating", 6, "Mp5", 3 }, -- Energized Dark Jade
{ 39990, false, true, true, "CritRating", 6, "SpellPenetration", 8 }, -- Radiant Dark Jade
{ 39991, false, true, true, "HitRating", 6, "SpellPenetration", 8 }, -- Tense Dark Jade
{ 39992, false, true, true, "HasteRating", 6, "SpellPenetration", 8 }, -- Shattered Dark Jade
------------------------------------------------------------
-- Blue gems
------------------------------------------------------------
{ 39919, false, false, true, "Stamina", 18 }, -- Solid Chalcedony
{ 39920, false, false, true, "Spirit", 12 }, -- Sparkling Chalcedony
{ 39927, false, false, true, "Mp5", 6 }, -- Lustrous Chalcedony
{ 39932, false, false, true, "SpellPenetration", 15 }, -- Stormy Chalcedony
------------------------------------------------------------
-- Purple gems
------------------------------------------------------------
{ 39933, true, false, true, "ArmorPenetration", 6, "Stamina", 9 }, -- Puissant Shadow Crystal
{ 39934, true, false, true, "Strength", 6, "Stamina", 9 }, -- Sovereign Shadow Crystal
{ 39935, true, false, true, "Agility", 6, "Stamina", 9 }, -- Shifting Shadow Crystal
{ 39936, true, false, true, "SpellPower", 7, "Stamina", 9 }, -- Glowing Shadow Crystal
{ 39937, true, false, true, "Ap", 12, "Stamina", 9 }, -- Balanced Shadow Crystal
{ 39938, true, false, true, "DodgeRating", 6, "Stamina", 9 }, -- Regal Shadow Crystal
{ 39939, true, false, true, "ParryRating", 6, "Stamina", 9 }, -- Defender's Shadow Crystal
{ 39940, true, false, true, "ExpertiseRating", 6, "Stamina", 9 }, -- Guardian's Shadow Crystal
{ 39941, true, false, true, "SpellPower", 7, "Spirit", 6 }, -- Purified Shadow Crystal
{ 39942, true, false, true, "Agility", 6, "Mp5", 3 }, -- Tenuous Shadow Crystal
{ 39943, true, false, true, "SpellPower", 7, "Mp5", 3 }, -- Royal Shadow Crystal
{ 39944, true, false, true, "Ap", 12, "Mp5", 3 }, -- Infused Shadow Crystal
{ 39945, true, false, true, "SpellPower", 7, "SpellPenetration", 8 }, -- Mysterious Shadow Crystal
}
--========================================
-- Colored level 80 rare-quality gems
--========================================
PawnGemData80Rare =
{
------------------------------------------------------------
-- Red gems
------------------------------------------------------------
{ 39996, true, false, false, "Strength", 16 }, -- Bold Scarlet Ruby
{ 39997, true, false, false, "Agility", 16 }, -- Delicate Scarlet Ruby
{ 39998, true, false, false, "SpellPower", 19 }, -- Runed Scarlet Ruby
{ 39999, true, false, false, "Ap", 32 }, -- Bright Scarlet Ruby
{ 40000, true, false, false, "DodgeRating", 16 }, -- Subtle Scarlet Ruby
{ 40001, true, false, false, "ParryRating", 16 }, -- Flashing Scarlet Ruby
{ 40002, true, false, false, "ArmorPenetration", 16 }, -- Fractured Scarlet Ruby
{ 40003, true, false, false, "ExpertiseRating", 16 }, -- Precise Scarlet Ruby
------------------------------------------------------------
-- Orange gems
------------------------------------------------------------
{ 40037, true, true, false, "Strength", 8, "CritRating", 8 }, -- Inscribed Monarch Topaz
{ 40038, true, true, false, "Strength", 8, "HitRating", 8 }, -- Etched Monarch Topaz
{ 40039, true, true, false, "Strength", 8, "DefenseRating", 8 }, -- Champion's Monarch Topaz
{ 40040, true, true, false, "Strength", 8, "ResilienceRating", 8 }, -- Resplendent Monarch Topaz
{ 40041, true, true, false, "Strength", 8, "HasteRating", 8 }, -- Fierce Monarch Topaz
{ 40043, true, true, false, "Agility", 8, "CritRating", 8 }, -- Deadly Monarch Topaz
{ 40044, true, true, false, "Agility", 8, "HitRating", 8 }, -- Glinting Monarch Topaz
{ 40045, true, true, false, "Agility", 8, "ResilienceRating", 8 }, -- Lucent Monarch Topaz
{ 40046, true, true, false, "Agility", 8, "HasteRating", 8 }, -- Deft Monarch Topaz
{ 40047, true, true, false, "SpellPower", 9, "Intellect", 8 }, -- Luminous Monarch Topaz
{ 40048, true, true, false, "SpellPower", 9, "CritRating", 8 }, -- Potent Monarch Topaz
{ 40049, true, true, false, "SpellPower", 9, "HitRating", 8 }, -- Veiled Monarch Topaz
{ 40050, true, true, false, "SpellPower", 9, "ResilienceRating", 8 }, -- Durable Monarch Topaz
{ 40051, true, true, false, "SpellPower", 9, "HasteRating", 8 }, -- Reckless Monarch Topaz
{ 40052, true, true, false, "Ap", 16, "CritRating", 8 }, -- Wicked Monarch Topaz
{ 40053, true, true, false, "Ap", 16, "HitRating", 8 }, -- Pristine Monarch Topaz
{ 40054, true, true, false, "Ap", 16, "ResilienceRating", 8 }, -- Empowered Monarch Topaz
{ 40055, true, true, false, "Ap", 16, "HasteRating", 8 }, -- Stark Monarch Topaz
{ 40056, true, true, false, "DodgeRating", 8, "DefenseRating", 8 }, -- Stalwart Monarch Topaz
{ 40057, true, true, false, "ParryRating", 8, "DefenseRating", 8 }, -- Glimmering Monarch Topaz
{ 40058, true, true, false, "ExpertiseRating", 8, "HitRating", 8 }, -- Accurate Monarch Topaz
{ 40059, true, true, false, "ExpertiseRating", 8, "DefenseRating", 8 }, -- Resolute Monarch Topaz
------------------------------------------------------------
-- Yellow gems
------------------------------------------------------------
{ 40012, false, true, false, "Intellect", 16 }, -- Brilliant Autumn's Glow
{ 40013, false, true, false, "CritRating", 16 }, -- Smooth Autumn's Glow
{ 40014, false, true, false, "HitRating", 16 }, -- Rigid Autumn's Glow
{ 40015, false, true, false, "DefenseRating", 16 }, -- Thick Autumn's Glow
{ 40016, false, true, false, "ResilienceRating", 16 }, -- Mystic Autumn's Glow
{ 40017, false, true, false, "HasteRating", 16 }, -- Quick Autumn's Glow
------------------------------------------------------------
-- Green gems
------------------------------------------------------------
{ 40085, false, true, true, "Intellect", 8, "Stamina", 12 }, -- Timeless Forest Emerald
{ 40086, false, true, true, "CritRating", 8, "Stamina", 12 }, -- Jagged Forest Emerald
{ 40088, false, true, true, "HitRating", 8, "Stamina", 12 }, -- Vivid Forest Emerald
{ 40089, false, true, true, "DefenseRating", 8, "Stamina", 12 }, -- Enduring Forest Emerald
{ 40090, false, true, true, "ResilienceRating", 8, "Stamina", 12 }, -- Steady Forest Emerald
{ 40091, false, true, true, "HasteRating", 8, "Stamina", 12 }, -- Forceful Forest Emerald
{ 40092, false, true, true, "Intellect", 8, "Spirit", 8 }, -- Seer's Forest Emerald
{ 40094, false, true, true, "Intellect", 8, "Mp5", 4 }, -- Dazzling Forest Emerald
{ 40095, false, true, true, "CritRating", 8, "Spirit", 8 }, -- Misty Forest Emerald
{ 40096, false, true, true, "CritRating", 8, "Mp5", 4 }, -- Sundered Forest Emerald
{ 40098, false, true, true, "CritRating", 8, "SpellPenetration", 10 }, -- Radiant Forest Emerald
{ 40099, false, true, true, "HitRating", 8, "Spirit", 8 }, -- Shining Forest Emerald
{ 40100, false, true, true, "HitRating", 8, "Mp5", 4 }, -- Lambent Forest Emerald
{ 40101, false, true, true, "HitRating", 8, "SpellPenetration", 10 }, -- Tense Forest Emerald
{ 40102, false, true, true, "ResilienceRating", 8, "Spirit", 8 }, -- Turbid Forest Emerald
{ 40103, false, true, true, "ResilienceRating", 8, "Mp5", 4 }, -- Opaque Forest Emerald
{ 40104, false, true, true, "HasteRating", 8, "Spirit", 8 }, -- Intricate Forest Emerald
{ 40105, false, true, true, "HasteRating", 8, "Mp5", 4 }, -- Energized Forest Emerald
{ 40106, false, true, true, "HasteRating", 8, "SpellPenetration", 10 }, -- Shattered Forest Emerald
------------------------------------------------------------
-- Blue gems
------------------------------------------------------------
{ 40008, false, false, true, "Stamina", 24 }, -- Solid Sky Sapphire
{ 40009, false, false, true, "Spirit", 16 }, -- Sparkling Sky Sapphire
{ 40010, false, false, true, "Mp5", 8 }, -- Lustrous Sky Sapphire
{ 40011, false, false, true, "SpellPenetration", 20 }, -- Stormy Sky Sapphire
------------------------------------------------------------
-- Purple gems
------------------------------------------------------------
{ 40022, true, false, true, "Strength", 8, "Stamina", 12 }, -- Sovereign Twilight Opal
{ 40023, true, false, true, "Agility", 8, "Stamina", 12 }, -- Shifting Twilight Opal
{ 40024, true, false, true, "Agility", 8, "Mp5", 4 }, -- Tenuous Twilight Opal
{ 40025, true, false, true, "SpellPower", 9, "Stamina", 12 }, -- Glowing Twilight Opal
{ 40026, true, false, true, "SpellPower", 9, "Spirit", 8 }, -- Purified Twilight Opal
{ 40027, true, false, true, "SpellPower", 9, "Mp5", 4 }, -- Royal Twilight Opal
{ 40028, true, false, true, "SpellPower", 9, "SpellPenetration", 10 }, -- Mysterious Twilight Opal
{ 40029, true, false, true, "Ap", 16, "Stamina", 12 }, -- Balanced Twilight Opal
{ 40030, true, false, true, "Ap", 16, "Mp5", 4 }, -- Infused Twilight Opal
{ 40031, true, false, true, "DodgeRating", 8, "Stamina", 12 }, -- Regal Twilight Opal
{ 40032, true, false, true, "ParryRating", 8, "Stamina", 12 }, -- Defender's Twilight Opal
{ 40033, true, false, true, "ArmorPenetration", 8, "Stamina", 12 }, -- Puissant Twilight Opal
{ 40034, true, false, true, "ExpertiseRating", 8, "Stamina", 12 }, -- Guardian's Twilight Opal
}
--========================================
-- Colored level 80 epic-quality gems
--========================================
PawnGemData80Epic =
{
------------------------------------------------------------
-- Red gems
------------------------------------------------------------
{ 40111, true, false, false, "Strength", 20 }, -- Bold Cardinal Ruby
{ 40112, true, false, false, "Agility", 20 }, -- Delicate Cardinal Ruby
{ 40113, true, false, false, "SpellPower", 23 }, -- Runed Cardinal Ruby
{ 40114, true, false, false, "Ap", 40 }, -- Bright Cardinal Ruby
{ 40115, true, false, false, "DodgeRating", 20 }, -- Subtle Cardinal Ruby
{ 40116, true, false, false, "ParryRating", 20 }, -- Flashing Cardinal Ruby
{ 40117, true, false, false, "ArmorPenetration", 20 }, -- Fractured Cardinal Ruby
{ 40118, true, false, false, "ExpertiseRating", 20 }, -- Precise Cardinal Ruby
------------------------------------------------------------
-- Orange gems
------------------------------------------------------------
{ 40142, true, true, false, "Strength", 10, "CritRating", 10 }, -- Inscribed Ametrine
{ 40143, true, true, false, "Strength", 10, "HitRating", 10 }, -- Etched Ametrine
{ 40144, true, true, false, "Strength", 10, "DefenseRating", 10 }, -- Champion's Ametrine
{ 40145, true, true, false, "Strength", 10, "ResilienceRating", 10 }, -- Resplendent Ametrine
{ 40146, true, true, false, "Strength", 10, "HasteRating", 10 }, -- Fierce Ametrine
{ 40147, true, true, false, "Agility", 10, "CritRating", 10 }, -- Deadly Ametrine
{ 40148, true, true, false, "Agility", 10, "HitRating", 10 }, -- Glinting Ametrine
{ 40149, true, true, false, "Agility", 10, "ResilienceRating", 10 }, -- Lucent Ametrine
{ 40150, true, true, false, "Agility", 10, "HasteRating", 10 }, -- Deft Ametrine
{ 40151, true, true, false, "SpellPower", 12, "Intellect", 10 }, -- Luminous Ametrine
{ 40152, true, true, false, "SpellPower", 12, "CritRating", 10 }, -- Potent Ametrine
{ 40153, true, true, false, "SpellPower", 12, "HitRating", 10 }, -- Veiled Ametrine
{ 40154, true, true, false, "SpellPower", 12, "ResilienceRating", 10 }, -- Durable Ametrine
{ 40155, true, true, false, "SpellPower", 12, "HasteRating", 10 }, -- Reckless Ametrine
{ 40156, true, true, false, "Ap", 20, "CritRating", 10 }, -- Wicked Ametrine
{ 40157, true, true, false, "Ap", 20, "HitRating", 10 }, -- Pristine Ametrine
{ 40158, true, true, false, "Ap", 20, "ResilienceRating", 10 }, -- Empowered Ametrine
{ 40159, true, true, false, "Ap", 20, "HasteRating", 10 }, -- Stark Ametrine
{ 40160, true, true, false, "DodgeRating", 10, "DefenseRating", 10 }, -- Stalwart Ametrine
{ 40161, true, true, false, "ParryRating", 10, "DefenseRating", 10 }, -- Glimmering Ametrine
{ 40162, true, true, false, "ExpertiseRating", 10, "HitRating", 10 }, -- Accurate Ametrine
{ 40163, true, true, false, "ExpertiseRating", 10, "DefenseRating", 10 }, -- Resolute Ametrine
------------------------------------------------------------
-- Yellow gems
------------------------------------------------------------
{ 40123, false, true, false, "Intellect", 20 }, -- Brilliant King's Amber
{ 40124, false, true, false, "CritRating", 20 }, -- Smooth King's Amber
{ 40125, false, true, false, "HitRating", 20 }, -- Rigid King's Amber
{ 40126, false, true, false, "DefenseRating", 20 }, -- Thick King's Amber
{ 40127, false, true, false, "ResilienceRating", 20 }, -- Mystic King's Amber
{ 40128, false, true, false, "HasteRating", 20 }, -- Quick King's Amber
------------------------------------------------------------
-- Green gems
------------------------------------------------------------
{ 40164, false, true, true, "Intellect", 10, "Stamina", 15 }, -- Timeless Eye of Zul
{ 40165, false, true, true, "CritRating", 10, "Stamina", 15 }, -- Jagged Eye of Zul
{ 40166, false, true, true, "HitRating", 10, "Stamina", 15 }, -- Vivid Eye of Zul
{ 40167, false, true, true, "DefenseRating", 10, "Stamina", 15 }, -- Enduring Eye of Zul
{ 40168, false, true, true, "ResilienceRating", 10, "Stamina", 15 }, -- Steady Eye of Zul
{ 40169, false, true, true, "HasteRating", 10, "Stamina", 15 }, -- Forceful Eye of Zul
{ 40170, false, true, true, "Intellect", 10, "Spirit", 10 }, -- Seer's Eye of Zul
{ 40171, false, true, true, "CritRating", 10, "Spirit", 10 }, -- Misty Eye of Zul
{ 40172, false, true, true, "HitRating", 10, "Spirit", 10 }, -- Shining Eye of Zul
{ 40173, false, true, true, "ResilienceRating", 10, "Spirit", 10 }, -- Turbid Eye of Zul
{ 40174, false, true, true, "HasteRating", 10, "Spirit", 10 }, -- Intricate Eye of Zul
{ 40175, false, true, true, "Intellect", 10, "Mp5", 5 }, -- Dazzling Eye of Zul
{ 40176, false, true, true, "CritRating", 10, "Mp5", 5 }, -- Sundered Eye of Zul
{ 40177, false, true, true, "HitRating", 10, "Mp5", 5 }, -- Lambent Eye of Zul
{ 40178, false, true, true, "ResilienceRating", 10, "Mp5", 5 }, -- Opaque Eye of Zul
{ 40179, false, true, true, "HasteRating", 10, "Mp5", 5 }, -- Energized Eye of Zul
{ 40180, false, true, true, "CritRating", 10, "SpellPenetration", 13 }, -- Radiant Eye of Zul
{ 40181, false, true, true, "HitRating", 10, "SpellPenetration", 13 }, -- Tense Eye of Zul
{ 40182, false, true, true, "HasteRating", 10, "SpellPenetration", 13 }, -- Shattered Eye of Zul
------------------------------------------------------------
-- Blue gems
------------------------------------------------------------
{ 40119, false, false, true, "Stamina", 30 }, -- Solid Majestic Zircon
{ 40120, false, false, true, "Spirit", 20 }, -- Sparkling Majestic Zircon
{ 40121, false, false, true, "Mp5", 10 }, -- Lustrous Majestic Zircon
{ 40122, false, false, true, "SpellPenetration", 25 }, -- Stormy Majestic Zircon
------------------------------------------------------------
-- Purple gems
------------------------------------------------------------
{ 40129, true, false, true, "Strength", 10, "Stamina", 15 }, -- Sovereign Dreadstone
{ 40130, true, false, true, "Agility", 10, "Stamina", 15 }, -- Shifting Dreadstone
{ 40131, true, false, true, "Agility", 10, "Mp5", 5 }, -- Tenuous Dreadstone
{ 40132, true, false, true, "SpellPower", 12, "Stamina", 15 }, -- Glowing Dreadstone
{ 40133, true, false, true, "SpellPower", 12, "Spirit", 10 }, -- Purified Dreadstone
{ 40134, true, false, true, "SpellPower", 12, "Mp5", 5 }, -- Royal Dreadstone
{ 40135, true, false, true, "SpellPower", 12, "SpellPenetration", 13 }, -- Mysterious Dreadstone
{ 40136, true, false, true, "Ap", 20, "Stamina", 15 }, -- Balanced Dreadstone
{ 40137, true, false, true, "Ap", 20, "Mp5", 5 }, -- Infused Dreadstone
{ 40138, true, false, true, "DodgeRating", 10, "Stamina", 15 }, -- Regal Dreadstone
{ 40139, true, false, true, "ParryRating", 10, "Stamina", 15 }, -- Defender's Dreadstone
{ 40140, true, false, true, "ArmorPenetration", 10, "Stamina", 15 }, -- Puissant Dreadstone
{ 40141, true, false, true, "ExpertiseRating", 10, "Stamina", 15 }, -- Guardian's Dreadstone
}
--========================================
-- Level 80 crafted meta gems
--========================================
PawnMetaGemData80Rare =
{
------------------------------------------------------------
-- Meta gems: Earthsiege
------------------------------------------------------------
{ 41380, false, false, false, "Stamina", 32 }, -- Austere Earthsiege Diamond (2% Increased Armor Value from Items)
{ 41381, false, false, false, "Ap", 42 }, -- Persistent Earthsiege Diamond (Stun Duration Reduced by 10%)
{ 41382, false, false, false, "SpellPower", 25 }, -- Trenchant Earthsiege Diamond (Stun Duration Reduced by 10%)
{ 41385, false, false, false, "Ap", 42 }, -- Invigorating Earthsiege Diamond (Sometimes Heal on Your Crits)
{ 41389, false, false, false, "CritRating", 21 }, -- Beaming Earthsiege Diamond (+2% Mana)
{ 41395, false, false, false, "SpellPower", 25 }, -- Bracing Earthsiege Diamond (2% Reduced Threat)
{ 41396, false, false, false, "DefenseRating", 21 }, -- Eternal Earthsiege Diamond (+5% Shield Block Value)
{ 41397, false, false, false, "Stamina", 32 }, -- Powerful Earthsiege Diamond (Stun Duration Reduced by 10%)
{ 41398, false, false, false, "Agility", 21 }, -- Relentless Earthsiege Diamond (3% Increased Critical Damage)
{ 41401, false, false, false, "Intellect", 21 }, -- Insightful Earthsiege Diamond (Chance to restore mana on spellcast)
------------------------------------------------------------
-- Meta gems: Skyflare
------------------------------------------------------------
{ 41285, false, false, false, "CritRating", 21 }, -- Chaotic Skyflare Diamond (3% Increased Critical Damage)
{ 41307, false, false, false, "CritRating", 25 }, -- Destructive Skyflare Diamond (1% Spell Reflect)
{ 41333, false, false, false, "SpellPower", 25 }, -- Ember Skyflare Diamond (+2% Intellect)
{ 41335, false, false, false, "CritRating", 21 }, -- Enigmatic Skyflare Diamond (Reduces Snare/Root Duration by 10%)
{ 41339, false, false, false, "Ap", 42 }, -- Swift Skyflare Diamond (Minor Run Speed Increase)
{ 41375, false, false, false, "SpellPower", 25 }, -- Tireless Skyflare Diamond (Minor Run Speed Increase)
{ 41376, false, false, false, "Mp5", 11 }, -- Revitalizing Skyflare Diamond (3% Increased Critical Healing Effect)
{ 41377, false, false, false, "Stamina", 32 }, -- Effulgent Skyflare Diamond (Reduce Spell Damage Taken by 2%)
{ 41378, false, false, false, "SpellPower", 25 }, -- Forlorn Skyflare Diamond (Silence Duration Reduced by 10%)
{ 41379, false, false, false, "CritRating", 21 }, -- Impassive Skyflare Diamond (Fear Duration Reduced by 10%)
{ 41400, false, false, false }, -- Thundering Skyflare Diamond (Chance to Increase Melee/Ranged Attack Speed )
}
--========================================
-- The master list of all tables of Pawn gem data
PawnGemQualityLevels =
{
{ 80, PawnLocal.GemQualityLevel80Uncommon },
{ 81, PawnLocal.GemQualityLevel80Rare },
{ 82, PawnLocal.GemQualityLevel80Epic },
}
PawnGemQualityTables =
{
[80] = PawnGemData80Uncommon,
[81] = PawnGemData80Rare,
[82] = PawnGemData80Epic,
}
PawnDefaultGemQualityLevel = 81
PawnMetaGemQualityLevels =
{
{ 81, PawnLocal.MetaGemQualityLevel80Rare },
}
PawnMetaGemQualityTables =
{
[81] = PawnMetaGemData80Rare,
}
PawnDefaultMetaGemQualityLevel = 81
+822
View File
@@ -0,0 +1,822 @@
-- Pawn by Vger-Azjol-Nerub
-- www.vgermods.com
-- © 2006-2010 Green Eclipse. This mod is released under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 license.
-- See Readme.htm for more information.
--
-- English resources
------------------------------------------------------------
------------------------------------------------------------
-- "Constants"
------------------------------------------------------------
PawnQuestionTexture = "|TInterface\\AddOns\\Pawn\\Textures\\Question:0|t" -- Texture string that represents a (?). Don't need to localize this.
PawnUINoScale = "(none)" -- The name that shows up in lists of scales if you have no scales
------------------------------------------------------------
-- Master table of stats
------------------------------------------------------------
-- The master list of all stats that Pawn supports.
-- First column is the friendly translated name of the stat.
-- Second column is the Pawn name of the stat; this can't be translated.
-- Third column is the description of the stat.
-- Fourth column is an optional chunk of text instead of the "1 ___ is worth:" prompt.
-- If only a name is present, the row becomes an uneditable header in the UI and is otherwise ignored.
PawnStats =
{
{"Base stats"},
{"Strength", "Strength", "The primary stat, Strength."},
{"Agility", "Agility", "The primary stat, Agility."},
{"Stamina", "Stamina", "The primary stat, Stamina."},
{"Intellect", "Intellect", "The primary stat, Intellect."},
{"Spirit", "Spirit", "The primary stat, Spirit."},
{"Sockets"},
{"Red socket", "RedSocket", "An empty red socket. Only counts for an item's base value."},
{"Yellow socket", "YellowSocket", "An empty yellow socket. Only counts for an item's base value."},
{"Blue socket", "BlueSocket", "An empty blue socket. Only counts for an item's base value."},
{"Meta: stats", "MetaSocket", "An empty meta socket. Only counts the stat bonus of a meta gem, not the additional effect. The item's value will be the same whether or not the meta gem requirements are met."},
{"Meta: effect", "MetaSocketEffect", "A meta socket, whether empty or full. Only counts the additional effect of a meta gem, not its stat bonus."},
{"Weapon stats"},
{"DPS", "Dps", "Weapon damage per second. (If you want to value DPS differently for different types of weapons, see the \"Special weapon stats\" section.)"},
{"Speed", "Speed", "Weapon speed, in seconds per swing. (If you prefer fast weapons, this number should be negative. See also: \"speed baseline\" in the \"Special weapon stats\" section.)"},
{"Hybrid ratings"},
{"Hit rating", "HitRating", "Hit rating. Affects melee attacks, ranged attacks, and spells."},
{"Crit rating", "CritRating", "Critical strike rating. Affects melee attacks, ranged attacks, and spells."},
{"Haste rating", "HasteRating", "Haste rating. Affects melee attacks, ranged attacks, and spells."},
{"Mastery rating", "MasteryRating", VgerCore.Color.Salmon .. "New stat coming in Cataclysm. " .. VgerCore.Color.Reset .. "Improves the unique bonus of the talent tree that you have the most points in."},
{"Offensive physical stats"},
{"Attack power", "Ap", "Attack power. Does not include attack power that you will receive from Strength or Agility, or weapon DPS (for druids)."},
{"Ranged AP", "Rap", "Ranged attack power."},
{"Feral AP", "FeralAp", "Attack power that a weapon would grant a druid in feral forms. If you assign a value to this stat, you should not also assign a value to weapon DPS."},
{"Expertise rating", "ExpertiseRating", "Expertise rating."},
{"Armor pen.", "ArmorPenetration", "Armor penetration rating causes your attacks to ignore some of your opponent's armor.\n\n" .. VgerCore.Color.Salmon .. "Cataclysm: " .. VgerCore.Color.Reset .. "Items with ArPen will instead have other offensive stats."},
{"Spell stats"},
{"Spell power", "SpellPower", "Spell power, which affects both spell damage and healing."},
{"Mana per 5", "Mp5", "Mana regeneration per 5 seconds.\n\n" .. VgerCore.Color.Salmon .. "Cataclysm: " .. VgerCore.Color.Reset .. "Items with 1 MP5 will instead have 2 Spirit."},
{"Spell penetration", "SpellPenetration", "Spell penetration causes your spells to ignore some of your opponent's resistances."},
{"Defense stats"},
{"Armor", "Armor", "Armor, regardless of item type. Classes with abilties that give armor bonuses should assign a value to base and bonus armor instead."},
{"Armor: base", "BaseArmor", "Base armor value on cloth, leather, mail, and plate. Can be multiplied by abilities such as Thick Hide and Frost Presence.\n\nTank items with bonus armor in green text will have all of their armor count as base armor, as mods cannot determine how much of the armor is bonus armor."},
{"Armor: bonus", "BonusArmor", "Bonus armor value on weapons, trinkets, and rings. Not affected by abilities and talents that modify armor."},
{"Block value", "BlockValue", "Block value increases the amount of damage absorbed with each successful shield block.\n\n" .. VgerCore.Color.Salmon .. "Cataclysm: " .. VgerCore.Color.Reset .. "Items with block value will instead have different tanking stats."},
{"Block rating", "BlockRating", "Block rating increases your chances of blocking with a shield."},
{"Defense rating", "DefenseRating", "Defense rating.\n\n" .. VgerCore.Color.Salmon .. "Cataclysm: " .. VgerCore.Color.Reset .. "Items with defense will instead have different tanking stats."},
{"Dodge rating", "DodgeRating", "Dodge rating."},
{"Parry rating", "ParryRating", "Parry rating."},
{"Resilience rating", "ResilienceRating", "Resilience rating."},
{"Very rare stats"},
{"Fire spell power", "FireSpellDamage", "Fire-only spell power. This stat does not appear on items that give spell power to all schools."},
{"Shadow spell power", "ShadowSpellDamage", "Shadow-only spell power. This stat does not appear on items that give spell power to all schools."},
{"Nature spell power", "NatureSpellDamage", "Nature-only spell power. This stat does not appear on items that give spell power to all schools."},
{"Arcane spell power", "ArcaneSpellDamage", "Arcane-only spell power. This stat does not appear on items that give spell power to all schools."},
{"Frost spell power", "FrostSpellDamage", "Frost-only spell power. This stat does not appear on items that give spell power to all schools."},
{"Holy spell power", "HolySpellDamage", "Holy-only spell power. This stat is quite rare, and does not appear on items that give spell power to all schools."},
{"All resistances", "AllResist", "All elemental resistances."},
{"Fire resistance", "FireResist", "Fire resistance. This stat does not appear on items that give all elemental resistances."},
{"Shadow resistance", "ShadowResist", "Shadow resistance. This stat does not appear on items that give all elemental resistances."},
{"Nature resistance", "NatureResist", "Nature resistance. This stat does not appear on items that give all elemental resistances."},
{"Arcane resistance", "ArcaneResist", "Arcane resistance. This stat does not appear on items that give all elemental resistances."},
{"Frost resistance", "FrostResist", "Frost resistance. This stat does not appear on items that give all elemental resistances."},
{"Health per 5", "Hp5", "Health regeneration per 5 seconds. Generally only appears on enchantments."},
{"Health", "Health", "Raw health. Does not include health from Stamina. This generally appears only on enchantments."},
{"Mana", "Mana", "Raw mana. Does not include mana from Intellect. This generally appears only on enchantments."},
{"Weapon types"},
{"Axe", "IsAxe", "Points to be assigned if the item is an axe (of any kind)."},
{"Bow", "IsBow", "Points to be assigned if the item is a bow, or a stack of arrows."},
{"Crossbow", "IsCrossbow", "Points to be assigned if the item is a crossbow."},
{"Dagger", "IsDagger", "Points to be assigned if the item is a dagger."},
{"Fist weapon", "IsFist", "Points to be assigned if the item is a fist weapon (of any kind)."},
{"Gun", "IsGun", "Points to be assigned if the item is a gun, or a stack of bullets."},
{"Mace", "IsMace", "Points to be assigned if the item is a mace (of any kind)."},
{"Polearm", "IsPolearm", "Points to be assigned if the item is a polearm."},
{"Staff", "IsStaff", "Points to be assigned if the item is a staff."},
{"Sword", "IsSword", "Points to be assigned if the item is a sword."},
{"Thrown", "IsThrown", "Points to be assigned if the item is a thrown weapon."},
{"Wand", "IsWand", "Points to be assigned if the item is a wand."},
{"Armor types"},
{"Cloth", "IsCloth", "Points to be assigned if the item is cloth."},
{"Leather", "IsLeather", "Points to be assigned if the item is leather."},
{"Mail", "IsMail", "Points to be assigned if the item is mail."},
{"Plate", "IsPlate", "Points to be assigned if the item is plate."},
{"Shield", "IsShield", "Points to be assigned if the item is a shield."},
{"Special weapon stats"},
{"Minimum damage", "MinDamage", "Weapon minimum damage."},
{"Maximum damage", "MaxDamage", "Weapon maximum damage."},
{"Melee: DPS", "MeleeDps", "Weapon damage per second, only for melee weapons."},
{"Melee: min damage", "MeleeMinDamage", "Weapon minimum damage, only for melee weapons."},
{"Melee: max damage", "MeleeMaxDamage", "Weapon maximum damage, only for melee weapons."},
{"Melee: speed", "MeleeSpeed", "Weapon speed, only for melee weapons."},
{"Ranged: DPS", "RangedDps", "Weapon damage per second, only for ranged weapons."},
{"Ranged: min damage", "RangedMinDamage", "Weapon minimum damage, only for ranged weapons."},
{"Ranged: max damage", "RangedMaxDamage", "Weapon maximum damage, only for ranged weapons."},
{"Ranged: speed", "RangedSped", "Weapon speed, only for ranged weapons."},
{"MH: DPS", "MainHandDps", "Weapon damage per second, only for main hand weapons."},
{"MH: min damage", "MainHandMinDamage", "Weapon minimum damage, only for main hand weapons."},
{"MH: max damage", "MainHandMaxDamage", "Weapon maximum damage, only for main hand weapons."},
{"MH: speed", "MainHandSpeed", "Weapon speed, only for main hand weapons."},
{"OH: DPS", "OffHandDps", "Weapon damage per second, only for off-hand weapons."},
{"OH: min damage", "OffHandMinDamage", "Weapon minimum damage, only for off-hand weapons."},
{"OH: max damage", "OffHandMaxDamage", "Weapon maximum damage, only for off-hand weapons."},
{"OH: speed", "OffHandSpeed", "Weapon speed, only for off-hand weapons."},
{"1H: DPS", "OneHandDps", "Weapon damage per second, only for weapons marked One Hand, not including Main Hand or Off Hand weapons."},
{"1H: min damage", "OneHandMinDamage", "Weapon minimum damage, only for weapons marked One Hand, not including Main Hand or Off Hand weapons."},
{"1H: max damage", "OneHandMaxDamage", "Weapon maximum damage, only for weapons marked One Hand, not including Main Hand or Off Hand weapons."},
{"1H: speed", "OneHandSpeed", "Weapon speed, only for weapons marked One Hand, not including Main Hand or Off Hand weapons."},
{"2H: DPS", "TwoHandDps", "Weapon damage per second, only for two-handed weapons."},
{"2H: min damage", "TwoHandMinDamage", "Weapon minimum damage, only for two-handed weapons."},
{"2H: max damage", "TwoHandMaxDamage", "Weapon maximum damage, only for two-handed weapons."},
{"2H: speed", "TwoHandSpeed", "Weapon speed, only for two-handed weapons."},
{"Speed baseline", "SpeedBaseline", "Not an actual stat, per se. This number is subtracted from the Speed stat before multiplying it by the scale value.", "|cffffffffSpeed baseline|r is:"},
}
------------------------------------------------------------
-- UI strings
------------------------------------------------------------
-- Translation note: All of the strings ending in _Text should be translated; those will show up in the UI. The strings ending
-- in _Tooltip are only used in tooltips, and can be safely left out. If you don't want to translate them right now, delete those
-- lines or set them to nil, and Pawn won't show tooltips for those UI elements.
-- Configuration UI
PawnUIFrame_CloseButton_Text = "Close"
PawnUIHeaders = -- (%s is the name of the current scale)
{
"Manage your Pawn scales", -- Scale tab
"Scale values for %s", -- Values tab
"Compare items using %s", -- Compare tab
"Gems for %s", -- Gems tab
"Adjust Pawn options", -- Options tab
"About Pawn", -- About tab
"Welcome to Pawn!", -- Getting Started tab
}
-- Configuration UI, Scale selector
PawnUIFrame_ScaleSelector_Header_Text = "Select a scale:"
-- Configuration UI, Scale tab (this is a new tab; the old Scales tab is now the Values tab)
PawnUIFrame_ScalesTab_Text = "Scale"
PawnUIFrame_ScalesWelcomeLabel_Text = "Scales are sets of stats and values that are used to assign point values to items. You can customize your own or use scale values that others have created."
PawnUIFrame_ShowScaleCheck_Label_Text = "Show scale in tooltips"
PawnUIFrame_ShowScaleCheck_Tooltip = "When this option is checked, values for this scale will show up in item tooltips for this character. Each scale can show up for one of your characters, multiple characters, or no characters at all."
PawnUIFrame_RenameScaleButton_Text = "Rename"
PawnUIFrame_RenameScaleButton_Tooltip = "Rename this scale."
PawnUIFrame_DeleteScaleButton_Text = "Delete"
PawnUIFrame_DeleteScaleButton_Tooltip = "Delete this scale.\n\nThis command cannot be undone!"
PawnUIFrame_ScaleColorSwatch_Label_Text = "Change color"
PawnUIFrame_ScaleColorSwatch_Tooltip = "Change the color that this scale's name and value appear in on item tooltips."
PawnUIFrame_ScaleTypeLabel_NormalScaleText = "You can change this scale on the Values tab."
PawnUIFrame_ScaleTypeLabel_ReadOnlyScaleText = "You must make a copy of this scale if you want to customize it."
PawnUIFrame_ScaleSettingsShareHeader_Text = "Share your scales"
PawnUIFrame_ImportScaleButton_Text = "Import"
PawnUIFrame_ImportScaleButton_Label_Text = "Add a new scale by pasting a scale tag from the internet."
PawnUIFrame_ExportScaleButton_Text = "Export"
PawnUIFrame_ExportScaleButton_Label_Text = "Share your scale with others on the internet."
PawnUIFrame_ScaleSettingsNewHeader_Text = "Create a new scale"
PawnUIFrame_CopyScaleButton_Text = "Copy"
PawnUIFrame_CopyScaleButton_Label_Text = "Create a new scale by making a copy of this one."
PawnUIFrame_NewScaleButton_Text = "Empty"
PawnUIFrame_NewScaleButton_Label_Text = "Create a new scale from scratch."
PawnUIFrame_NewScaleFromDefaultsButton_Text = "Defaults"
PawnUIFrame_NewScaleFromDefaultsButton_Label_Text = "Create a new scale by making a copy of the defaults."
-- Configuration UI, Values tab (previously the Scales tab)
PawnUIFrame_ValuesTab_Text = "Values"
PawnUIFrame_ValuesWelcomeLabel_NormalText = "You can customize the values that are assigned to each stat for this scale. To manage your scales and add new ones, use the Scale tab."
PawnUIFrame_ValuesWelcomeLabel_NoScalesText = "You have no scale selected. To get started, go to the Scale tab and start a new scale or paste one from the internet."
PawnUIFrame_ValuesWelcomeLabel_ReadOnlyScaleText = "The scale that you have selected can't be changed. If you'd like to change these values, go to the Scale tab and make a copy of this scale or start a new one."
PawnUIFrame_ClearValueButton_Text = "Remove"
PawnUIFrame_ClearValueButton_Tooltip = "Remove this stat from the scale."
PawnUIFrame_ScaleSocketOptionsHeaderLabel_Text = "When calculating a value for this scale:"
PawnUIFrame_ScaleSocketBestRadio_Text = "Automatically handle sockets for me"
PawnUIFrame_ScaleSocketBestRadio_Tooltip = "Pawn will calculate a value for this scale assuming that you would socket the item with the gems that would maximize the value of the item."
PawnUIFrame_ScaleSocketCorrectRadio_Text = "Let me manually pick a socket value"
PawnUIFrame_ScaleSocketCorrectRadio_Tooltip = "Pawn will calculate a value for this scale based on the number you specify."
PawnUIFrame_NormalizeValuesCheck_Text = "Normalize values (like Wowhead)"
PawnUIFrame_NormalizeValuesCheck_Tooltip = "Enable this option to divide the final calculated value for an item by the sum of all stat values in your scale, like Wowhead and Lootzor do. This helps to even out situations like where one scale has stat values around 1 and another has values around 5. It also helps to keep numbers manageably small.\n\nFor more information on this setting, see the readme file."
-- Configuration UI, Compare tab
PawnUIFrame_CompareTab_Text = "Compare"
PawnUIFrame_VersusHeader_Text = "—vs.—" -- Short for "versus." Appears between the names of the two items.
PawnUIFrame_VersusHeader_NoItem = "(no item)" -- Text displayed next to empty item slots.
PawnUIFrame_CompareMissingItemInfo_TextLeft = "First, pick a scale from the list on the left."
PawnUIFrame_CompareMissingItemInfo_TextRight = "Then, drop an item in this box.\n\nPawn will compare it versus your equipped item."
PawnUIFrame_CompareSocketBonusHeader_Text = "Socket bonus" -- Heading that appears above the item socket bonuses.
PawnUIFrame_CompareOtherInfoHeader_Text = "Other" -- Heading that appears above the item's level and the following stats:
PawnUIFrame_CompareAsterisk = "Special effects " .. PawnQuestionTexture
PawnUIFrame_CompareAsterisk_Yes = "Yes" -- Appears on the Compare tab when an item has special effects (?).
PawnUIFrame_CurrentCompareScaleDropDown_Label_Text = "Comparison scale"
PawnUIFrame_CurrentCompareScaleDropDown_Tooltip = "Select a new scale to use when comparing the two items."
PawnUIFrame_ClearItemsButton_Label = "Clear"
PawnUIFrame_ClearItemsButton_Tooltip = "Remove both comparison items."
PawnUIFrame_CompareSwapButton_Text = "< Swap >"
PawnUIFrame_CompareSwapButton_Tooltip = "Swap the item on the left side with the one on the right."
-- Configuration UI, Gems tab
PawnUIFrame_GemsTab_Text = "Gems"
PawnUIFrame_GemsHeaderLabel_Text = "Choose a scale to have Pawn determine the best gems available according to the values in that scale."
PawnUIFrame_CurrentGemsScaleDropDown_Label_Text = "Find the best gems for:"
PawnUIFrame_CurrentGemsScaleDropDown_Tooltip = "Select a scale for which to calculate gem values."
PawnUIFrame_GemQualityDropDown_Label_Text = "Quality:"
PawnUIFrame_GemQualityDropDown_Tooltip = "Select the quality of gems for Pawn to consider."
PawnUIFrame_FindGemColorHeader_Text = "%s gems" -- Red
PawnUIFrame_FindGemColorHeader_Meta_Text = "Meta gems (ignoring effects)"
PawnUIFrame_FindGemNoGemsHeader_Text = "No gems found."
-- Configuration UI, Options tab
PawnUIFrame_OptionsTab_Text = "Options"
PawnUIFrame_OptionsHeaderLabel_Text = "Configure Pawn the way you like it. Changes will take effect immediately."
PawnUIFrame_TooltipOptionsHeaderLabel_Text = "Tooltip options"
PawnUIFrame_ShowItemLevelsCheck_Text = "Show item levels"
PawnUIFrame_ShowItemLevelsCheck_Tooltip = "Enable this option to have Pawn display the item level of every item you come across.\n\nEvery item in World of Warcraft has a hidden level that is used to determine how many stats it can have. In general, an item of the same type (helmet, cloak) and quality (green, blue) and a higher level will have more, or at least better, stats."
PawnUIFrame_ShowItemIDsCheck_Text = "Show item IDs"
PawnUIFrame_ShowItemIDsCheck_Tooltip = "Enable this option to have Pawn display the item ID of every item you come across, as well as the IDs of all enchantments and gems.\n\nEvery item in World of Warcraft has an ID number associated with it. This information is generally only useful to mod authors."
PawnUIFrame_ShowIconsCheck_Text = "Show inventory icons"
PawnUIFrame_ShowIconsCheck_Tooltip = "Enable this option to show inventory icons next to item link windows."
PawnUIFrame_ShowExtraSpaceCheck_Text = "Add a blank line before values"
PawnUIFrame_ShowExtraSpaceCheck_Tooltip = "Keep your item tooltips extra tidy by enabling this option, which adds a blank line before the Pawn values."
PawnUIFrame_AlignRightCheck_Text = "Align values to right edge of tooltip"
PawnUIFrame_AlignRightCheck_Tooltip = "Enable this option to align your Pawn values (as well as item levels and item IDs) to the right edge of the tooltip instead of the left."
PawnUIFrame_AsterisksHeaderLabel_Text = "Show " .. PawnQuestionTexture .. " on special effects:"
PawnUIFrame_AsterisksAutoRadio_Text = "On"
PawnUIFrame_AsterisksAutoRadio_Tooltip = "Show the " .. PawnQuestionTexture .. " icon on items that have special effects (like trinkets)."
PawnUIFrame_AsterisksAutoNoTextRadio_Text = "On, but don't add the warning"
PawnUIFrame_AsterisksAutoNoTextRadio_Tooltip = "Same as On, but don't show the 'Special effects not included' warning message."
PawnUIFrame_AsterisksOffRadio_Text = "Off"
PawnUIFrame_AsterisksOffRadio_Tooltip = "Don't show the " .. PawnQuestionTexture .. " icon or the warning message."
PawnUIFrame_CalculationOptionsHeaderLabel_Text = "Calculation options"
PawnUIFrame_DigitsBox_Label_Text = "Digits of precision:"
PawnUIFrame_DigitsBox_Tooltip = "Specify how many digits of precision you want in your Pawn values, 0-9. 0 rounds all Pawn values to whole numbers ('25'). 1 is the default ('24.5')."
PawnUIFrame_UnenchantedValuesCheck_Text = "Show base values for items"
PawnUIFrame_UnenchantedValuesCheck_Tooltip = "Enable this option to have Pawn show values for unmodified versions of items, as if they were just dropped or was bought from the vendor.\n\nIf the current value and base value are both visible and not equal, the base value will be shown second, in parentheses."
PawnUIFrame_EnchantedValuesCheck_Text = "Show current values for items"
PawnUIFrame_EnchantedValuesCheck_Tooltip = "Enable this option to have Pawn show values for items exactly as they are, including all enchantments and gems if present. Empty sockets are ignored.\n\nIf the current value and base value are both visible and not equal, the current value will be shown first."
PawnUIFrame_DebugCheck_Text = "Show debug info"
PawnUIFrame_DebugCheck_Tooltip = "If you're not sure how Pawn is calculating the values for a particular item, enable this option to make Pawn spam all sorts of 'useful' data to the chat console whenever you hover over an item. This information includes which stats Pawn thinks the item has, which parts of the item Pawn doesn't understand, and how it took each one into account for each of your scales.\n\nThis option will fill up your chat log quickly, so you'll want to turn it off once you're finished investigating.\n\nShortcuts:\n/pawn debug on\n/pawn debug off"
PawnUIFrame_OtherOptionsHeaderLabel_Text = "Other options"
PawnUIFrame_ButtonPositionHeaderLabel_Text = "Show the Pawn button:"
PawnUIFrame_ButtonRightRadio_Text = "On the right"
PawnUIFrame_ButtonRightRadio_Tooltip = "Show the Pawn button in the lower-right corner of the Character Info panel."
PawnUIFrame_ButtonLeftRadio_Text = "On the left"
PawnUIFrame_ButtonLeftRadio_Tooltip = "Show the Pawn button in the lower-left corner of the Character Info panel."
PawnUIFrame_ButtonOffRadio_Text = "Hide it"
PawnUIFrame_ButtonOffRadio_Tooltip = "Don't show the Pawn button on the Character Info panel."
-- Configuration UI, About tab
PawnUIFrame_AboutTab_Text = "About"
PawnUIFrame_AboutHeaderLabel_Text = "by Vger-Azjol-Nerub"
PawnUIFrame_AboutVersionLabel_Text = "Version %s"
PawnUIFrame_AboutTranslationLabel_Text = "Official English version" -- Translators: credit yourself here... "Klingon translation by Stovokor"
PawnUIFrame_ReadmeLabel_Text = "New to Pawn? See the getting started tab for a really basic introduction. You can learn about more advanced features in the readme file that comes with Pawn."
PawnUIFrame_WebsiteLabel_Text = "For other mods by Vger, visit vgermods.com.\n\nWowhead stat weights used with permission. If you have feedback on the scale values, please direct it to the appropriate Wowhead Theorycrafting forum threads."
-- Configuration UI, Help tab
PawnUIFrame_HelpTab_Text = "Getting started"
PawnUIFrame_GettingStartedLabel_Text =
"Pawn calculates scores for items that let you easily see which one is better for you. These scores show up at the bottom of all your item tooltips.\n\n\n" ..
"Each item will get multiple scores: one for each “scale” that is active for your character. A scale lists the stats that are important to you, and how many points each stat is worth.\n\n\n" ..
"Pawn comes with scales from Wowhead for each class and spec. You can turn scales on and off, create your own by assigning point values to each stat, and even share scales on the internet.\n\n\n" ..
VgerCore.Color.Blue .. "Try out these features once you learn the basics:\n" .. VgerCore.Color.Reset ..
" • Compare the stats of two items by using Pawn's Compare tab.\n" ..
" • Right-click on an item link window to see how it compares to your current item.\n" ..
" • Shift-right-click an item with sockets to have Pawn suggest gems for it.\n" ..
" • Make a copy of one of your scales on the Scale tab, and customize the stat values on the Values tab.\n" ..
" • Find more scales for your class on the internet, or build a custom one with Rawr.\n" ..
" • Check out the readme file to learn more about Pawn's advanced features."
-- Inventory button
PawnUI_InventoryPawnButton_Tooltip = "Click to show the Pawn UI."
PawnUI_InventoryPawnButton_Subheader = "Totals for all equipped items:"
-- Socketing button
PawnUI_SocketingPawnButton_Tooltip = "Click to show the Pawn Gems UI."
-- Item socketing UI
PawnUI_ItemSocketingDescription_Header = "Pawn suggests the following gems:"
-- Interface Options page
PawnInterfaceOptionsFrame_OptionsHeaderLabel_Text = "Pawn options are found in the Pawn UI."
PawnInterfaceOptionsFrame_OptionsSubHeaderLabel_Text = "Click the Pawn button to go there. You can also open Pawn from your inventory page, or by binding a key to it."
-- Bindings UI
BINDING_HEADER_PAWN = "Pawn"
BINDING_NAME_PAWN_TOGGLE_UI = "Toggle Pawn UI" -- Show or hide the Pawn UI
PAWN_TOGGLE_UI_DEFAULT_KEY = "P" -- Default key to assign to this command
BINDING_NAME_PAWN_COMPARE_LEFT = "Compare item (left)" -- Set the currently hovered item to be the left-side Compare item
PAWN_COMPARE_LEFT_DEFAULT_KEY = "[" -- Default key to assign to this command
BINDING_NAME_PAWN_COMPARE_RIGHT = "Compare item (right)" -- Set the currently hovered item to be the right-side Compare item
PAWN_COMPARE_RIGHT_DEFAULT_KEY = "]" -- Default key to assign to this command
PawnLocal =
{
-- General messages
["NeedNewerVgerCoreMessage"] = "Pawn needs a newer version of VgerCore. Please use the version of VgerCore that came with Pawn.",
-- Scale management dialog messages
["NewScaleEnterName"] = "Enter a name for your scale:",
["NewScaleNoQuotes"] = "A scale can't have \" in its name. Enter a name for your scale:",
["NewScaleDuplicateName"] = "A scale with that name already exists. Enter a name for your scale:",
["CopyScaleEnterName"] = "Enter a name for your new scale, a copy of %s:", -- %s is the name of the existing scale
["RenameScaleEnterName"] = "Enter a new name for %s:", -- %s is the old name of the scale
["DeleteScaleConfirmation"] = "Are you sure you want to delete %s? This can't be undone. Type \"%s\" to confirm:", -- First %s is the name of the scale, second %s is DELETE
["ImportScaleMessage"] = "Press Ctrl+V to paste a scale tag that you've copied from another source here:",
["ImportScaleTagErrorMessage"] = "Pawn doesn't understand that scale tag. Did you copy the whole tag? Try copying and pasting again:",
["ExportScaleMessage"] = "Press Ctrl+C to copy the following scale tag for |cffffffff%s|r, and then press Ctrl+V to paste it later.", -- %s is name of scale
["ExportAllScalesMessage"] = "Press Ctrl+C to copy your scale tags, create a file on your computer to save them in for backup, and then press Ctrl+V to paste them.",
-- Scale selector
["VisibleScalesHeader"] = "%s's scales", -- %s is name of character
["HiddenScalesHeader"] = "Other scales",
-- Configuration UI, Values tab
["NoStatDescription"] = "Choose a stat from the list on the left.",
["NoScalesDescription"] = "To begin, import a scale or start a new one.",
["StatNameText"] = "1 |cffffffff%s|r is worth:", -- |cffffffff%s|r is the name of the stat, in white
-- Generic string dialogs
["OKButton"] = "OK",
["CancelButton"] = "Cancel",
["CloseButton"] = "Close",
-- Debug messages
["EnchantedStatsHeader"] = "(Current value)",
["UnenchantedStatsHeader"] = "(Base value)",
["FailedToGetItemLinkMessage"] = " Failed to get item link from tooltip. This may be due to a mod conflict.",
["FailedToGetUnenchantedItemMessage"] = " Failed to get base item values. This may be due to a mod conflict.",
["DidntUnderstandMessage"] = " (?) Didn't understand \"%s\".",
["FoundStatMessage"] = " %d %s", -- 25 Stamina
["ValueCalculationMessage"] = " %g %s x %g each = %g", -- 25 Stamina x 1 each = 25
["NoValueMessage"] = " %s has no value.", -- Stamina has no value.
["SocketBonusValueCalculationMessage"] = " -- Socket bonus would be worth:",
["MissocketWorthwhileMessage"] = " -- But it's better to use only %s gems:", -- Better to use only Red/Blue gems:
["NormalizationMessage"] = " ---- Normalized by dividing by %g", -- Normalized by dividing by 3.5
["TotalValueMessage"] = " ---- Total: %g", -- Total: 25
-- Tooltip annotations
["ItemIDTooltipLine"] = "Item ID",
["ItemLevelTooltipLine"] = "Item level",
["AverageItemLevelTooltipLine"] = "Epic gear level",
["BaseValueWord"] = "base", -- 123.45 (98.76 base)
["AsteriskTooltipLine"] = "|TInterface\\AddOns\\Pawn\\Textures\\Question:0|t Special effects not included in the value.",
-- Gem stuff
["GenericGemName"] = "(Gem %d)", -- (Gem 12345)
["GenericGemLink"] = "|Hitem:%d|h[Gem %d]|h", -- [Gem 12345]
["GemColorList1"] = "%d %s", -- 2 Red
["GemColorList2"] = "%d %s or %s", -- 3 Red or Yellow
["GemColorList3"] = "%d of any color", -- 1 of any color
["GemQualityLevel80Uncommon"] = "Level 80 uncommon",
["GemQualityLevel80Rare"] = "Level 80 rare",
["GemQualityLevel80Epic"] = "Level 80 epic",
["MetaGemQualityLevel80Rare"] = "Level 80 crafted",
["GemQualityLevel85Uncommon"] = "Level 85 uncommon",
["GemQualityLevel85Rare"] = "Level 85 rare",
["GemQualityLevel85Epic"] = "Level 85 epic",
["MetaGemQualityLevel85Rare"] = "Level 85 crafted",
-- Slash commands
["DebugOnCommand"] = "debug on",
["DebugOffCommand"] = "debug off",
["BackupCommand"] = "backup",
["Usage"] = [[
Pawn by Vger-Azjol-Nerub
www.vgermods.com
/pawn -- show or hide the Pawn UI
/pawn debug [ on | off ] -- spam debug messages to the console
/pawn backup -- backup all of your scales to scale tags
For more information on customizing Pawn, please see the help file (Readme.htm) that comes with the mod.
]],
}
------------------------------------------------------------
-- Localized scale names
------------------------------------------------------------
PawnWowheadScale_Provider = "Wowhead scales"
PawnWowheadScale_WarriorArms = "Warrior: arms"
PawnWowheadScale_WarriorFury = "Warrior: fury"
PawnWowheadScale_WarriorTank = "Warrior: tank"
PawnWowheadScale_PaladinHoly = "Paladin: holy"
PawnWowheadScale_PaladinTank = "Paladin: tank"
PawnWowheadScale_PaladinRetribution = "Paladin: retribution"
PawnWowheadScale_HunterBeastMastery = "Hunter: beast mastery"
PawnWowheadScale_HunterMarksman = "Hunter: marksman"
PawnWowheadScale_HunterSurvival = "Hunter: survival"
PawnWowheadScale_RogueAssassination = "Rogue: assassination"
PawnWowheadScale_RogueCombat = "Rogue: combat"
PawnWowheadScale_RogueSubtlety = "Rogue: subtlety"
PawnWowheadScale_PriestDiscipline = "Priest: discipline"
PawnWowheadScale_PriestHoly = "Priest: holy"
PawnWowheadScale_PriestShadow = "Priest: shadow"
PawnWowheadScale_DeathKnightBloodDps = "DK: blood DPS"
PawnWowheadScale_DeathKnightBloodTank = "DK: blood tank"
PawnWowheadScale_DeathKnightFrostDps = "DK: frost DPS"
PawnWowheadScale_DeathKnightFrostTank = "DK: frost tank"
PawnWowheadScale_DeathKnightUnholyDps = "DK: unholy DPS"
PawnWowheadScale_ShamanElemental = "Shaman: elemental"
PawnWowheadScale_ShamanEnhancement = "Shaman: enhancement"
PawnWowheadScale_ShamanRestoration = "Shaman: restoration"
PawnWowheadScale_MageArcane = "Mage: arcane"
PawnWowheadScale_MageFire = "Mage: fire"
PawnWowheadScale_MageFrost = "Mage: frost"
PawnWowheadScale_WarlockAffliction = "Warlock: affliction"
PawnWowheadScale_WarlockDemonology = "Warlock: demonology"
PawnWowheadScale_WarlockDestruction = "Warlock: destruction"
PawnWowheadScale_DruidBalance = "Druid: balance"
PawnWowheadScale_DruidFeralDps = "Druid: feral cat"
PawnWowheadScale_DruidFeralTank = "Druid: feral bear"
PawnWowheadScale_DruidRestoration = "Druid: restoration"
------------------------------------------------------------
-- Tooltip parsing expressions
------------------------------------------------------------
-- Turns a game constant into a regular expression.
function PawnGameConstant(Text)
return "^" .. PawnGameConstantUnwrapped(Text) .. "$"
end
function PawnGameConstantUnwrapped(Text)
-- REVIEW: This function seems stupid.
return gsub(gsub(Text, "%%", "%%%%"), "%-", "%%-")
end
-- These strings indicate that a given line might contain multiple stats, such as complex enchantments
-- (ZG, AQ) and gems. These are sorted in priority order. If a string earlier in the table is present, any
-- string later in the table can be ignored.
PawnSeparators =
{
", ",
"/",
" & ",
" and ",
}
-- This string indicates that whatever stats follow it on the same line is the item's socket bonus.
PawnSocketBonusPrefix = "Socket Bonus: "
-- Lines that match any of the following patterns will cause all further tooltip parsing to stop.
PawnKillLines =
{
"^ \n$", -- The blank line before set items before WoW 2.3
" %(%d+/%d+%)$", -- The (1/8) on set items for all versions of WoW
"^|cff00e0ffDropped By", -- Mod compatibility: MobInfo-2 (should match mifontLightBlue .. MI_TXT_DROPPED_BY)
}
-- Lines that begin with any of the following strings will not be searched for separator strings.
PawnSeparatorIgnorePrefixes =
{
'"', -- double quote
"Equip:",
"Use:",
"Chance on hit:",
}
-- Items that begin with any of the following strings will never be parsed.
PawnIgnoreNames =
{
"Design:",
"Formula:",
"Manual:",
"Pattern:",
"Plans:",
"Recipe:",
"Schematic:",
}
-- This is a list of regular expression substitutions that Pawn performs to normalize stat names before running
-- them through the normal gauntlet of expressions.
PawnNormalizationRegexes =
{
{"^([%w%s%.]+) %+(%d+)$", "+%2 %1"}, -- "Stamina +5" --> "+5 Stamina"
{"^(.-)|r.*", "%1"}, -- For removing meta gem requirements
}
-- These regular expressions are used to parse item tooltips.
-- The first string is the regular expression to match. Stat values should be denoted with "(%d+)".
-- Subsequent strings follow this pattern: Stat, Number, Source
-- Stat is the name of a statistic.
-- Number is either the amount of that stat to include, or the 1-based index into the matches array produced by the regex.
-- If it's an index, it can also be negative to mean that the stat should be subtracted instead of added. If nil, defaults to 1.
-- Source is either PawnMultipleStatsFixed if Number is the amount of the stat, or PawnMultipleStatsExtract or nil if Number is the matches array index.
-- Note that certain strings don't need to be translated: for example, the game defines
-- ITEM_BIND_ON_PICKUP to be "Binds when picked up" in English, and the correct string
-- in other languages automatically.
PawnMultipleStatsFixed = "_MultipleFixed"
PawnMultipleStatsExtract = "_MultipleExtract"
PawnRegexes =
{
-- ========================================
-- Strings that are ignored for compatibility with other mods
-- ========================================
{"^Used by outfits:"}, -- Mod compatibility: Outfitter
-- ========================================
-- Common strings that are ignored (rare ones are at the bottom of the file)
-- ========================================
{PawnGameConstant(ITEM_QUALITY0_DESC)}, -- Poor
{PawnGameConstant(ITEM_QUALITY1_DESC)}, -- Common
{PawnGameConstant(ITEM_QUALITY2_DESC)}, -- Uncommon
{PawnGameConstant(ITEM_QUALITY3_DESC)}, -- Rare
{PawnGameConstant(ITEM_QUALITY4_DESC)}, -- Epic
{PawnGameConstant(ITEM_QUALITY5_DESC)}, -- Legendary
{PawnGameConstant(ITEM_QUALITY7_DESC)}, -- Heirloom
{PawnGameConstant(ITEM_HEROIC)}, -- Heroic (Thrall's Chestguard of Triumph, level 258 version)
{PawnGameConstant(ITEM_HEROIC_EPIC)}, -- Heroic Epic (Thrall's Chestguard of Triumph, level 258 version, with colorblind mode on)
{"^" .. ITEM_LEVEL}, -- Item Level 200
{PawnGameConstant(ITEM_UNSELLABLE)}, -- No sell price
{PawnGameConstant(ITEM_SOULBOUND)}, -- Soulbound
{PawnGameConstant(ITEM_BIND_ON_EQUIP)}, -- Binds when equipped
{PawnGameConstant(ITEM_BIND_ON_PICKUP)}, -- Binds when picked up
{PawnGameConstant(ITEM_BIND_ON_USE)}, -- Binds when used
{PawnGameConstant(ITEM_BIND_TO_ACCOUNT)}, -- Binds to account (Polished Spaulders of Valor)
{"^" .. PawnGameConstantUnwrapped(ITEM_UNIQUE)}, -- Unique; leave off the $ for Unique(20)
{"^" .. PawnGameConstantUnwrapped(ITEM_BIND_QUEST)}, -- Leave off the $ for MonkeyQuest mod compatibility
{PawnGameConstant(ITEM_STARTS_QUEST)}, -- This Item Begins a Quest
{PawnGameConstant(ITEM_CONJURED)}, -- Conjured Item
{PawnGameConstant(ITEM_PROSPECTABLE)}, -- Prospectable
{PawnGameConstant(ITEM_MILLABLE)}, -- Millable
{PawnGameConstant(ITEM_DISENCHANT_NOT_DISENCHANTABLE)}, -- Cannot be disenchanted
{"^Will receive"}, -- Appears in the trade window when an item is about to be enchanted ("Will receive +8 Stamina")
{"^Disenchanting requires"}, -- Appears on item tooltips when the Disenchant ability is specified ("Disenchanting requires Enchanting (25)")
{PawnGameConstant(ITEM_ENCHANT_DISCLAIMER)}, -- Item will not be traded!
{"^.+ Charges?$"}, -- Brilliant Mana Oil
{PawnGameConstant(LOCKED)}, -- Locked
{PawnGameConstant(ENCRYPTED)}, -- Encrypted (Floral Foundations) (does not seem to exist in the game yet)
{PawnGameConstant(ITEM_SPELL_KNOWN)}, -- Already Known
{PawnGameConstant(INVTYPE_HEAD)}, -- Head
{PawnGameConstant(INVTYPE_NECK)}, -- Neck
{PawnGameConstant(INVTYPE_SHOULDER)}, -- Shoulder
{PawnGameConstant(INVTYPE_CLOAK), "IsCloth", 1, PawnMultipleStatsFixed}, -- Back (cloaks are cloth even though they don't list it)
{PawnGameConstant(INVTYPE_ROBE)}, -- Chest
{PawnGameConstant(INVTYPE_BODY)}, -- Shirt
{PawnGameConstant(INVTYPE_TABARD)}, -- Tabard
{PawnGameConstant(INVTYPE_WRIST)}, -- Wrist
{PawnGameConstant(INVTYPE_HAND)}, -- Hands
{PawnGameConstant(INVTYPE_WAIST)}, -- Waist
{PawnGameConstant(INVTYPE_FEET)}, -- Feet
{PawnGameConstant(INVTYPE_LEGS)}, -- Legs
{PawnGameConstant(INVTYPE_FINGER)}, -- Finger
{PawnGameConstant(INVTYPE_TRINKET)}, -- Trinket
{PawnGameConstant(MAJOR_GLYPH)}, -- Major Glyph
{PawnGameConstant(MINOR_GLYPH)}, -- Minor Glyph
{"^Totem$"},
{"^Relic$"},
{"^Idol$"},
{"^Libram$"},
{"^Mount$"}, -- Cenarion War Hippogryph
{"^Classes:"},
{"^Races:"},
{"^Requires"},
{"^Durability"},
{"^Duration:"},
{"^Cooldown remaining:"},
{"<.+>"}, -- Made by, Right-click to read, etc. (No ^$; can be prefixed by a color)
{"^Written by "},
{"|cff%x%x%x%x%x%xRequires"}, -- Meta gem requirements
{"^%d+ Slot .+$"}, -- Bags of all kinds
{"^.+%(%d+ sec%)$"}, -- Temporary item buff
{"^.+%(%d+ min%)$"}, -- Temporary item buff
{"^Enchantment Requires"}, -- Seen on the enchanter-only ring enchantments when you're not an enchanter, and socketed jewelcrafter-only BoP gems
-- ========================================
-- Strings that represent statistics that Pawn cares about
-- ========================================
{PawnGameConstant(INVTYPE_RANGED), "IsRanged", 1, PawnMultipleStatsFixed}, -- Ranged
{"^Projectile$", "IsRanged", 1, PawnMultipleStatsFixed}, -- Projectile
{PawnGameConstant(INVTYPE_THROWN), "IsRanged", 1, PawnMultipleStatsFixed}, -- Thrown
{PawnGameConstant(INVTYPE_WEAPON), "IsOneHand", 1, PawnMultipleStatsFixed}, -- One-Hand
{PawnGameConstant(INVTYPE_2HWEAPON), "IsTwoHand", 1, PawnMultipleStatsFixed}, -- Two-Hand
{PawnGameConstant(INVTYPE_WEAPONMAINHAND), "IsMainHand", 1, PawnMultipleStatsFixed}, -- Main Hand
{PawnGameConstant(INVTYPE_WEAPONOFFHAND), "IsOffHand", 1, PawnMultipleStatsFixed}, -- Off Hand
{PawnGameConstant(INVTYPE_HOLDABLE)}, -- Held In Off-Hand; no Pawn stat for this
{"^(%d-) %- (%d-) Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Standard weapon
{"^%+?(%d-) %- (%d-) Fire Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand
{"^%+?(%d-) %- (%d-) Shadow Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand
{"^%+?(%d-) %- (%d-) Nature Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand, Thunderfury
{"^%+?(%d-) %- (%d-) Arcane Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand
{"^%+?(%d-) %- (%d-) Frost Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand
{"^%+?(%d-) %- (%d-) Holy Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 2, PawnMultipleStatsExtract}, -- Wand, Ashbringer
{"^%+?(%d-) Weapon Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 1, PawnMultipleStatsExtract}, -- Weapon enchantments
{"^Equip: %+?(%d-) Weapon Damage%.$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 1, PawnMultipleStatsExtract}, -- Braided Eternium Chain
{"^%+?(%d-) Damage$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 1, PawnMultipleStatsExtract}, -- Weapons with no damage range: Crossbow of the Albatross
{"^Scope %(%+(%d-) Damage%)$", "MinDamage", 1, PawnMultipleStatsExtract, "MaxDamage", 1, PawnMultipleStatsExtract}, -- Ranged weapon scopes
{"^%+?(%d+) [Aa]ll [Ss]tats$", "Strength", 1, PawnMultipleStatsExtract, "Agility", 1, PawnMultipleStatsExtract, "Stamina", 1, PawnMultipleStatsExtract, "Intellect", 1, PawnMultipleStatsExtract, "Spirit", 1, PawnMultipleStatsExtract},
{"^%+?(%d+) to All Stats$", "Strength", 1, PawnMultipleStatsExtract, "Agility", 1, PawnMultipleStatsExtract, "Stamina", 1, PawnMultipleStatsExtract, "Intellect", 1, PawnMultipleStatsExtract, "Spirit", 1, PawnMultipleStatsExtract}, -- Enchanted Pearl, Enchanted Tear
{"^%+?(%-?%d+) Strength$", "Strength"},
{"^Potency$", "Strength", 20, PawnMultipleStatsFixed}, -- weapon enchantment (untested)
{"^%+?(%-?%d+) Agility$", "Agility"},
{"^%+?(%-?%d+) Stamina$", "Stamina"},
{"^%+?(%-?%d+) Intellect$", "Intellect"}, -- negative Intellect: Kreeg's Mug
{"^%+?(%-?%d+) Spirit$", "Spirit"},
{"^Titanium Weapon Chain$", "HitRating", 28, PawnMultipleStatsFixed}, -- Weapon enchantment; has additional effects
{"^%+?(%d+) Block$", "BlockValue"},
{"^%+(%d+) Block Value$", "BlockValue"}, -- part of complex warrior helm enchantment
{"^%+(%d+) Shield Block Value$", "BlockValue"}, -- Titanium Plating
{"^Equip: Increases the block value of your shield by (%d+)%.$", "BlockValue"},
{"^Equip: Increases your block rating by (%d+)%.$", "BlockRating"}, -- Waistband of Wrath
{"^Equip: Increases your shield block rating by (%d+)%.$", "BlockRating"}, -- Warbringer Chestguard
{"^%+?(%d+) Block Rating$", "BlockRating"}, -- Northman's Shield of Blocking
{"^%+?(%d+) Shield Block Rating$", "BlockRating"}, -- enchantment
{"^Equip: Increases defense rating by (%d+)%.$", "DefenseRating"}, -- Bulwark of Kings
{"^Defense Rating %+(%d)%$", "DefenseRating"},
{"^%+?(%d+) Defense$", "DefenseRating"}, -- compound paladin enchantment
{"^%+?(%d+) Defense Rating$", "DefenseRating"}, -- Thick Amber; Bloodscale Legguards of Defense
{"^%+?(%d+) Dodge Rating$", "DodgeRating"}, -- Arctic Ring of Eluding
{"^Equip: Increases your dodge rating by (%d+)%.$", "DodgeRating"}, -- Frostwolf Insignia Rank 6
{"^Equip: Increases your parry rating by (%d+)%.$", "ParryRating"}, -- Draconic Avenger
{"^%+?(%d+) Parry Rating$", "ParryRating"},
{"^%(([%d%.,]+) damage per second%)$"}, -- Ignore this; DPS is calculated manually
{"^Adds ([%d%.,]+) damage per second$", "Dps"},
{"^Fiery Weapon$", "Dps", 4, PawnMultipleStatsFixed}, -- weapon enchantment,
{"^Equip: Increases your expertise rating by (%d+)%.$", "ExpertiseRating"}, -- Earthwarden
{"^%+?(%d+) Expertise Rating$", "ExpertiseRating"}, -- Guardian's Shadow Crystal
{"^Equip: Improves critical strike rating by (%d+)%.$", "CritRating"},
{"^Equip: Increases your critical strike rating by (%d+)%.$", "CritRating"},
{"^%+?(%d+) Crit Rating$", "CritRating"}, -- Mantle of Malorne
{"^%+?(%d+) Critical Rating$", "CritRating"}, -- Enscribed Fire Opal (after normalization)
{"^%+?(%d+) Critical [Ss]trike [Rr]ating%.?$", "CritRating"}, -- One head enchantment is "20 Critical strike rating." with a dot and lowercase
{"^Scope %(%+(%d+) Critical Strike Rating%)$", "CritRating"},
{"^%+?(%d+) Ranged Critical Strike$", "CritRating"}, -- Heartseeker Scope (untested); Pawn doesn't distinguish between ranged and hybrid crit rating
{"^Equip: Increases your hit rating by (%d+)%.$", "HitRating"}, -- Don Julio's Band
{"^Equip: Improves hit rating by (%d+)%.$", "HitRating"},
{"^%+?(%d+) Hit Rating$", "HitRating"}, -- 3% hit scope
{"^Surefooted$", "HitRating", 10, PawnMultipleStatsFixed}, -- Enchantment (untested); has additional effects
{"^Accuracy$", "HitRating", 25, PawnMultipleStatsFixed, "CritRating", 25, PawnMultipleStatsFixed}, -- weapon enchantment
{"^Equip: Improves your resilience rating by (%d+)%.$", "ResilienceRating"},
{"^%+?(%d+) Resilience Rating$", "ResilienceRating"},
{"^%+?(%d+) Resilience$", "ResilienceRating"}, -- Sublime Mystic Dawnstone
{"^Counterweight %(%+(%d+) Haste Rating%)", "HasteRating"},
{"^Equip: Improves haste rating by (%d+)%.$", "HasteRating"}, -- Swiftsteel Shoulders
{"^%+?(%d+) Haste Rating$", "HasteRating"}, -- Leggings of the Betrayed
{"^Equip: Increases your mastery rating by (%d+)%.$", "MasteryRating"}, -- Elementium Poleaxe (4.0)
{"^%+?(%d+) Mastery Rating$", "MasteryRating"}, -- Fractured Amberjewel (4.0).
{"^Equip: Increases attack power by (%d+)%.$", "Ap"},
{"^%+?(%d+) Attack Power$", "Ap"},
{"^%+?(%d+) Ranged Attack Power$", "Rap"},
{"^Equip: Increases ranged attack power by (%d+)%.$", "Rap"},
{"^Equip: Restores (%d+) mana per 5 sec%.$", "Mp5"},
{"^%+?(%d+) Mana Regen$", "Mp5"}, -- Shoulder enchantment, Scryers?
{"^Mana Regen (%d+) per 5 sec%.$", "Mp5"},
{"^%+?(%d+) [mM]ana [pP]er 5 [sS]ec%.?$", "Mp5"},
{"^%+?(%d+) [mM]ana [eE]very 5 [sS]ec%.?$", "Mp5"},
{"^%+?(%d+) [mM]ana [pP]er 5 [sS]econds$", "Mp5"}, -- Royal Shadow Draenite
{"^%+?(%d+) [mM]ana every 5 [sS]ec%.$", "Mp5"},
{"^%+?(%d+) [mM]ana every 5 seconds$", "Mp5"},
{"^%+(%d+) Mana restored per 5 seconds$", "Mp5"}, -- Magister's armor kit
{"^Equip: Restores (%d+) health every 5 sec%.$", "Hp5"},
{"^Equip: Restores (%d+) health per 5 sec%.$", "Hp5"}, -- Yes, both "every" and "per" are used on items...
{"^%+?(%d+) [hH]ealth [eE]very 5 [sS]ec%.?$", "Hp5"}, -- Aquamarine Signet of Regeneration
{"^%+?(%d+) [hH]ealth [pP]er 5 [sS]ec%.?$", "Hp5"}, -- Anglesite Choker of Regeneration
{"^%+(%d+) Health and Mana every 5 sec$", "Mp5", 1, PawnMultipleStatsExtract, "Hp5", 1, PawnMultipleStatsExtract}, -- Greater Vitality boots enchantment
{"^%+(%d+) Mana$", "Mana"}, -- +150 mana enchantment
{"^%+(%d+) HP$", "Health"}, -- +100 health head/leg enchantment
{"^%+(%d+) Health$", "Health"}, -- +150 health enchantment
{"^(%d+) Armor$", "AutoArmor"}, -- normal armor
{"^%+(%d+) Armor$", "BonusArmor"}, -- cloak armor enchantments
{"^Reinforced %(%+(%d+) Armor%)$", "BonusArmor"}, -- armor kits
{"^Equip: %+(%d+) Armor%.$", "BonusArmor"}, -- paladin Royal Seal of Eldre'Thalas
{"^Equip: Increases spell power by (%d+)%.$", "SpellPower"}, -- Overlaid Chain Spaulders
{"^%+?(%d+) Spell Power$", "SpellPower"}, -- Reckless Monarch Topaz
{"^Equip: Increases armor penetration rating by (%d+)%.$", "ArmorPenetration"}, -- Onslaught Breastplate, Vereesa's Silver Chain Belt
{"^Equip: Increases your armor penetration rating by (%d+)%.$", "ArmorPenetration"}, -- Argent Skeleton Crusher
{"^%+?(%d+) Armor Penetration Rating$", "ArmorPenetration"}, -- Fractured Scarlet Ruby
{"^Equip: Increases your spell penetration by (%d+)%.$", "SpellPenetration"}, -- Frostfire Robe
{"^%+?(%d+) Spell Penetration$", "SpellPenetration"}, -- Radiant Talasite
{"^%+(%d+) Fire Damage$", "FireSpellDamage"},
{"^%+(%d+) Fire Spell Damage$", "FireSpellDamage"},
{"^Equip: Increases damage done by Fire spells and effects by up to (%d+)%.$", "FireSpellDamage"},
{"^Equip: Increases fire spell power by (%d+)%.$", "FireSpellDamage"},
{"^%+(%d+) Shadow Damage$", "ShadowSpellDamage"},
{"^%+(%d+) Shadow Spell Damage$", "ShadowSpellDamage"},
{"^Equip: Increases damage done by Shadow spells and effects by up to (%d+)%.$", "ShadowSpellDamage"},
{"^Equip: Increases shadow spell power by (%d+)%.$", "FrostSpellDamage"}, -- Frozen Shadoweave Shoulders
{"^%+(%d+) Nature Damage$", "NatureSpellDamage"}, -- Netherstalker Legguards of Nature's Wrath
{"^%+(%d+) Nature Spell Damage$", "NatureSpellDamage"},
{"^Equip: Increases damage done by Nature spells and effects by up to (%d+)%.$", "NatureSpellDamage"},
{"^Equip: Increases nature spell power by (%d+)%.$", "NatureSpellDamage"},
{"^%+(%d+) Arcane Damage$", "ArcaneSpellDamage"},
{"^%+(%d+) Arcane Spell Damage$", "ArcaneSpellDamage"}, -- Dragon Finger of Arcane Wrath
{"^Equip: Increases damage done by Arcane spells and effects by up to (%d+)%.$", "ArcaneSpellDamage"},
{"^Equip: Increases arcane spell power by (%d+)%.$", "ArcaneSpellDamage"},
{"^%+(%d+) Frost Damage$", "FrostSpellDamage"},
{"^%+(%d+) Frost Spell Damage$", "FrostSpellDamage"}, -- enchantment
{"^Equip: Increases damage done by Frost spells and effects by up to (%d+)%.$", "FrostSpellDamage"},
{"^Equip: Increases frost spell power by (%d+)%.$", "FrostSpellDamage"}, -- Frozen Shadoweave Shoulders
{"^%+(%d+) Holy Damage$", "HolySpellDamage"},
{"^%+(%d+) Holy Spell Damage$", "HolySpellDamage"},
{"^Equip: Increases damage done by Holy spells and effects by up to (%d+)%.$", "HolySpellDamage"}, -- Lightforged Blade
{"^Equip: Increases the damage done by Holy spells and effects by up to (%d+)%.$", "HolySpellDamage"}, -- Drape of the Righteous
{"^Equip: Increases holy spell power by (%d+)%.$", "HolySpellDamage"},
{"^%+?(%d+) All Resistances$", "AllResist"},
{"^%+?(%d+) Resist All$", "AllResist"}, -- Prismatic Sphere
{"^%+?(%d+) Fire Resistance$", "FireResist"},
{"^%+?(%d+) Shadow Resistance$", "ShadowResist"},
{"^%+?(%d+) Nature Resistance$", "NatureResist"},
{"^%+?(%d+) Arcane Resistance$", "ArcaneResist"},
{"^%+?(%d+) Frost Resistance$", "FrostResist"},
{"^Red Socket$", "RedSocket", 1, PawnMultipleStatsFixed},
{"^Yellow Socket$", "YellowSocket", 1, PawnMultipleStatsFixed},
{"^Blue Socket$", "BlueSocket", 1, PawnMultipleStatsFixed},
{"^Prismatic Socket$", "PrismaticSocket", 1, PawnMultipleStatsFixed}, -- Prismatic / colorless sockets are added by blacksmithing
{"^Meta Socket$", "MetaSocket", 1, PawnMultipleStatsFixed},
{"^\"Only fits in a meta gem slot%.\"$", "MetaSocketEffect", 1, PawnMultipleStatsFixed}, -- Actual meta gems, not the socket
-- ========================================
-- Rare strings that are ignored (common ones are at the top of the file)
-- ========================================
{'^"'}, -- Flavor text
{"^Increases attack power by (%d+) in Cat, Bear, Dire Bear, and Moonkin forms only%.$"}, -- Shows up on weapons for druids
{"^Alterac Valley$"}, -- Stormpike Soldier's Blood
{"^Blackrock Depths$"}, -- Dark Brewmaiden's Brew
{"^Blade's Edge Mountains$"}, -- Felsworn Gas Mask
{"^Black Temple$"}, -- Naj'entus Spine
{"^Dire Maul$"}, -- Gordok Courtyard Key
{"^Grizzly Hills$"}, -- Element 115
{"^Hyjal Summit$"}, -- Tears of the Goddess
{"^Icecrown$"}, -- (Argent Tournament dailies)
{"^Karazhan$"}, -- Torment of the Worgen
{"^Old Hillsbrad Foothills$"}, -- Pack of Incendiary Bombs
{"^Serpentshrine Cavern$"}, -- Tainted Core
{"^Shadowmoon Valley$"}, -- Enchanted Illidari Tabard
{"^Stratholme$"}, -- Andonisus, Reaper of Souls
{"^Tempest Keep$"}, -- Cosmic Infuser
{"^The Escape From Durnholde$"}, -- Pack of Incendiary Bombs
{"^The Black Morass$"}, -- Chrono-beacon
{"^Wintergrasp$"}, -- Inflatable Land Mines
{"^Zul'Aman$"}, -- Amani Hex Stick
}
-- These regexes work exactly the same as PawnRegexes, but they're used to parse the right side of tooltips.
-- Unrecognized stats on the right side are always ignored.
PawnRightHandRegexes =
{
{"^Speed ([%d%.,]+)$", "Speed"},
{"^Arrow$", "IsBow", 1, PawnMultipleStatsFixed},
{"^Axe$", "IsAxe", 1, PawnMultipleStatsFixed},
{"^Bow$", "IsBow", 1, PawnMultipleStatsFixed},
{"^Bullet$", "IsGun", 1, PawnMultipleStatsFixed},
{"^Crossbow$", "IsCrossbow", 1, PawnMultipleStatsFixed},
{"^Dagger$", "IsDagger", 1, PawnMultipleStatsFixed},
{"^Fist Weapon$", "IsFist", 1, PawnMultipleStatsFixed},
{"^Gun$", "IsGun", 1, PawnMultipleStatsFixed},
{"^Mace$", "IsMace", 1, PawnMultipleStatsFixed},
{"^Polearm$", "IsPolearm", 1, PawnMultipleStatsFixed},
{"^Staff$", "IsStaff", 1, PawnMultipleStatsFixed},
{"^Sword$", "IsSword", 1, PawnMultipleStatsFixed},
{"^Thrown$", "IsThrown", 1, PawnMultipleStatsFixed},
{"^Wand$", "IsWand", 1, PawnMultipleStatsFixed},
{"^Cloth$", "IsCloth", 1, PawnMultipleStatsFixed},
{"^Leather$", "IsLeather", 1, PawnMultipleStatsFixed},
{"^Mail$", "IsMail", 1, PawnMultipleStatsFixed},
{"^Plate$", "IsPlate", 1, PawnMultipleStatsFixed},
{"^Shield$", "IsShield", 1, PawnMultipleStatsFixed},
}
+2990
View File
File diff suppressed because it is too large Load Diff
+16
View File
@@ -0,0 +1,16 @@
## Interface: 30300
## Title: Pawn
## Version: 1.3.8
## Notes: Pawn calculates scores for items that let you easily see which one is better for you.
## OptionalDependencies: AtlasLoot, EQCompare, EquipCompare, MultiTips, Outfitter
## SavedVariables: PawnCommon
## SavedVariablesPerCharacter: PawnOptions, PawnWowheadScaleProviderOptions
VgerCore\VgerCore.lua
Localization.lua
Gems.lua
Pawn.lua
PawnUI.lua
PawnUI.xml
Wowhead.lua
+1996
View File
File diff suppressed because it is too large Load Diff
+1473
View File
File diff suppressed because it is too large Load Diff
+755
View File
@@ -0,0 +1,755 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Pawn</title>
<link rel="stylesheet" type="text/css" href="VgerCore/VgerCore.css" />
</head>
<body>
<h1>Pawn</h1>
<p>
Pawn calculates scores for items that let you easily see which one is better
for you.&nbsp;
It&#39;s completely customizable, and applicable to any class and situation:
for example, it can help you
discover that the ring with a higher item level but one stat you
don&#39;t want (such as spirit for shamans), or the ring with the lower item
level but all good stats.&nbsp; It&#39;s that level of customization that makes
it very different from more general mods like GearScore and more specialized
mods like TankPoints.</p>
<p>
Pawn is a mod for hardcore World of Warcraft players who agonize over
stats and itemization.&nbsp; Use the included Wowhead stat weight presets,
import Pawn &quot;scale tags&quot; posted on forums, or start from scratch and come up
with your own valuation scales.&nbsp; If you&#39;re the kind of person who
plans gear upgrades,
builds Excel spreadsheets, installs Rawr, reads Elitist Jerks... well, Pawn might just be
right up your alley.</p>
<p>
I welcome your feedback—see the Notes section.</p>
<h2>
Installing Pawn</h2>
<p>
Pawn is installed like pretty much every other World of Warcraft mod on the
planet.&nbsp; Extract the contents of the zip file to your Add-ons folder,
generally located in one of these locations:</p>
<p class="codeblock">
<code>C:\Users\Public\Games\World of Warcraft\Interface\AddOns</code><br />
<code>C:\Program Files\World of Warcraft\Interface\AddOns</code><br />
<code>C:\Program Files (x86)\World of Warcraft\Interface\AddOns</code>
</p>
<h2>How Pawn works</h2>
<p>Pawn works by reading the tooltips for items in-game, and annotating them
with some useful information, based on your personal preferences.&nbsp; Let&#39;s
say that you&#39;re a shaman, and someone links the once-popular Molten Core tank shield Drillborer Disk in trade chat.&nbsp; With Pawn installed and set up, you might
see the following when clicking that link:</p>
<div class="loot" style="margin-left: 1em;">
<div class="itemname purple">Drillborer Disk</div>
<div>Binds when picked up</div>
<div>Off Hand&nbsp;&nbsp;&nbsp;&nbsp; Shield</div>
<div>2918 Armor</div>
<div>60 Block</div>
<div>+10 Stamina</div>
<div class="green">Equip: When struck in combat inflicts 3 Arcane damage to the attacker.&nbsp;
<span class="pawnblue">(?)</span></div>
<div class="green">Equip: Increases your block rating by 10.</div>
<div class="green">Equip: Increases the block value of your shield by 23.</div>
<div>&nbsp;</div>
<div class="pawnblue">Healing: 31</div>
<div class="pawnblue">PvP: 292</div>
<div class="pawnblue">(?) Special effects were not included in the value.</div>
</div>
<p>There are a couple differences between a Pawn-enhanced item tooltip and the
normal one.&nbsp; The most obvious is the set of numbers at the bottom.&nbsp;
I&#39;ve set up Pawn to calculate two different values for each item I come across:
one for my healing gear set, and one for my PvP gear set.&nbsp;
When I&#39;m healing in raids, I don&#39;t care too much about my armor, or my block
stats.&nbsp; So, this tank shield isn&#39;t very useful to me; it got a rating of 31
points.&nbsp; In contrast, in PVP and solo combat, I care a lot more about armor—maybe
someday it will help me manage to get a spell off versus a rogue before I die.&nbsp; The value of this shield
to me in a PVP situation is considerably higher: 292 points.</p>
<p>What are these points?&nbsp; They&#39;re exactly what I like them to be.&nbsp;
Pawn lets you set up arbitrary valuation &quot;scales&quot; for every item you come across.&nbsp;
For each scale, you get to assign a point value to each of a wide variety of stats.&nbsp; Pawn
will then analyze the item for you, and quickly come up with a number score
based on the criteria that you&#39;ve set up.&nbsp; Without having to configure
anything, Pawn includes values appropriate for your class from Wowhead, so it&#39;s
possible you may never need to configure anything else.</p>
<p>Not every possible property of an item can be given a value.&nbsp; For
example, the Drillborer Disk reflects 3 arcane damage to each enemy who hits the
shield.&nbsp; This isn&#39;t a common property for items in World of Warcraft to
have, and Pawn doesn&#39;t know how to value that special effect.&nbsp; It tells you
this by adding a special (?) icon to that effect on the tooltip, and then adding a helpful message
to the bottom.&nbsp; When making the decision of whether or not to use Drillborer Disk, you&#39;ll need to keep that in mind; if you find another PvP
shield that also gets a rating of about 292 points, then you should choose
Drillborer, because it has an extra effect that wasn&#39;t taken into account for the
rating.</p>
<p>Let&#39;s get started.&nbsp; First, log into your character, making sure that the
Pawn mod is enabled.&nbsp; Once you log in, start hovering over items in
your inventory, or click links in the trade channel.&nbsp; When you hover over things like herbs and ores and quest
items, you&#39;ll notice that the tooltip doesn&#39;t look any different than it used
to; that&#39;s because those items don&#39;t have stats.&nbsp; When you hover over
equipment that you&#39;re wearing, though, you should see new lines at the bottom
that list your class and spec.&nbsp; Without any input from you, Pawn is
assigning a score to every item in your inventory, using stat weights from
Wowhead appropriate for your class.&nbsp; For example, if you&#39;re a shaman, Pawn
will enable elemental, enhancement, and resto PvE scales for your items.&nbsp;
If you see two gloves with a higher resto score, then the one with the higher
score is most likely the best item for that spec.&nbsp; The other item might,
however, have a higher score according to the enhancement scale.&nbsp; Each
scale is independent, because each item is better for different things.</p>
<p>For items with gems or enchantments, you may see two numbers.&nbsp; The
second one is the &quot;base value&quot; for an item, which ignores enchantments and which
gems you have in it.&nbsp; Use the base values to see if an item is an upgrade
for you.</p>
<p>It&#39;s quite possible to use Pawn right &quot;out of the box,&quot; but you
may want to customize its behavior after you try it out for a while.&nbsp;
So, without further ado, let&#39;s talk about customizing Pawn.</p>
<h2 id="ScaleTags">Scales</h2>
<p>Each of your characters has a unique set of options for Pawn, and can have
any number of valuation scales, which often (but not always) represent
different sets of gear or situations you find your character in, or different
talent specs.&nbsp; A
valuation scale has two things: a name, such as &quot;Pawn value&quot;, and a list of
stats and how many points each stat is worth.</p>
<p>The first
thing you&#39;ll need to do is decide what you&#39;ll do with Pawn.&nbsp; Many
people can be perfectly happy just using the scales from Wowhead that come with
Pawn, and not need to customize a thing.&nbsp; But, you can customize Pawn to do
much more.&nbsp; You can make your own personal version of the Wowhead scales
with slightly tweaked stat values, import scale values from Rawr, or even create
a completely new scale:</p>
<ul>
<li>One possibility is just having Pawn calculate the total attack power
that an item will give you.&nbsp; A feral druid in cat form gets two points
of attack power per point of strength, one point of attack power per point
of agility, one point of attack power per point of attack power on the item
(of course), and no benefit from ranged attack power.&nbsp; This druid could
set up a scale called &quot;attack power&quot; that adds those numbers up
automatically: Strength = 2, Agility = 1, Attack power = 1, Feral AP = 1, and Ranged
AP = 0.</li>
<li>Many people have a set of resistance gear, but deciding between an
item that has 15 resistance and another that has 10 resistance but
also a bunch of nice stats can be hard.&nbsp; You can set up a scale that helps
you decide whether those extra few points of resistance are worth
sacrificing all of those stats.</li>
</ul>
<p>Or, maybe, someone has already shared a <strong>Pawn scale tag</strong> with you, so that you
can use a scale that they created or found themselves.</p>
<h2>Pawn Scale Tags</h2>
<p>Scale tags are a handy way that you can share your Pawn scales with other
people, similar to how you can share talent specs with others just by giving
them a link to the WoW talent calculator.&nbsp; A sample scale tag looks like
this:</p>
<p class="codeblock">
( Pawn: v1: &quot;Total fire damage&quot;: SpellDamage=1, FireSpellDamage=1 )</p>
<p>Generally, they&#39;re considerably longer than that, but the overall format
is still the same.&nbsp; A scale tag includes the parentheses ( ) on the
ends and everything in-between.</p>
<p>It&#39;s possible to use Pawn along with scale tags that other people have
created and never have to do any custom calculations or work yourself.&nbsp;
Here&#39;s how you can use scale tags to share Pawn scales.</p>
<h3>Adding a Pawn scale that someone shared with you</h3>
<p>You can easily add Pawn scales that someone else shared with you on a website as a scale
tag to your own copy of Pawn.&nbsp; Highlight the entire scale tab, including
the parentheses ( ), and then press Ctrl+C to copy it to the clipboard.&nbsp;
Then, switch to WoW.&nbsp; To access the Pawn configuration UI, open
your character sheet and inventory (the <b>C</b> key) and click the Pawn button
in the lower-right corner.&nbsp; Or, type the following slash command:</p>
<p class="codeblock">
<code>/pawn</code></p>
<p>Click the <strong>Scale</strong> tab on this window, and then click <b>Import</b>.&nbsp; A window will appear where you can paste the entire scale tag that you got
from someone else.&nbsp; Press Ctrl+V to paste a scale tag from the clipboard
into this window.&nbsp; Once you&#39;re done, click OK, and that scale will be added
to your copy of Pawn.</p>
<ul>
<li>You can&#39;t import a scale tag if the scale has the exact same name as a
scale you already have.&nbsp; For example, if you have a scale named &quot;Pawn
value&quot;, you can&#39;t import a new scale tag named &quot;Pawn value&quot;.</li>
<li>Make sure that
you get the whole scale tag, including the &quot;(&quot; at the beginning and the &quot;)&quot;
at the end, or it won&#39;t work.</li>
</ul>
<h4>Using Rawr</h4>
<p>The popular program Rawr can generate highly-customized Pawn scales for you,
ready for import.&nbsp; Open Rawr, load your character, and then find the
<strong>Slot</strong> dropdown in the <strong>Comparisons</strong> tab on the
right.&nbsp;&nbsp; Click it and select <strong>Relative stat values</strong>.&nbsp;
Then, click the <strong>Export</strong> dropdown in the upper-right and click
<strong>Copy Pawn string to clipboard</strong>.&nbsp; You can then use the
normal Import feature to add this scale to Pawn.&nbsp; (Unfortunately, all
scales that Rawr produces will be called &quot;Rawr&quot;, so if you use Rawr for more
than one class or spec, you&#39;ll need to rename the scale yourself.)</p>
<h3>Sharing a Pawn scale with others</h3>
<p>You can share one of your Pawn scales with
others by exporting it from the Scale tab of the Pawn configuration UI.&nbsp; From here, choose the scale that you want to export (if you have more than
one) from the <strong>Select a scale</strong> list, and then click <b>Export</b>.&nbsp; A window will appear containing your entire scale tag, but most of it will be
scrolled off to the left where you can&#39;t see it.&nbsp; Press <b>Ctrl+C</b> to copy the
scale tag to your clipboard.&nbsp; Then, switch to your web browser or an
instant message window, or wherever you&#39;d like to share your Pawn scale, and
press <b>Ctrl+V</b> to paste the tag to that window.</p>
<h3>Finding more Pawn scales</h3>
<p>You can find more Pawn scales on the unofficial <a href="http://pawnmod.trenchrats.com/index.php" target="_blank">
Pawn Scales Resources Forum</a>.&nbsp; Or, try the Pawn page at
<a target="_blank" href="http://www.curse.com/downloads/details/8214/">Curse</a>.&nbsp;
Or, build your own scale using the Wowhead stat weights as a starting point:
just click <strong>Copy</strong> on the <strong>Scale</strong> tab to get
started.</p>
<h2>Setting up a custom Pawn scale for one of your characters</h2>
<p>You can customize your Pawn scale in the Pawn configuration UI.&nbsp; To show
it, click the Pawn button in the lower-right corner of the character inventory
window (the <b>C</b> key), or type the following slash command:</p>
<p class="codeblock">
<code>/pawn</code></p>
<p>Nobody thinks all
statistics are created equal.&nbsp; Warrior tanks don&#39;t care about intellect and
spirit.&nbsp; Priests don&#39;t care about strength.&nbsp; You can customize Pawn to
only look at the stats that you care about.&nbsp; Let&#39;s do it now.</p>
<p>The Pawn configuration UI has everything you need to make changes to your
scale, as well as import scales from other people, export them so you can share
yours with others, and create multiple new scales for different situations.&nbsp;
Right now, the &quot;Pawn value&quot; scale is selected and ready to be modified.</p>
<p>On the left, you see a long list of all of the different item stats that Pawn
understands.&nbsp; They&#39;re grouped into categories—the primary stats like
Stamina and Intellect are at the top, weapon stats are another section,
spell-related state are another, sockets for gems are another, and so on.&nbsp;
The default Pawn value scale that was created for you has a value for almost
every stat.</p>
<p>So, let&#39;s make some changes.&nbsp; Let&#39;s start with a new default scale
and delete the stats that we don&#39;t care
about.&nbsp; Go to the <strong>Scale </strong>tab and click <strong>Empty</strong>
and give it a name to create a new one.&nbsp; Now you&#39;re on the <strong>Values</strong>
tab and can customize the numbers.&nbsp; If you&#39;re a melee class, you can get rid of intellect and spirit.&nbsp;
To do this, click on Intellect in the list on the left (it&#39;s near the top).&nbsp;
When you click on a stat, you see a little description about the stat to the
right (there&#39;s not much to say about intellect), and a box where you can type a
new value.&nbsp; To get rid of intellect, either delete the number from the box,
replace it with 0, or just click <strong>Remove</strong>.&nbsp; Then, choose spirit from the list and delete it too.&nbsp;
You can delete any stats you don&#39;t care about, and you can change the value of
any stat in the list.&nbsp; (If you find yourself removing a lot of stats, you
can also create a new empty scale and start from scratch.&nbsp; That would
probably be easier than deleting everything individually.&nbsp; The downside is
that you don&#39;t get to see the starting values we suggested for each stat.)</p>
<p>Cool.&nbsp; You don&#39;t have to do anything complicated just yet; that should
be fine.&nbsp; Your changes will take effect immediately; you can hover over new
items or click links in trade chat and you&#39;ll see updated values based on your
newly-modified scale.&nbsp; Once you have thing set up the way you like them,
Pawn will be customized to exactly what you care about in items.</p>
<p>If you ever manage to really screw things up, you can click Delete to delete
the scale you&#39;re working on, and then click New default to create a new scale
from the defaults.&nbsp; If you name it &quot;Pawn value&quot; you&#39;ll be right back where
you started.</p>
<h3>Setting up a second Pawn scale</h3>
<p>You aren&#39;t limited to just one scale or a few; you can set up as many
as you like.&nbsp; To do this, go to the Scale tab on the Pawn configuration UI and click
<b>
Empty</b> to start a new scale with no values for any stat, or <b>Defaults</b> to start a new scale using the defaults as a starting point.&nbsp;
When you have two different scales, Pawn will show two numbers on each item you
hover over or click in chat.&nbsp; You can have any number of scales; just
choose the one that you want to work on in the configuration UI before you start
making changes to the stats.</p>
<h2>Comparing items</h2>
<p>You can use Pawn to easily compare two items.&nbsp; Open the Pawn UI and
click the <strong>Compare</strong> tab.&nbsp; Then, place an equippable item
from your inventory in the empty box in the upper-right corner.&nbsp; Once you
do this, Pawn will automatically fill in the slot on the left with whichever
item you currently have equipped in that slot.&nbsp; (For example, if you put a
cloak in the right slot, Pawn will automatically put your currently equipped
cloak in the left slot.)&nbsp; In the case of trinkets and rings, you can switch
between both equipped items using buttons in the lower-left corner.</p>
<p>The Compare tab shows you a breakdown of the two items by stats, and makes it
easy to tell which item is better by showing the total Pawn value for each item,
and highlighting the item with the higher value.&nbsp; Only stats in the
currently selected scale appear in the stat breakdown, so if you&#39;re viewing two
DPS axes but have a frost mage scale selected, the stat list will be pretty
empty since your frost mage probably doesn&#39;t care about agility and expertise.</p>
<p>The Compare tab always compares the base versions of items, ignoring
currently socketed gems and enchantments.&nbsp; (Items with empty sockets will
get points based on the gem that Pawn suggests putting in those sockets.)</p>
<h4>Comparing an item that just dropped to what you currently have</h4>
<p>If you&#39;re deciding whether to roll or bid on an item, you can&#39;t pick it up
and put it in a slot in the Compare tab, but you can still easily compare it to
what you already have.&nbsp; Just right-click on an item&#39;s icon in the roll
window to put it into the Compare tab.&nbsp; Or, if the item was linked in trade
chat, click on the link to open the item link, and then right-click on the
window (tooltip) that appears.</p>
<h4>Comparing items in AtlasLoot and other mods without clicking</h4>
<p>You can also compare items without having to click on them, which is useful
for items you see in mods such as AtlasLoot.&nbsp; To do this, you&#39;ll need to
set up key bindings to <strong>Compare left item</strong> and <strong>Compare
right item</strong> in the Key Bindings window.&nbsp; Pawn will try to bind the
<strong>[</strong> and <strong>]</strong> (left bracket and right bracket) keys
to those commands if those keys aren&#39;t already bound to something else, but you
can customize the key bindings to whatever you want.</p>
<p>Once you have key bindings set up, hover over the left item and press the
Compare left item key <strong>[</strong>, and then hover over the right item and
press the Compare right item key <strong>]</strong>.&nbsp; (If the item is
&quot;unsafe&quot; in AtlasLoot, you need to right-click it to make it safe first.)</p>
<ul>
<li>You can use Compare right item to evaluate an item upgrade that drops
from the boss you&#39;re about to kill.&nbsp; Pawn will automatically fill in
the left item with whatever you have equipped.</li>
<li>You can use both Compare left item and Compare right item to see the
stat difference between two different badge rewards or the current PVP
season&#39;s Pendant of Dominance and Pendant of Subjugation.</li>
</ul>
<h2>Notes</h2>
<p>Well, hopefully that&#39;s enough to get you started.&nbsp; If you&#39;re interested
in customizing Pawn further, check out the <b>Options</b> tab of the Pawn UI,
and rest of this document.</p>
<h3>Contacting the author</h3>
<p>I&#39;m interested in knowing what you think of Pawn, and what you use
it for.&nbsp; Bug reports and suggestions are cool too.&nbsp; The best way to contact me is on the
<a href="http://www.curse.com/downloads/details/8214/" target="_blank">Pawn page at Curse</a>,
which I check daily.&nbsp; You can also contact me through in-game mail: Vger on Azjol-Nerub (US), Horde.&nbsp;
(Just make sure that you keep a character on
my server and check your mail, or I can&#39;t respond!)&nbsp; Also, check out my
<a target="_blank" href="http://www.vgermods.com/">official site</a>, where you
can find links to all of my mods.</p>
<h3>Reporting bugs</h3>
<p>When reporting bugs, it&#39;s helpful to be as specific as possible.&nbsp; Does
the problem always happen for you, or just sometimes?&nbsp; Can you think of any
mods that you&#39;re running that might be related?&nbsp; Does the problem still
occur if you disable all your mods except Pawn?&nbsp; What item
does it happen on?</p>
<p>WoW now hides interface error information from you by default.&nbsp; Reenabling it
in Interface Options would
be helpful; the error text includes useful information about where the error
occurred. Any information you can provide to help Vger track down the bug is great.</p>
<p>Please remember that Pawn is language-specific.&nbsp; The official English
version of Pawn only works on the English version of World of Warcraft.&nbsp;
The non-English versions are maintained by other people.</p>
<h3>Key bindings</h3>
<p>In addition to the options in the Pawn UI, you can also set a key binding to
open and close the Pawn UI.&nbsp; Look for it in the list of key bindings under
&quot;Pawn.&quot;</p>
<h3>Making a backup</h3>
<p>You can back up all of your custom scales.&nbsp; Just type <strong>/pawn
backup</strong> in the chat box, and a window will appear.&nbsp; Press Ctrl+C to
copy its contents to the clipboard.&nbsp; Then, create or open a file on your
computer where you&#39;d like to save the backup, and press Ctrl+V to paste your
scales to that file.&nbsp; Save the file, and now you have a backup of all of
your custom scales in case you accidentally delete them, or just want to share
them all with someone else.</p>
<p><strong>Note:</strong> The scale Import feature only lets you import a single
scale at a time, so to restore your scales from this backup you&#39;ll have to copy
and paste them one-by-one.</p>
<p>You can also back up your SavedVariables file.&nbsp; Open your World of
Warcraft folder, and then in that location there is a folder named WTF.&nbsp;
Open it, and then the folder inside it with your account name, and then the
SavedVariables folder.&nbsp; Look for the file named &quot;Pawn.lua&quot; and save a copy
of that file to a safe location.</p>
<h3>The Wowhead scales</h3>
<p>The Wowhead stat weights are used with permission.&nbsp; If you have feedback
on the scale values, please direct it to the appropriate
<a href="Wowhead%20Theorycrafting%20forum" target="_blank">Wowhead
Theorycrafting forum</a> threads.</p>
<h4>Hiding</h4>
<p>It&#39;s easy to hide any of the Wowhead scales that you don&#39;t like from your
tooltips.&nbsp; Just select a scale from the list and then uncheck <b>Show in
tooltips</b>.</p>
<p>If you want to hide all Wowhead scales on all of your characters and have
them not even show up in the list of scales, you can delete the file Wowhead.lua
that comes with Pawn.</p>
<h4>Resetting</h4>
<p>It&#39;s possible to customize the colors of the Wowhead scales.&nbsp; If you&#39;d
like to undo any changes you&#39;ve made to the Wowhead scales, you can execute
these two commands at a chat window:</p>
<p class="codeblock">/script PawnResetProviderScales()<br />
/reload</p>
<h3>Developers</h3>
<p>If you have a World of Warcraft mod that you&#39;d like to integrate with Pawn,
please consider getting in touch with me.&nbsp; I may have suggestions that will
make your life easier.&nbsp; I&#39;ve also made it possible for other developers to
create their own &quot;scale providers&quot; that can feed stat weights into Pawn just
like the Wowhead scales.&nbsp; If you&#39;d like to create your own scale provider,
take a look at Wowhead.lua, and contact me if you have any questions, or
suggestions on ways that Pawn could be improved to work with your mod better.&nbsp;
(I can&#39;t, of course, guarantee that I&#39;ll make changes, but I might be able to
help.)</p>
<h2>Item valuation notes</h2>
<p>Here are some notes that may help you while you&#39;re setting up your Pawn
scales.</p>
<h3>Gems and socket bonuses</h3>
<p>
Pawn assumes that you'll fill in any item that has sockets with the gems that will maximize
that item's value, whether it's using the best gems of the correct colors to get the socket bonus,
or gems of all one color and ignoring the socket bonus. By default, Pawn will automatically assign
a value to sockets for you, and will update those values as you change your scale. If you prefer,
however, you can change the values assigned to sockets the same way you can change the values
of any stats.
</p>
<p>
If you open the item socketing window, you'll notice that Pawn will add its suggestions on which
gems to use to maximize the value of the item. If you socket the item with exactly those gems,
the value won't change. If you use better gems, the value will go up, and if you use worse gems,
the value will go down. You can see a full listing of which gems Pawn suggests for each of your
scales on the Gems tab of the Pawn UI.
</p>
<p>
Socket values in your scales only apply to the base version of an item.&nbsp;
No points are awarded for empty sockets in the current version of an item.&nbsp;
(You should gem your items and not be such a scrub!)&nbsp; So, for socketed
items, the current value for the item will be <em>lower </em>than the base value.&nbsp; This makes it easy to compare socketed items with non-socketed items
based on their <em>potential</em> stats—just always
compare the base values of the two items. The Compare tab already does that for you.
</p>
<p>
Meta gems are also special, since they contain both stats and a secondary effect. You can assign a
value to both parts individually, though by default Pawn will automatically pick a value for the stats
portion of the gem for you.
</p>
<p>By default, Pawn assumes that you'll use rare-quality (blue) level 80 gems.&nbsp;
You can change this for each of your scales individually on the Gems tab.&nbsp; The following
table shows how many stats the gems of each "tier" have.</p>
<table>
<tr>
<td colspan="2"><i>Gems at level 70</i></td>
</tr>
<tr>
<td><b>Gem quality</b></td>
<td><b>Number of base stats</b></td>
</tr>
<tr>
<td>White (vendor)</td>
<td>4</td>
</tr>
<tr>
<td>Green (crafted)</td>
<td>6</td>
</tr>
<tr>
<td>Blue (crafted)</td>
<td>8</td>
</tr>
<tr>
<td>Epic (BoP heroic)</td>
<td>9</td>
</tr>
<tr>
<td>Epic (raid crafted)</td>
<td>10</td>
</tr>
<tr>
<td>Epic (BoP JC-only crafted)</td>
<td>12</td>
</tr>
</table>
<br />
<table>
<tr>
<td colspan="2"><i>Gems at level </i>80</td>
</tr>
<tr>
<td><b>Gem quality</b></td>
<td><b>Number of base stats</b></td>
</tr>
<tr>
<td>Green (crafted)</td>
<td>12</td>
</tr>
<tr>
<td>Green (perfect crafted)</td>
<td>14</td>
</tr>
<tr>
<td>Blue (crafted)</td>
<td>16</td>
</tr>
<tr>
<td>Epic (crafted)</td>
<td>20</td>
</tr>
<tr>
<td>Epic (BoP JC-only crafted)</td>
<td>34</td>
</tr>
</table>
<br />
<table>
<tr>
<td colspan="2"><i>Gems at level </i>85</td>
</tr>
<tr>
<td><b>Gem quality</b></td>
<td><b>Number of base stats</b></td>
</tr>
<tr>
<td>Green (crafted)</td>
<td>40</td>
</tr>
<tr>
<td>Blue (crafted)</td>
<td>50</td>
</tr>
<tr>
<td>Epic (BoP JC-only crafted)</td>
<td>84</td>
</tr>
</table>
<h3>Resistances</h3>
<p>For resistances, there&#39;s an &quot;all resistances&quot; stat and individual resistances.&nbsp; The +3 All Resistances cloak
enchantment would add three points of &quot;all resistances&quot; to the cloak, but no points
of &quot;fire resistance.&quot;&nbsp; If you&#39;re putting together a scale for fire resistance,
give points to both &quot;all resistances&quot; and &quot;fire resistances.&quot;</p>
<h3>Weapon speed</h3>
<p>Weapon speed can work a little differently than the other stats.&nbsp; Some
people value weapon speed based on how much faster or slower a weapon is than a
particular speed.&nbsp; The &quot;speed baseline&quot; stat (which isn&#39;t really a stat,
per se) lets you choose this baseline speed, instead of 0, which is the speed
baseline if you don&#39;t pick a different one.&nbsp; For example, to give an item 1
point for every tenth of a second slower than 2.9 seconds per swing (useful for,
say, enhancement shamans), set speed to 10 (10 = 1 / 0.1) and speed baseline to
2.9.&nbsp; If you value faster weapons, pick your preferred speed baseline and then set
the value speed to be negative, because higher numbers for speed are bad for
you.</p>
<p>Speed baseline shows up in the &quot;special weapon stats&quot; category.</p>
<h3>Special weapon stats</h3>
<p>If you want to value different types of weapons differently, don&#39;t use the
regular DPS, minimum damage, maximum damage, and speed stats; instead, use the
ones in the &quot;special weapon stats&quot; category at the end of the list.&nbsp; For
example, if you&#39;re a hunter, you might value ranged DPS much higher than melee
DPS, since most of your damage comes from ranged attacks.</p>
You won&#39;t want to use all of the weapon min damage, max damage, and DPS
stats all at once.<ul>
<li>Do you care about top-end damage only?&nbsp; Use the max damage
stats.&nbsp; (max damage, 1H: max damage, Ranged: max damage, ...)</li>
<li>Do you care about damage per second only?&nbsp; Use the DPS stats.&nbsp;
(DPS, 1H: DPS, Ranged: DPS, ...)</li>
<li>Do you care about only melee weapons in general, but not which
hand?&nbsp; Use the Melee stats.&nbsp; (Melee: min damage, Melee: DPS, ...)</li>
<li>Do you care about the top end damage of all melee weapons that fit
in your main hand?&nbsp; Use MH: max damage <i>and</i> 1H: max damage.</li>
<li>If you use the specialized versions of stats, don&#39;t also use the
general ones.&nbsp; For example, if you use Melee: DPS, don&#39;t also use
DPS.&nbsp;
If you use Melee: min damage and/or Melee: max damage, you probably don&#39;t want
to also use Melee: DPS.</li>
<li>The OH: DPS stat and other off hand-related stats do not take
into account the decreased damage and hit rate of off-hand weapons.&nbsp;
The information is, as always, pulled straight from the tooltip.</li>
<li>If you care about average damage versus minimum and maximum damage,
take the value you would have assigned to average damage if it existed
as a stat, and add half to minimum damage and half to maximum damage.&nbsp;
For example, if you wanted to set Ranged: average damage to 10, but then found
out that Ranged: average damage doesn&#39;t exist, set Ranged: min
damage to 5 and Ranged: max damage to 5 instead.</li>
</ul>
<h3>Armor</h3>
<p>Most classes and specs will want to assign a single value to armor value.&nbsp;
However, feral druids and death knights have abilities and talents that multiply
their armor by a certain percentage.&nbsp; These abilities only multiply armor
found on cloth (including cloaks), leather, mail, and plate armor (&quot;base armor&quot;), and not weapons,
trinkets, rings, necklaces, enchantments, and armor kits (&quot;bonus armor&quot;).&nbsp; These classes can value the
two types of armor separately by giving values to the appropriate stats.&nbsp;
If they do, they should not assign a value to the normal &quot;armor&quot; stat, or armor
will be counted twice.</p>
<p>Please note that items that have bonus armor (in green text) will
have the full armor value reported as base armor even though some is considered bonus
armor by the game.&nbsp; There is currently no way for mods to know how much of that armor
value is base and how much is bonus.</p>
<h3>Normalizing values (like Wowhead)</h3>
<p>With the &quot;Normalize values&quot; option disabled (the default), Pawn calculates values by multiplying each stat on
an item by the value of that stat in each of your scales.&nbsp; If you enable
this option, Pawn will take that number and divide it by the sum of <i>all</i>
of the stat values in each of your scales.&nbsp; This helps to compensate for
how some scales might use numbers that average out to about 1.0, and others use
numbers in the tens.</p>
<p>For example, if your scale were ( Stamina = 1, Intellect = 2,
Crit rating = 1 ), then Wowhead would divide the item&#39;s total value by 4.&nbsp;
An item with 10 Stamina, 10 Intellect, and 20 Crit rating would have a value
of 50 with this option off, and 12.5 with this option on.</p>
<h3>Special effects (?)</h3>
<p>It&#39;s normal for certain special item effects to be listed with an icon (?).&nbsp;
You need to decide how important that effect is to you yourself.&nbsp; For
example, Pawn doesn&#39;t have a value for &quot;Equip: Increases the effect that healing
and mana potions have on the wearer by 40%&quot; because only a few items do that.&nbsp;
You&#39;ll need to decide how to adjust that item&#39;s value yourself, based on how
much benefit you receive from that special effect.</p>
<h4>Set bonuses</h4>
<p>Set bonuses are completely ignored by Pawn, and they won't get the special
effect icon. You'll need
to take them into account when deciding between an item that would give you a set bonus
and an item that would not.</p>
<h2>Mod support</h2>
<p>Have a favorite mod that doesn&#39;t seem to work with Pawn?&nbsp; Let me know.&nbsp;
I may not be able to add support for your favorite, but I might be able to
suggest a replacement, or update Pawn to work better in a future version for
popular mods.</p>
<h3>Mods that have been tested and work with Pawn</h3>
<p>This is not a conclusive list.&nbsp; If any of these mods doesn&#39;t seem to be
working with Pawn, please make sure that you have the latest version of both it
and Pawn.</p>
<ul>
<li>Ackis Recipe List</li>
<li>AtlasLoot</li>
<li>Armory</li>
<li>CowTip</li>
<li>EQCompare</li>
<li>EquipCompare</li>
<li>FuBar</li>
<li>ItemSync</li>
<li>Link Wrangler</li>
<li>LootLink</li>
<li>Mendeleev</li>
<li>MobInfo-2</li>
<li>MonkeyQuest</li>
<li>MultiTips</li>
<li>Outfitter</li>
<li>Rating Buster</li>
<li>Skinner</li>
<li>Spyglass</li>
<li>tdItemTip</li>
<li>tekKompare</li>
</ul>
<h2>Release history</h2>
<h3>Version 1.3.8</h3>
<ul>
<li>Implemented additional performance enhancements so that Pawn uses even
less memory and CPU time.&nbsp; Having the Wowhead scales loaded now
increases Pawn&#39;s memory and CPU usage by only a negligible amount, so I
don&#39;t recommend disabling them anymore.</li>
<li>Added an arrow icon to the best item shown on the Compare tab to make it
clearer at a glance and for colorblind people.</li>
</ul>
<h3>Version 1.3.7</h3>
<ul>
<li>Fixed a bug where Pawn wouldn&#39;t recalculate which gems were best for a
scale after chanigng stat values until the next time you logged in.</li>
<li>Fixed a separate bug where sometimes the display of socket values that
were calculated automatically (as opposed to manually set) would not display
correctly, even if they were properly calculated.</li>
</ul>
<h3>Version 1.3.6</h3>
<ul>
<li>Thanks to some gnomish performance engineering, Pawn now uses about 95%
less CPU time during login, which should reduce your login times by a second
or two.</li>
<li>Added a new scale from Wowhead for arms warriors.</li>
<li>Changed the (*) warning message to be a little clearer, and now it has a
new (?) icon.&nbsp; Pawn now calls item properties that it doesn&#39;t recognize
&quot;special effects.&quot;</li>
<li>Fixed a bug where the item special effect warning message wasn&#39;t showing up
even when enabled.</li>
<li>Fixed a bug that might occur after the Wowhead scales (or any
scales from a &quot;plugin&quot; of any sort) were disabled by deleting
Wowhead.lua.</li>
</ul>
<h3>Version 1.3.5</h3>
<ul>
<li>Changed a bunch of text to make it even easier for new users to get
started with Pawn.</li>
<li>The default for new users of Pawn is now to only show the base values of
items.&nbsp; If you&#39;re already using Pawn and have current item values
shown, your settings won&#39;t be changed and you&#39;ll still see both numbers.</li>
<li>Rearranged the list of stats on the Values tab so that more common stats
are easier to find, and really rare stats like raw health aren&#39;t wasting
prime screen real estate.</li>
<li>Added support for items with mastery rating for those of you in the
Cataclysm beta.&nbsp; (Untested.)</li>
</ul>
<h3>Version 1.3.4</h3>
<ul>
<li>Fixed an issue for patch 3.3.5 that prevented you from linking gems from
the Gems tab.</li>
</ul>
<h3>Version 1.3.3</h3>
<ul>
<li>Added a very small value for Stamina for Wowhead scales that did not
already include Stamina.&nbsp; This will help prevent certain very odd gems
from appearing as suggestions in the Gems tab.&nbsp; (For example, some DPS
scales did not include values for any blue stat, so the ret pally Gems tab
included a gem with Spirit!)</li>
<li>Fixed a bug where Pawn disabled the Blizzard UI&#39;s item comparison
tooltip that appears when you hold down the shift key while your mouse is
over an item link window.</li>
</ul>
<h3>Version 1.3.2</h3>
<ul>
<li>Fixed a bug where the Export button would generate an invalid scale tag
for the Wowhead scales.&nbsp; Now you can properly export the Wowhead scales
just like your own.</li>
</ul>
<h3>Version 1.3.1</h3>
<ul>
<li>Fixed a bug where the Pawn socketing suggestions window would not show
the proper name of Wowhead scales.</li>
</ul>
<h3>Version 1.3</h3>
<p><strong>Important!&nbsp; </strong>After upgrading to Pawn
1.3, your Pawn settings and scales will be upgraded and will no longer be
visible in older versions of Pawn.&nbsp; If you need to revert to an older version of Pawn,
use the new /pawn backup command to make a backup copy of your scales that you
can save in a file on your computer.</p>
<ul>
<li>You can now see and edit all of your scales in the Pawn UI, regardless
of which character you&#39;re currently on.&nbsp; (You&#39;ll need to log into
each of your characters once first.)&nbsp; Each of your scales can be
shown in tooltips for just one or none of your characters (like in previous
versions), or you can have a scale show up in the tooltips for multiple
different characters.</li>
<li>All of the stat weight presets from Wowhead are now included with Pawn,
so you can immediately start using it without needing to import or create
any scales if you don&#39;t feel like customizing.&nbsp; The Wowhead scales
can&#39;t be changed, but if you want to use them as a starting point for your
own scales you can copy them and modify the copy.<ul>
<li>If you have feedback for the Wowhead scales, please see the
<a href="http://www.wowhead.com/?forums&amp;board=20" target="_blank">
Wowhead Theorycrafting forum</a>.</li>
</ul>
</li>
<li>The new Scale tab now contains most of the per-scale options (such as
whether it shows up on your character&#39;s tooltips), as well as the options
for importing, exporting, and creating scales.&nbsp; The Values tab
(previously the Scales tab) is now a bit simpler.</li>
<li>The list of scales now appears in a pane to the left of the Pawn UI instead of in
a dropdown.&nbsp; The scales that are visible on the current character&#39;s
tooltips will appear at the top of the list.</li>
<li>The &quot;Normalize values (like Wowhead)&quot; option can now be set individually
for each of your scales for finer control.</li>
<li>Added a new command <strong>/pawn backup</strong> that you can use to
back up all of your custom scales at once as a big mass of scale tags.</li>
<li>Item levels will now only appear on items in the Compare tab if you also
have them enabled for item tooltips in Interface Options.</li>
<li>If you hold down the Shift key when clicking the Delete button to delete
a scale, the scale will now be deleted immediately without requiring
confirmation.</li>
<li>Many bugs were fixed, including several bugs that only existed in
pre-release versions of Pawn 1.3 and are not listed here:<ul>
<li>Fixed a potential error when setting up default Pawn keybindings when using Pawn for the first time for a
character, and added a
diagnostic message to help determine why the problem is occurring.</li>
<li>Fixed a bug where often the first item comparison you performed in the
Compare tab wouldn&#39;t show item values until you clicked the Swap button or
the list of scales.</li>
<li>Fixed the error that would occur when trying to put an heirloom item in
the Compare tab.</li>
<li>Fixed a display issue where scales with colons (&#39;:&#39;) in their names
would appear incorrectly on tooltips if the &quot;align values to right edge
of tooltip&quot; option were enabled.</li>
<li>Fixed a bug where the scale total values listed when hovering over a
Pawn button on someone&#39;s character sheet weren&#39;t listed in alphabetical order.</li>
</ul>
</li>
</ul>
<h3>Older versions</h3>
<ul>
<li>See the <a href="Version%20history.htm">version history</a> document for
information about older versions of Pawn.</li>
</ul>
<h2>Known issues and bugs</h2>
<p>See the <a href="Version%20history.htm">version history</a> document for
information about known issues and bugs.</p>
<h2>Future versions</h2>
<p>See the <a href="Version%20history.htm">version history</a> document for a
list of some of the features I&#39;m considering for future versions of Pawn.</p>
<h2>The fine print</h2>
<p>© 2006-2010 Green Eclipse.&nbsp; This mod is released under the Creative Commons
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" target="_blank">
Attribution-NonCommercial-NoDerivs 3.0</a> license.&nbsp; In short, this means
that you can use it, copy it, and share it, but you can't sell it or distribute
your own altered versions without permission. By using the mod you agree to the terms of the license. For more information, click the link.</p>
</body></html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+957
View File
@@ -0,0 +1,957 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Pawn past and future versions</title>
<link rel="stylesheet" type="text/css" href="VgerCore/VgerCore.css" />
</head>
<body>
<h1>Pawn past and future versions</h1>
<p>
I got tired of the version history section of the <a href="Readme.htm">
readme</a> being longer than the rest of it, so I moved parts here.</p>
<h2>Future versions</h2>
<p>There are many features that I&#39;d like to add in future versions of Pawn,
besides fixing issues listed in the &quot;known issues&quot; below.</p>
<ul>
<li>Now that the Cataclysm beta is in progress, I need to add a way to
select the quality level of meta gems to use between 80 and 85, just like
you can for non-meta gems.</li>
<li>To make Pawn more approachable for new users, I think that by default
I&#39;ll remove Pawn values from trinkets (since trinkets have secondary effects
and thus their Pawn values are very rarely accurate).&nbsp; (I&#39;ll add an option to turn values back
on for trinkets, and there&#39;s already an option to toggle current item
values.)</li>
<li>I&#39;m investigating how Pawn could eliminate or reduce its dependence on
lots and lots of hand-translated text patterns by using new API features
added in patch 3.2.<ul>
<li>Specifically, the new API function GetItemStats was added.&nbsp;
Unfortunately, at this time, it only supports returning stats for the
base version of an item, not the current version, which makes it
insufficient for Pawn.</li>
<li>I could use GetItemStats for base stats only and use the old code
for enchanted stats, but that&#39;s starting to get pretty complicated, and
it would likely introduce weird bugs where DPS would be slightly
different between a base item and an enchanted item due to differences
in calculation methods, or old-world DPS enchantments would not work
properly, or things like those.</li>
</ul>
</li>
<li>The Compare tab should be updated to allow comparisons between two
one-handed items and a two-handed item.</li>
<li>Additional ways you might be able to get to the Compare tab in the
future:<ul>
<li>I could add little Pawn buttons to item link windows.&nbsp; I
initially decided not to do this because I thought they&#39;d be obnoxious.</li>
<li>I could add a &quot;compare this item with what I already have&quot; button to
loot roll windows to make it more obvious than just right-clicking the
icon.&nbsp; Or, I could even just add a little comparison window that
sticks to the side.</li>
<li>In addition to the &quot;currently equipped&quot; buttons in the lower-left, I
could also remember the best 1-2 items you&#39;ve ever equipped for a given
slot type, and display those there too.&nbsp; This helps those with
multiple gear sets (for example, shamans with a resto set and an enhance
set).</li>
</ul>
</li>
<li>Right now, the Compare tab only shows stats that have nonzero values in
your currently-selected scale.&nbsp; I could add an option to show all stats, though that
would make it a lot harder to use at a glance—weapons have a lot of stats,
including 8-12 stats just for tracking damage and speed, plus any real stats
on the item.</li>
<li>I might change the Compare tab so that it still shows item stats even if
there&#39;s only one item.</li>
<li>I could improve the Compare tab to support comparing multiple sets of
items at once.&nbsp; (For example, an entire gear set versus another
person&#39;s entire gear set.)</li>
<li>I still haven&#39;t optimized some parts of Pawn for performance.&nbsp; One
thing that I could do is collect statistics on how often various item stats
are used, and then reorder them in the files so that the most common stats
are checked first, and the rarest stats are checked last.&nbsp; That might
be difficult and make translation much more challenging, though.</li>
<li>I could add an option to hide values from items you could never equip.&nbsp;
For example, shamans could have values hidden on swords, sigils, plate
armor, and wands.</li>
<li>There are other things I could annotate tooltips with, but I&#39;m not sure
which things I&#39;ll do, since some might conflict with other mods or require a
lot of configuration.</li>
<li>I could make it so that Pawn could generate Wowhead/LootRank URLs from your
scales.</li>
<li>Pawn could keep track of the best item of each type (Helm, Bracers,
Trinket, ...) that you&#39;ve ever equipped, and then show you how the item
you&#39;re hovering over compares to that.&nbsp; There would be one &quot;best item&quot;
per scale, per item type (two for rings and trinkets).&nbsp; Or, it could just show a difference between
the hovered item and the equipped item.&nbsp; This would be useful for
evaluating gear sets that you&#39;re not currently wearing—for example, if a DPS
cloak drops but you&#39;re in your tanking gear.</li>
<li>One very cool feature would be a way to automatically share Pawn scale
tags with another player through an in-game whisper.&nbsp; Something like
/pawn share Vger &lt;scale name&gt;.&nbsp; Or, there could just be a window
where you could type another player&#39;s name to see their Pawn scales if they
use Pawn... sort of like a Scalesteal spell.</li>
<li>I&#39;d love to integrate with AtlasLoot&#39;s Wish List feature, helping you
find and manage upgrades to your items.</li>
<li>Down the road, I might also like to add a way for people to assign values to
specific item effects and enchantments.&nbsp; For example, Spellsurge is a
useful weapon enchantment for casters, but Pawn doesn&#39;t give it a value.&nbsp;
Right now, you have to rely on the asterisks and intuition to properly
evaluate Spellsurge versus another weapon enchantment.&nbsp; I haven&#39;t
decided how this would work just yet...&nbsp; Is it part of a single scale,
or a per-character option?&nbsp; Does it assign stats (Intellect +30) or
points (Score +30)?&nbsp; And what&#39;s the point of assigning it a value when
you&#39;d generally use unenchanted value in these situations anyway?</li>
</ul>
<h2>Known issues and bugs</h2>
<p>Check here first if you think you&#39;ve found a new bug; maybe I already know
about it.</p>
<ul>
<li><strong>Cataclysm beta:</strong>&nbsp; The gems suggested by the Gems
tab are based on the stats those gems had before Cataclysm.&nbsp; For
example, Fractured Cardinal Ruby will still be treated as if it had 20 armor
penetration, even though in 4.0 it has crit instead.&nbsp; (Based on the
latest stuff on Wowhead, it sounds like maybe existing gems are just getting
converted to different types of gems, so maybe this won&#39;t be a problem.)</li>
<li>There&#39;s a bug where occasionally some people aren&#39;t able to select
scales from the list.</li>
<li>Tradeskill items do not always get Pawn values
right now.</li>
<li>Unverified: wands may only be getting the regular damage stats, and not
the ranged damage stats.</li>
<li>Unverified: Fiery and other weapon damage enchantments are
only counting for the basic DPS stat, and not for the specialized DPS stats
like melee DPS.</li>
<li>Weapon damage is actually stored in the game with more precision than is
displayed.&nbsp; For example, Gavel of Naaru Blessings says in-game that it
does 16-117 damage, but according to the game files, it does 16.12-116.12
damage.&nbsp; This causes Pawn to report its DPS as being slightly different
than the in-game tooltip says.</li>
<li>Item links that you click that aren&#39;t already in your game cache show
the message &quot;Retrieving item information&quot; and then when the item appears, there
are no Pawn values until the next time you show that item.&nbsp; This type of
problem has existed forever, and also affects the Blizzard feedback UI
line, but still I&#39;d like to find a way to solve it.</li>
</ul>
<h2>Ancient release history</h2>
<p>For recent version history, see the <a href="Readme.htm">Pawn readme</a>.</p>
<h3>Version 1.2.5</h3>
<ul>
<li>What used to be called the enchanted value of an item is now the current
value, and what used to be called the unenchanted value is now the base
value.&nbsp; The word &quot;base&quot; now also appears on tooltips.&nbsp; (No functionality has changed; this is just a terminology
change.)</li>
<li>Fixed the error that occurred when hovering over Brewfest steins.</li>
</ul>
<h3>Version 1.2.4</h3>
<ul>
<li>Fixed an error that occurred when hovering over profession recipes.</li>
</ul>
<h3>Version 1.2.3</h3>
<ul>
<li>You can now select what quality of gems to use for each of your scales
on the Gems tab: uncommon, rare, or epic.&nbsp; Each scale can have a
different quality level, so your main spec scale can use epic gems, and your
offspec scale can use rare gems.</li>
<li>By popular request, enchanted values of items now no longer include any
points for sockets on the item, since the enchanted value is meant to
reflect the current state of the item.&nbsp; This means that before you put
gems in an item, the enchanted value of an item will be lower than the
unenchanted value.</li>
<li>Fixed a bug where occasionally items that weren&#39;t enchanted would show
two equal values, such as &quot;123.4 (123.4)&quot;.&nbsp; (This was only a display
issue; the values were being calculated properly.)</li>
</ul>
<h3>Version 1.2.2</h3>
<ul>
<li>Pawn will now calculate correct socket values if you have the &quot;normalize
values (like Wowhead)&quot; option enabled.</li>
</ul>
<h3>Version 1.2.1</h3>
<ul>
<li>Fixed the &quot;attempt to perform arithmetic on field &#39;?&#39; (a nil value)&quot;
error that some users were experiencing in Pawn 1.2.</li>
</ul>
<h3>Version 1.2</h3>
<ul>
<li><b>Note:</b> Upon installation, this version of Pawn will automatically make adjustments to
each of your
scales&#39; socket values.&nbsp; To avoid this, you can turn off the option for each
scale to always correctly match gem colors.</li>
<li>By default, Pawn will automatically choose the best rare-quality level
80 gem of each color and use the value of that gem when calculating item
values.&nbsp; Most people will no longer ever need to manually set values
for red, yellow, or blue sockets.</li>
<li>There&#39;s now a new Gems tab in the Pawn UI.&nbsp; This tab shows you the
best rare-quality level 80 gems that are available for any of your scales.&nbsp;
Never again will you wonder which gems to have cut for that new boss drop.
<ul>
<li>The Gems tab also displays suggested meta gems, but take these with a grain of
salt; Pawn ignores the special effects on the gem.</li>
<li>The Gems tab only considers rare-quality level 80 gems.&nbsp; I&#39;ll
add support for epic gems very soon in an upcoming Pawn update.</li>
</ul>
</li>
<li>Pawn will now add a tooltip to the item socketing window displaying the
suggested gems to use when socketing that item for each of your scales.&nbsp;
In addition, the window now has a Pawn button that takes you directly to the
Gems tab for more details.</li>
<li>Meta sockets are now covered by two values instead of one: the old "Meta socket" value
is now "Meta: stats" and covers the normal stat bonuses from meta gems. The
new value is "Meta: effect" and covers the bonus effects from meta gems. Helms with an
empty meta socket will get the values from both added to their totals. Helms with a
filled meta socket will get the values of Meta: effect and the actual stats on the gem added
to their totals. This reflects the fact that stat-for-stat, helms with meta sockets are clearly
better than helms without them because of the added effects that meta gems bring.</li>
<li>Adjusted the value of MP5 in the default scale to correspond with current itemization.</li>
<li>Removed the Pawn feature to show item levels, as it is now built into the game.</li>
<li>Fixed the &quot;Could not parse the item link&quot; error that appeared when
clicking the links that items such as the Titanium Seal of Dalaran and Worn
Troll Dice add to chat.</li>
<li>Corrected the display of socket bonuses on weapons in the Compare tab.</li>
<li>(English) Enchant Boots: Greater Vitality now works again.</li>
</ul>
<h3>Version 1.1.13</h3>
<ul>
<li>Fixed the "attempt to perform arithmetic on local 'Dps&#39; (a nil value)&quot;
issue introduced by 1.1.12 relating to feral attack power calculations.</li>
</ul>
<h3>Version 1.1.12</h3>
<ul>
<li>Though it doesn&#39;t actually exist as a real weapon stat anymore, druids
can once again assign a value to feral attack power instead of weapon DPS if
they don&#39;t like multiplying by 14.</li>
<li>Updated Outfitter support to handle newer versions of Outfitter.&nbsp;
(If alternate outfit tooltips stop working for you, be sure to download the
latest version of Outfitter too.)</li>
</ul>
<h3>Version 1.1.11</h3>
<ul>
<li>When &quot;show item levels&quot; is enabled, you can now hover over the Pawn
button on your character sheet or an inspected player&#39;s character sheet to
get an estimate of that player&#39;s average item level in epic gear.&nbsp; For
example, an epic gear level of 200 means that the player is in full 10-man
Naxxramas gear; 213 means that the player is in full 25-man Naxxramas gear.</li>
</ul>
<h3>Version 1.1.10</h3>
<ul>
<li>Added support for Pawn values on Outfitter alternate-outfit tooltips.</li>
</ul>
<h3>Version 1.1.9</h3>
<ul>
<li>Fixed a bug where scales that used to have a value for colorless sockets
back when Pawn included them as a possible stat would show inaccurate values
if you had normalization turned on.</li>
<li>Fixed a bug where armor penetration gems (like Fractured Scarlet Ruby)
didn&#39;t work in the English version.</li>
<li>Added support for Titanium Plating and Enchant Weapon: Accuracy.</li>
<li>Minor updates for colorblind mode in patch 3.1.</li>
</ul>
<h3>Version 1.1.8</h3>
<ul>
<li>Removed the feral attack power stat entirely since it no longer exists
directly on weapons.&nbsp; (Feral druids should increase their value for
weapon DPS accordingly.)</li>
<li>Added compatibility with the mod tdItemTip.</li>
</ul>
<h3>Version 1.1.7</h3>
<ul>
<li>One more potential fix for the error that I worked on in the last
version.</li>
</ul>
<h3>Version 1.1.6</h3>
<ul>
<li>Fixed an issue where Pawn would in rare situations cause an error when it was
loaded for the first time for a character (either a new character, or a
character new to Pawn).&nbsp; Whether or not a given person would actually
experience this bug is essentially random.&nbsp; This is also reported to
have worked around game crashes that a few people were seeing.</li>
<li>Added support for Enchant Boots: Greater Vitality, and the hit rating
effect of Titanium Weapon Chain.</li>
</ul>
<h3>Version 1.1.5</h3>
<ul>
<li>Feral druids and death knights rejoice!&nbsp; You can now assign
separate values to base armor (on cloth, cloaks, leather, mail, and plate) and bonus
armor (on weapons, trinkets, necklaces, rings, and enchantments).<ul>
<li>Please note that pre-Wrath items that had bonus armor (in green
text) will have the full armor value reported as base armor even though
some is bonus armor.&nbsp; There is currently no way for mods to tell
the difference.</li>
</ul>
</li>
<li>Updated the default values for the socket stats to more appropriate
values, assuming that you would use level 80 blue gems in them.&nbsp; Existing
scales will not be changed.</li>
<li>Support for colorless / prismatic sockets added by blacksmithing has
been removed.&nbsp; Since these sockets never appear on items normally, and
they are simply an interim stage (you&#39;d never socket an item and then decide
not to put a gem in it), I decided it didn&#39;t make sense to assign values to
them. </li>
<li>The red text that appears after socketed jewelcrafter-only BoP gems that
says that they require jewelcrafting will no longer appear with an asterisk
(*).</li>
<li>Added support for Enchant Boots: Icewalker.</li>
<li>Worked around a bug that could cause the Compare tab to stop working in
certain situations.</li>
</ul>
<h3>Version 1.1.4</h3>
<ul>
<li>Fixed a bug where, on the Compare tab, meta sockets would appear under
the &quot;socket bonus&quot; heading instead of the &quot;sockets&quot; heading.</li>
<li>Enchantments that are on enchanters&#39; rings when you are not an enchanter
(the ones that appear in red) will no longer appear with asterisks (*).</li>
<li>Armor penetration rating on new Wrath of the Lich King items will now be
interpreted correctly.</li>
</ul>
<h3>Version 1.1.3</h3>
<ul>
<li>This is the patch 3.0 version of Pawn, and will not work properly on WoW
2.4.x.&nbsp; The stats Spell damage, Healing, Spell hit rating, Spell crit
rating, and Spell haste rating have all been removed.&nbsp; Spell damage and
Healing have been replaced with Spell power, and the three Spell combat
ratings have been combined into hybrid ratings that work for both casters
and non-casters.&nbsp; Pawn will update your scales automatically, but you
might want to check the values of those stats to make sure that they are in
line with what you&#39;d expect.</li>
<li>Added stats that allow you to assign different values to different armor
types (such as plate, cloth, etc.).</li>
</ul>
<h3>Version 1.1.2</h3>
<ul>
<li>Added support for account-bound (gold-quality) items and more new things that appear in
WoW 3.0.</li>
<li>Fixed an error message that could appear when using some item links from
sites like Wowhead.</li>
<li>Armor penetration works once more on WoW 3.0.</li>
</ul>
<h3>Version 1.1.1</h3>
<ul>
<li>Fixed Link Wrangler compatibility, which was broken in Pawn 1.1.</li>
<li>Items that have at least one recognized stat (normally marked with an
asterisk) will be marked as such in the Compare tab.&nbsp; (This feature
existed in 1.1 betas but did not appear in the final version.)</li>
<li>Added support for Lake Wintergrasp items and the Scourgestone.</li>
</ul>
<h3>Version 1.1</h3>
<ul>
<li>This version of Pawn has been tested on both the live realms and on the Wrath of
the Lich King beta, and includes <i>tons</i> of fixes to make Pawn work
correctly on Wrath servers, and to support new stats and types of items that
appear in the expansion content, including new stats, new gems, encrypted
items, colorless sockets, and more.</li>
<li>Pawn now sports a new tab, Compare, which lets you see two items
side-by-side to compare their stats in more detail.&nbsp; Check it out!<ul>
<li>You can compare any two items in your inventory or a merchant&#39;s
inventory by dropping them in
the slots.</li>
<li>If the left slot is empty and you drop an item in the right slot,
your currently equipped item will automatically be put in the left slot.</li>
<li>In addition to dragging and dropping items, all of the following
shortcuts also work:<ul>
<li>Clicking either of the &quot;currently equipped&quot; shortcut buttons
that appear in the lower-left corner once there is an item in the
right slot.</li>
<li>Hovering over an item in your inventory, another player&#39;s
inventory, a vendor&#39;s inventory, an item link window, AtlasLoot, or
other locations, and pressing the &quot;[&quot; or
&quot;]&quot; key.&nbsp; (This key binding is customizable in the regular key
bindings interface.)</li>
<li>You can also right-click item link windows and item icons in
loot roll windows to immediately compare the item with your
currently equipped item.</li>
</ul>
</li>
</ul>
</li>
<li>The first time you run Pawn after upgrading to 1.1, Pawn will
automatically bind keys to its commands if you aren&#39;t using those keys for
other things.&nbsp; By default, &quot;P&quot; will open and close the Pawn UI, and &quot;[&quot;
and &quot;]&quot; are used for item comparisons.&nbsp; If
you later unbind those keys or bind them to other actions, Pawn won&#39;t try to
rebind them.</li>
<li>Fixed a bug where Pawn values didn&#39;t show up on item link windows if you
only had unenchanted numbers visible, not enchanted numbers.</li>
<li>Fixed a problem where error text would appear in the chat window when
hovering over recipes in Ackis Recipe List and possibly other similar mods.</li>
<li>German users rejoice!&nbsp; When entering stat values you can now use a
comma instead of a period as a decimal separator—for example, &quot;0,5&quot; now
works in addition to &quot;0.5&quot;.</li>
<li>In this version of Pawn, I&#39;ve significantly reorganized a lot of the code that reads
and annotates item tooltips.&nbsp; This, coupled with other changes in Wrath
of the Lich King, is likely to cause some conflicts with other mods.&nbsp;
If you run into problems with Pawn, please remember to try to reproduce the
same problem with no other item-related mods installed.&nbsp; I still may be
able to fix the bug if it turns out that the bug is related to another mod,
but I need to know <i>which</i> mod to download and try.</li>
</ul>
<h3>Version 1.0.4</h3>
<ul>
<li>Fixed a bug that would prevent Pawn from working properly if one or
more of your scales didn't assign a value to the spell damage stat.</li>
<li>Updated the value of the armor penetration and spell penetration stats
in the default Pawn scale to match current itemization.&nbsp; Existing
scales are not changed.</li>
<li>Pawn will no longer try to assign a default value to spell damage (WoW 2.4) if you use
a scale that contains only spell power (WoW 3.0).</li>
</ul>
<h3>Version 1.0.3</h3>
<ul>
<li>Added an entry in the Interface Options dialog to launch the Pawn UI, in
case you hide the Pawn button and forget how to get it back.</li>
<li>You can now assign a value to the Wrath of the Lich King &quot;spell power&quot;
stat to your scales.&nbsp; It uses the same values by default as the &quot;spell
power&quot; stat in Pawn 0.7.4, and your existing scales will be assigned a value
for the stat automatically.&nbsp; Your scales will still have spell damage
and healing stats in them, but they won&#39;t be used for anything.</li>
<li>In Wrath of the Lich King, the stats that currently appear as melee hit
rating, melee crit rating, and melee haste will also apply to spells, and
the spell hit, crit, and haste rating stats are not used.&nbsp; Existing
scales will not be modified at this time.</li>
</ul>
<h3>Version 1.0.2</h3>
<ul>
<li>When Armory is installed, added support for showing unenchanted values
on the item comparison tooltips that appear when holding down the Alt key.</li>
<li>Added support for the stat-only components of Surefooted, Cat&#39;s
Swiftness, and Boar&#39;s Speed.&nbsp; (The run speed and snare resistance
effects are ignored since there are no Pawn stats for those.)</li>
<li>Fixed a bug where if you clicked a link for an item that had an icon and
then a link for a spell that did not have an icon, the item&#39;s icon would not
properly disappear.</li>
<li>Fixed a bug with reading certain items with multiple stats on the same
line that was causing problems with the French translation in progress.</li>
<li>Removed a bunch more asterisks from various items.</li>
</ul>
<h3>Version 1.0.1</h3>
<ul>
<li>It&#39;s now possible to force Pawn to always calculate an item&#39;s value
based on the correct color of gems (Pawn 0.8 and older behavior) instead of
maximizing the item&#39;s value by potentially using the wrong colors and
ignoring the socket bonus (Pawn 0.9 and later behavior).&nbsp; To change the
option for one of your scales, choose that scale in the UI and then choose
one of the colored sockets from the stat list.</li>
<li>Added support for socket bonuses (and possible future gems) that give
melee haste rating.</li>
<li>Added shaman healing scales based on the popular Elitist Jerks thread to
the sample scales document that comes with Pawn.</li>
</ul>
<h3>Version 1.0</h3>
<ul>
<li>Restored compatibility with Link Wrangler, which stopped working in Pawn 0.9.</li>
<li>Added support for showing Pawn values on Link Wrangler&#39;s &quot;compare
equipped items&quot; tooltips.</li>
<li>Added support for showing inventory icons next to Link Wrangler
tooltips.</li>
<li>There&#39;s now a &quot;getting started&quot; tab to gently remind new users to read
the Readme file.</li>
<li>Takes advantage of new WoW 2.4 functionality to show inventory icons
next to item link windows in a few situations where it couldn&#39;t before.</li>
<li>Various other UI and text tweaks.</li>
</ul>
<h3>Version 0.9</h3>
<ul>
<li>Pawn is now smarter about the way that it values sockets and socket
bonuses, which in some cases will slightly change the values of certain
items, both with and without gems.<ul>
<li>If you&#39;ve already filled all of the sockets on an item and you don&#39;t
qualify for the socket bonus, Pawn no longer counts the socket bonus
stats, since they&#39;re not actually there.</li>
<li>If you can get a better value by socketing the wrong colors of gems
and ignoring the socket bonus, Pawn will now do that when calculating
item values.&nbsp; (When the &quot;Show debug info&quot; option is enabled, Pawn
will tell you which color gems it used.)</li>
</ul>
</li>
<li>Pawn now remembers all of the stats from several of the last items
you&#39;ve viewed so it doesn&#39;t have to always recalculate them.&nbsp; This
should help your framerate when rapidly hovering over many items in
succession, especially when an equip compare mod is also installed.</li>
<li>You now have to type the word &quot;delete&quot; to confirm that you really want
to delete a scale.</li>
<li>You can now make a copy of an existing scale by clicking the new Copy
button.</li>
<li>There is now an option to hide a specific scale from tooltips without
having to delete it (and, most likely, export it and paste it somewhere for
safekeeping).</li>
<li>Pawn will no longer look for stats on quest, spell, and ability links in
WoW 2.4.</li>
<li>Fixed a bunch of UI bugs that occurred when deleting your last scale.</li>
<li>Pawn no longer adds unnecessary asterisks to Black Temple instance-bound items, such as Naj&#39;entus Spine.</li>
<li>Added support for Reckless Noble Topaz and other gems with spell haste
rating.</li>
</ul>
<h3>Version 0.8.2</h3>
<ul>
<li>The Pawn UI now displays the current Pawn version number on the last
tab.</li>
<li>Pawn now supports addons that modify the Inspect window when it is first
shown instead of immediately upon login, such as Spyglass.</li>
</ul>
<h3>Version 0.8.1</h3>
<ul>
<li>You can now hover over the Pawn button on the inventory window to get a
grand total of the enchanted values on all of your equipped items.</li>
<li>There is now a disabled Pawn button on the inspect window that you can
hover over to get totals for all of another player&#39;s equipped items.</li>
<li>Fixed a bug where all on/off options that defaulted to being on (show
enchanted values, show unenchanted values, and show tooltip icons) would
automatically turn back on after logging out and back in.</li>
<li>Fixed a bug where sometimes disabling enchanted values would cause
unenchanted values to also not be displayed.</li>
<li>Fixed a bug where the word &quot;Projectile&quot; on stacks of arrows would get an
asterisk, and their DPS would not count as ranged DPS.</li>
<li>Fixed a bug where negative values would not be exported in scale tags.&nbsp;
(Negative stat values are most common with weapon speed.)</li>
</ul>
<h3>Version 0.8</h3>
<ul>
<li>The Pawn UI now has an Options tab that you can use to set all Pawn
options.</li>
<li>Almost all of the Pawn slash commands are now unnecessary, and have been
removed.&nbsp; You can still use /pawn to open the Pawn UI, and /pawn debug
is still available as well.</li>
<li>Tooltips have been added to pretty much everything in the Pawn UI.</li>
<li>You can use the new calculation option &quot;Normalize values&quot; to divide all of your scale values by
the sum of all of the numbers in the scale.&nbsp; This causes Pawn to
generate the same sorts of numbers that Lootzor does.&nbsp; (See the
appropriate section in the readme file for more details.)</li>
<li>You can now change the text color for your scales individually from the
Pawn UI.&nbsp; You could, for example, make your healing scale show up in
white and your DPS scale show up in red.</li>
<li>You can now bind a key to the Pawn UI.&nbsp; Look under &quot;Pawn&quot; in the
standard key bindings list.</li>
<li>Added support for the Fiery Weapon enchantment; Pawn counts it as 4 dps.</li>
<li>Fixed a bug where sometimes tooltip icons would not appear for items
that had never been in your inventory.&nbsp; (This includes most links in
trade chat.)</li>
<li>Fixed a bug where if you clicked on an item link for an item, and then a
tradeskill recipe (such as [Alchemy: Super Mana Potion]), the icon for the
previous item would stay since the recipe did not have one.</li>
<li>Fixed a bug where if you had set custom colors for your scales, scales
would no longer always be sorted alphabetically by name on item tooltips.</li>
</ul>
<h3>Version 0.7.5</h3>
<ul>
<li>Pawn now shows inventory icons next to item link and item comparison
tooltips, so when someone links an item, you can also see its inventory
icon.&nbsp; You can turn this feature off with /pawn icons off.<ul>
<li>This feature works with the built-in WoW functionality, as well as a
variety of other tooltip mods: EquipCompare, EQCompare, and MultiTips.</li>
</ul>
</li>
<li>When /pawn ids on is active, Pawn now displays the item IDs of all
applicable enchantments and gems in the tooltip as well.&nbsp; For example,
if looking at item 123 with no enchantment and gems 45 and 67 socketed, you
would see &quot;Item ID: 123:0:45:67&quot;.</li>
<li>You can now have Pawn align item values (and IDs and levels, if those
options are on) along the right side of the tooltip with /pawn align numbers
right.&nbsp; Some people may find this easier to read; others may find it
more difficult.</li>
<li>A new category of stats has been added, &quot;weapon types,&quot; which is
primarily useful for racial abilities and talents.<ul>
<li>For example, orcs
get a passive 5 expertise bonus when using axes.&nbsp; So, you might give a
weapon a few bonus points just for being an axe.&nbsp; At level 70, 5
expertise costs 78.8 expertise rating, so you might value &quot;being an axe&quot;
as high as 78.8.</li>
</ul>
</li>
</ul>
<h3>Version 0.7.4</h3>
<ul>
<li>Pawn plugins for FuBar and Titan Panel are now available as
separate downloads.&nbsp; You can get them at
<a target="_blank" href="http://www.curse.com/downloads/details/8214/">Curse</a>.</li>
<li>The old &quot;spell power&quot; stat made sense before patch 2.3, but it was
particularly confusing to healers after that patch, so I&#39;ve removed it, and
replaced it with easier-to-understand &quot;spell damage&quot;.&nbsp; Now,
the healing stat only
includes healing, and the spell damage stat only includes spell damage.<ul>
<li>Now, Light&#39;s Justice, which says that it increases healing by 382
and damage by 128, has 382 healing and 128 spell damage, exactly as
you&#39;d expect.</li>
<li>Pawn will automatically upgrade your existing scales and any scale
tags that you import.&nbsp; Please double-check the value of the spell
damage stat after importing to make sure that it&#39;s what you intended,
as in this version Pawn does not read your mind.&nbsp;
The upgrade process will give correct results for typical cases (DPS
casters who don&#39;t care about healing; healers who valued spell power at
least as high as healing, as they should have), but may not give the
results you expect if you had a strange scale (healing but no spell
power).</li>
<li>As always, the default Pawn scale has been adjusted to accommodate
these changes.</li>
</ul>
</li>
<li>A new slash command /pawn enchanted has been added to let you turn off
the enchanted item values, showing only the unenchanted, unsocketed values
for items.&nbsp; (You can also use /pawn enchanted off along with /pawn
unenchanted off to temporarily hide all Pawn values.)&nbsp; This option may
not be compatible with all of your favorite tooltip mods, but it should work
in all cases where you currently get unenchanted item values today, which is
most everywhere.</li>
<li>The Pawn button has a new, unique look, instead of being a regular red
WoW button.</li>
<li>The Pawn button now appears in a more reasonable spot when the character
inventory window has been skinned using a mod such as Skinner.</li>
<li>A new slash command /pawn button has been added to let you move the Pawn
button on the inventory window, or hide it completely.&nbsp; (If you hide
the button, you&#39;ll need to type /pawn to open the Pawn UI, or use the
Pawn plugin for FuBar or Titan Panel.)</li>
<li>Added a new option to the /pawn asterisks slash command, /pawn asterisks
no text.&nbsp; Using this option is the same as /pawn asterisks auto, except
the &quot;* Pawn gave no value to some stats&quot; warning text is not added to
tooltips of items with at least one (*) unrecognized stat.</li>
</ul>
<h3>Version 0.7.3</h3>
<ul>
<li>Added a button to the inventory window to show and hide the Pawn
configuration UI.</li>
<li>Pawn now supports Armory and EquipCompare working together with the &quot;/eqc
alt&quot; option to show comparisons with your alt&#39;s gear instead of your current
character&#39;s.</li>
<li>Added support for the unusual items with negative stats, such as Kreeg&#39;s
Mug, which gives -10 Intellect.</li>
<li>Added support for Braided Eternium Chain and other non-weapon items with
weapon damage as an equip bonus.&nbsp; It shows up as minimum damage and
maximum damage, but not DPS—it&#39;s not a weapon, so there&#39;s no speed, and
therefore no DPS.</li>
<li>Fixed a problem that would frequently show up when using Pawn with
CowTip, causing an error message to appear in chat when hovering over an
item and then an empty inventory slot.</li>
<li>Fixed a problem where sometimes an open item link window would not be
immediately updated upon making scale changes.</li>
<li>Minor changes to fix some issues when running a German version of Pawn
on the German WoW client.</li>
<li>Updated the samples scales document with newer versions of Emmerald&#39;s
feral combat models and ShadowPanther&#39;s AEP model, and added scales for
Malan&#39;s Elitist Jerks EP for shamans.</li>
</ul>
<h3>Version 0.7.2</h3>
<ul>
<li>The special weapon DPS stats now work.&nbsp; I had broken them in either
0.7 or 0.7.1.&nbsp; Existing scales will automatically be corrected; you
should not need to re-enter values for those stats.</li>
</ul>
<h3>Version 0.7.1</h3>
<ul>
<li>If the item link window is open when you make changes to your Pawn
scales, it will now be updated immediately, so you can see how your changes
will affect the value of the item.</li>
<li>Added spell hit rating and spell crit rating to the configuration UI.&nbsp;
(Oops!)</li>
<li>Corrected a typo in the description of the melee and ranged crit rating
stat.</li>
</ul>
<h3>Version 0.7</h3>
<ul>
<li>Pawn now has a configuration UI!&nbsp; To access it, simply type /pawn
in the chat box.&nbsp; (To see the help information that used to be
available when you typed /pawn, type /pawn help, or click the /pawn commands
button in the configuration UI.)&nbsp; You should no longer need to manually edit your SavedVariables files
to configure Pawn.</li>
<li>The configuration UI is now the official way to make all changes to
your Pawn scales.&nbsp; Some of the slash commands that existed in
earlier versions of Pawn are gone, since they&#39;re no longer needed: /pawn
list, export, import, delete, rename.</li>
<li>Eliminated that bug where sometimes unenchanted values would
disappear from items after a while.&nbsp; The problem seemed to be most
commonly linked to use of the world map, but also could occur after zoning
or showing the interface options window.</li>
<li>Scales now appear in alphabetical order on item tooltips.</li>
<li>Pawn now works with tekKompare and LootLink.</li>
<li>Fixed a bug where the value of resilience rating in the default Pawn
value scale was 0 instead of 1 as was intended.&nbsp; Scale tags that call resilience rating &quot;Resilience&quot; instead of &quot;ResilienceRating&quot;
will now be imported properly.</li>
<li>The value of ArmorPenetration in the default Pawn value scale is now
0.1, based on the latest information on WoWWiki.</li>
<li>Includes VgerCore 1.0.1.</li>
</ul>
<h3>Version 0.6.3</h3>
<ul>
<li>Added support for items in the guild bank vault.</li>
<li>In <i>some</i> cases, you can use mods that create fake item tooltips
like AtlasLoot and ItemSync along with mods that mangle item tooltips like
Rating Buster, and Pawn will now still work.&nbsp; No guarantees that your
favorite combination of mods won&#39;t break Pawn, but this should help a lot of
people out.</li>
<li>Finally fixed that bug where items with both durability and an Equip: or
Use: line that Pawn didn&#39;t understand would get asterisks on the wrong
lines.&nbsp; (For example, Stalker&#39;s Helm of Second Sight has this problem.)</li>
<li>Added the /pawn space command, which adds a blank space before the item
values it adds to tooltips.</li>
<li>Added a special &quot;stat&quot; called SpeedBaseline.&nbsp; SpeedBaseline isn&#39;t an
actual item property, but rather a number to be subtracted from weapon
speeds before they&#39;re multiplied by your scale values.&nbsp; For example, if
you&#39;re an enhancement shaman who wants to give weapons 1 point for every 0.1
second of speed slower than 2.9, use Speed = 10 (1 / 0.1) and SpeedBaseline
= 2.9.&nbsp; Weapons slower than 2.9 would instead lose points at the same rate.</li>
<li>Adjusted the value of the FeralAp stat in the Pawn default scale from
0.5 to 0.4 so that feral items in 2.3 will have roughly the same values as
they did in 2.2 with the old Pawn default scale and so that the Pawn default
scale still roughly mimics item budget formulas.&nbsp; I do not necessarily
recommend that you change values in your own scales; your items have been
buffed, so it makes sense for their values to go up.</li>
<li>Weapon skill rating stats have been removed from Pawn and the default
Pawn scale, as they&#39;ve been removed from the game in the patch.&nbsp;
Existing scales will not be automatically updated to use ExpertiseRating.</li>
<li>Added Pawn values to gems in the socketing UI.</li>
<li>Fixed the amount of healing and spell damage received from Teardrop
Tourmaline and possibly other gems that previously only gave healing.</li>
<li>Added support for the new Chaotic Skyfire Diamond.</li>
<li>Now displays a more readable error message when the embedded mod
VgerCore is missing or failed to load.</li>
<li>Fixed several problems introduced in 2.3:<ul>
<li>Fixed a problem that appeared in 2.3 due to the new way that set item
tooltips look where Pawn was putting asterisks all over the name of the set,
the items in the set, and the set bonuses.</li>
<li>Fixed a problem that appeared in 2.3 where stats on meta gems weren&#39;t
always being counted due to requirements now being displayed on gems even
when socketed.</li>
<li>Fixed a bug that appeared in 2.3 only where certain gems and random item
properties would appear very strange, such as &quot;+45 Stamina|cfff1a1a1a&quot;, and
Pawn would not understand them.</li>
</ul>
</li>
</ul>
<h3>Version 0.6.2</h3>
<ul>
<li>Fixed a script error that appeared the first time a recipe was clicked
since logging in or resetting your UI.</li>
<li>Pawn now includes VgerCore 1.0 embedded within the mod; you don&#39;t need a
separate VgerCore folder in your AddOns folder.</li>
</ul>
<h3>Version 0.6.1</h3>
<ul>
<li>Supports the 2.2.x live realms and the 2.3 PTRs.&nbsp;
(Healing-to-spell-damage and expertise require 2.3, of course.)</li>
<li>Support for the healing to spell damage conversion.&nbsp; Items that say
that they increase healing by 300 and spell damage by 100 will be reported
as Healing = 200, SpellPower = 100.&nbsp; Recall that SpellPower <i>includes</i>
healing, thus your scale&#39;s value for SpellPower should always be equal to or
greater than the value for Healing.</li>
<li>A new value of .255 was picked for the value of Healing in the default
scale, down from .455.&nbsp; With this value, items that had 1/3 of their
Healing converted to SpellPower (default value .855) in 2.3 will have the exact
same values in 2.3 that they did with the old scale in 2.2 (ignoring rounding errors).&nbsp; Of
course, you can and should customize your Pawn scales to fit your needs;
generally, healers should <i>not </i>adjust their scales to deal with this
change.</li>
<li>Support for the new ExpertiseRating stat, valued at 1 in the
default &quot;Pawn value&quot; scale, same as the existing weapon skill
stats.&nbsp; Existing scales will not be adjusted to include this stat.&nbsp;
If you haven&#39;t customized your scales and want to reset them, use /pawn resetscales.<ul>
<li>Weapon skill ratings are currently still supported so you can use
Pawn 0.6.1 on the live realms too.&nbsp; They&#39;ll be removed in a later
version.</li>
</ul>
</li>
<li>Support for many more healing enchantments, inscriptions, spellthread,
and so forth.</li>
<li>Craftable items for which you can learn recipes from trainers will now
get Pawn values.</li>
</ul>
<h3>Version 0.6</h3>
<ul>
<li>Fixed a problem introduced in beta 1 where Pawn would display
an error message in the chat window whenever hovering over a ring with
Enchant Ring - Weapon Might.</li>
<li>Added the ability to customize the colors that your scales will use when
printed.&nbsp; For example, you could have your DPS value show up in orange,
and your healing value show up in green.&nbsp; This is an advanced feature
that probably will never get its own UI or slash command.&nbsp; See the
section titled &quot;Changing the color of a scale&quot; for more information.</li>
<li>Importing a scale tag that has the exact same name as a scale you
already have will update the old scale to match the values in the scale tag.&nbsp;
All of the values in the old scale will be deleted.&nbsp; (In previous
versions, Pawn would just fail and warn you that you can&#39;t overwrite an
existing scale.&nbsp; There is no longer a warning.)</li>
<li>Weapon stats have been overhauled!&nbsp; Old scales will work, but now
advanced users have a variety of new options for assigning values to
weapons.</li>
<li>New stats: MeleeMinDamage, MeleeMaxDamage, MeleeSpeed, MeleeDps,
MainHandMinDamage, MainHandMaxDamage, MainHandSpeed, MainHandDps,
OffHandMinDamage, OffHandMaxDamage, OffHandSpeed, OffHandDps,
OneHandMinDamage, OneHandMaxDamage, OneHandSpeed, OneHandDps,
TwoHandMinDamage, TwoHandMaxDamage, TwoHandSpeed, TwoHandDps,
RangedMinDamage, RangedMaxDamage, RangedSpeed, RangedDps.&nbsp; Generally,
you&#39;ll only use a few of these, and not give values to all of them.</li>
<li>New stats: MinDamage, MaxDamage, Speed.&nbsp; If you don&#39;t care about
which slot or weapon type it is, just use MinDamage, MaxDamage, Speed,
and/or Dps.&nbsp; Dps is now calculated to full precision (say, 41.333
instead of 41.3) instead of rounded to one decimal place.</li>
<li>Added support for weapon damage enchantments (Striking and Impact).</li>
<li>Added support for ranged weapon scopes.</li>
<li>Fixed a problem where certain items with suffixes would show unusually low unenchanted
values (their stats would be read as 0). For example, Chimaerascale Legguards of the Bandit
exhibited this problem.</li>
<li>Added support for Black Morass instance-bound items (beacons).</li>
</ul>
<h3>Version 0.5.4</h3>
<ul>
<li>Added support for haste rating and spell haste rating, which were added as passive
item bonuses on Black Temple equipment. (Iron Counterweight is also supported.) These two
stats (HasteRating, SpellHasteRating) are valued at 1 each on the default Pawn scale; existing
Pawn scales won't be affected. Use /pawn resetscales to delete all of your scales and replace them
with the default one.</li>
<li>Added support for armor penetration ("Your attacks ignore X of your opponent's armor").
This stat (ArmorPenetration) is not valued in the default Pawn scale.</li>
<li>Added support for Karazhan, Stratholme, and Tempest Keep instance-bound items.</li>
</ul>
<h3>Version 0.5.3</h3>
<ul>
<li>Added support for the new gold profession recipe links in WoW 2.1.&nbsp;
(Pawn won&#39;t try to read them or put asterisks all over them.)</li>
</ul>
<h3>Version 0.5.2</h3>
<ul>
<li>Added working support for the Savagery weapon enchantment, and untested support
for Potency, Soulfrost, and Sunfire.</li>
<li>Added support for EquipCompare 2.10.&nbsp; (This may break compatibility
with older versions of EquipCompare; please use the latest version.)</li>
</ul>
<h3>Version 0.5.1</h3>
<ul>
<li>Updated for WoW patch 2.1.</li>
<li>Added support for Blizzard&#39;s new Currently Equipped functionality
(shift-hover an item).</li>
<li>LinkWrangler support.</li>
<li>Fixed a bug where stats in certain situations (gems with multiple stats
on one gem, socket bonuses, etc.) wouldn&#39;t get shown in the /pawn debug on
output.&nbsp; This did not affect calculation; it was just a debug display error.</li>
<li>Expanded the amount of information Pawn returns in the debug output.</li>
<li>Added support for Enchant Boots: Vitality.</li>
<li>Slightly updated a few of the default &quot;Pawn value&quot; scale&#39;s numbers.&nbsp;
This will not affect existing scales, even if you haven&#39;t changed any of the
defaults.&nbsp; If you want to get the new scale, you can wipe out your
existing scale(s) with /pawn resetscales.</li>
</ul>
<h3>Version 0.5</h3>
<ul>
<li>Requires VgerCore 0.4. (This is included with the mod. Pawn will warn you if you
are using an older version of VgerCore.)</li>
<li>Pawn can now show unenchanted values for items in addition to the
regular enchanted values, and this is enabled by default.&nbsp; You can turn
it off with /pawn unenchanted off.&nbsp; This feature only works for real
tooltips, and not fake tooltips from an item database mod.</li>
<li>Added an option to control the number of digits of precision Pawn uses
to display item values in tooltips.&nbsp; By default this is 1 (&quot;3.1&quot;), but
you can set it to any number between 0 (&quot;3&quot;) and 4 (&quot;3.1416&quot;) with /pawn
digits #.</li>
<li>Corrected the value of frost resistance in the default Pawn scale to 1
(was 4).</li>
<li>Pawn scale tags now have spaces inside of the parentheses by default.&nbsp;
This is to prevent certain scale tags from turning into emoticons when
posted to certain forums.&nbsp; (For example, if your scale tag ended in &quot;RedSocket=8)&quot;,
the 8) would turn into an emoticon on certain forums.)&nbsp; Old and current
versions of Pawn will accept the scale with or without the extra spaces. </li>
<li>Lots of work was done to prepare for Pawn translations into other languages.&nbsp;
I may have made a mistake in this conversion and introduced cases where (*)
shows up where they didn&#39;t before; hopefully not.</li>
</ul>
<h3>Version 0.4.1</h3>
<ul>
<li>Added support for gun, bow, and crossbow skill ratings.</li>
<li>Added support for MultiTips.</li>
<li>Added support for items that list stats as &quot;Stat +X&quot; instead of &quot;+X
Stat&quot;, namely the epic gems.&nbsp; Gems that only provided primary stats,
such as Seer&#39;s Chrysoprase, already worked, but others such as Rune Covered
Chrysoprase didn&#39;t work until this change.</li>
</ul>
<h3>Version 0.4</h3>
<ul>
<li>Added scale tags!&nbsp; Scale tags are chunks of text that you can use
to share Pawn scales with friends, guildmates, and others on forums, similar
to how you can share talent specs today by passing around a link to the WoW
talent calculator.&nbsp; You can copy a scale tag and then post it on your
guild forums, and then another player can copy that tag and paste it into
their game to automatically add your scale to their copy of Pawn, without
logging out of the game or changing files in Notepad.&nbsp; To export a
scale tag so you can share it with others, use the /pawn export command.&nbsp;
To import someone else&#39;s scale tag and add it to your own scales, use the
/pawn import command.</li>
<li>Added new slash commands: /pawn list, export, import, delete, and
rename.&nbsp; See &quot;Slash commands&quot; in Readme.htm for more details.</li>
<li>Added support for weapon skill ratings (including unarmed and feral
combat).&nbsp; (They have been added to the default Pawn scale, but if you
care about weapon skill ratings you must add them to your custom scales
manually.)</li>
<li>Fixed the /pawn resetscales command so that it would delete all of your
scales before recreating the default one named Pawn value, as was intended.</li>
</ul>
<h3>Version 0.3.1</h3>
<ul>
<li>Hovering over an enchanted Item X immediately after hovering over an
unenchanted Item X will now recalculate the values for the second item
instead of just displaying the ones for the first item.&nbsp; This should
work for all pairs of items that differ only by enchantments and gems.</li>
</ul>
<h3>Version 0.3</h3>
<ul>
<li>To read statistics, Pawn now makes a copy of the tooltip and reads from
that whenever possible, which allows it to read tooltips that have been
mangled by other mods.&nbsp; Examples of mods that do this are Mendeleev and
Rating Buster.&nbsp; (Certain mods that use custom tooltips, such as
ItemSync, don&#39;t support this; Pawn may still conflict with mods that modify
those custom tooltips.)</li>
</ul>
<h3>Version 0.2.2</h3>
<ul>
<li>ItemSync support, including using ItemSync with AtlasLoot.&nbsp; Pawn
will calculate and display values for ItemSync&#39;s tooltips.</li>
<li>EQCompare support.&nbsp; Pawn will calculate and display values for
EQCompare&#39;s tooltips.</li>
<li>Item level display should work just about everywhere now, instead of
just in certain places.&nbsp; (In previous versions, it worked for inventory
items, but not chat item links.&nbsp; Now it works on both.)</li>
<li>A new option has been added to display the item ID for items you come
across, /pawn ids on.</li>
<li>The default is now to hide the asterisks (*) from items that don&#39;t have
any values for any of your scales.&nbsp; So, for example, Hearthstone and
potions won&#39;t display the asterisk.&nbsp; You can change this behavior using
/pawn asterisks [ on | auto | off ].</li>
</ul>
<h3>Version 0.2.1</h3>
<ul>
<li>Fixed a problem in 0.2 where Pawn wouldn&#39;t work if you&#39;d never used
version 0.1 before.</li>
</ul>
<h3>Version 0.2</h3>
<ul>
<li>EquipCompare support.&nbsp; Pawn will calculate and display values for
EquipCompare&#39;s tooltips.</li>
<li>AtlasLoot support.&nbsp; Pawn will calculate and display values for
instance drops when Atlas and AtlasLoot are installed.</li>
<li>Outfitter support.&nbsp; Pawn will no longer conflict with the lines
that Outfitter adds to tooltips of items used in one or more gear sets.</li>
<li>MonkeyQuest support.&nbsp; I haven&#39;t actually observed it happening in
the past, but this change should prevent MonkeyQuest&#39;s item tooltip
annotations from affecting Pawn.</li>
<li>MobInfo-2 support.&nbsp; Pawn will no longer conflict with the drop rate
information that MobInfo-2 adds to items.&nbsp; (This problem manifested
itself both as unnecessary asterisks added to tooltips, and also as an
&quot;attempted to concatenate a nil value&quot; error.)</li>
<li>Added APIs to create and change Pawn scales while you&#39;re still logged
in.&nbsp; These will eventually be used to build a configuration UI.&nbsp;
If you <i>really</i> want to, you can use them from the chat box to change
Pawn scales while logged into the game.</li>
<li>Included a new file "Sample scales.htm" containing (you guessed it) some
sample scales that you can use to get started creating your own. I'll add to this
over time.</li>
</ul>
<h3>Version 0.1</h3>
<ul>
<li>The first released beta version of Pawn.&nbsp; The code is stable and
the remaining bugs are mostly just to-do items.&nbsp; I&#39;ll get around to
them eventually.</li>
<li>Not heavily optimized for performance.</li>
<li>No configuration UI.&nbsp; (Hope you like Notepad!)</li>
</ul>
<h2>The fine print</h2>
<p>© 2006-2010 Green Eclipse.&nbsp; This mod is released under the Creative Commons
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" target="_blank">
Attribution-NonCommercial-NoDerivs 3.0</a> license.&nbsp; In short, this means
that you can use it, copy it, and share it, but you can't sell it or distribute
your own altered versions without permission. By using the mod you agree to the terms of the license. For more information, click the link.</p>
</body></html>
+113
View File
@@ -0,0 +1,113 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>VgerCore</title>
<link rel="stylesheet" type="text/css" href="VgerCore.css" />
</head>
<body>
<h1>VgerCore 1.0.5</h1>
<p>
VgerCore contains functionality that is shared by mods written by Vger of
Azjol-Nerub (US).&nbsp; By default, VgerCore comes with all of the mods that
need it.&nbsp; You don&#39;t need to do anything special to install VgerCore.</p>
<h3>
Mods that need VgerCore</h3>
<ul>
<li>Backdrop</li>
<li>Divisor</li>
<li>Gyro</li>
<li>Hear Kitty</li>
<li>Pawn</li>
</ul>
<h2>Notes</h2>
<p>I welcome your feedback.&nbsp; The best way to contact me is through
<a target="_blank" href="http://my.curse.com/users/VgerAN/">Curse</a>.&nbsp; You
can also contact me through in-game mail: Vger on Azjol-Nerub (US), Horde.&nbsp;
(Just make sure that you keep a character on my server and check your mail, or I
can&#39;t respond!)&nbsp; Also, check out my
<a target="_blank" href="http://www.vgermods.com/">official site</a>, where you
can find links to all of my mods.</p>
<h2>Release history</h2>
<h3>Version 1.0.5</h3>
<ul>
<li>Minor performance enhancements.</li>
</ul>
<h3>Version 1.0.4</h3>
<ul>
<li>Updated ExecuteChatCommand for patch 3.3.5.</li>
</ul>
<h3>Version 1.0.3</h3>
<ul>
<li>Added StringFindReverse.</li>
</ul>
<h3>Version 1.0.2</h3>
<ul>
<li>Added RGBToHex and HexToRGB.</li>
</ul>
<h3>Version 1.0.1</h3>
<ul>
<li>Added the CaseInsensitiveComparer function for use with table.sort.</li>
<li>Added more colors.</li>
</ul>
<h3>Version 1.0</h3>
<ul>
<li>VgerCore is now at version 1.0!&nbsp; Instead of being a standalone mod,
it&#39;s now embedded by default.&nbsp; If you have a VgerCore folder in
your Interface\AddOns folder, you can now delete it.</li>
</ul>
<h3>Version 0.4.1</h3>
<ul>
<li>Added static function support to HookInsecureFunction.</li>
<li>HookInsecureFunction now supports hooking functions with more than 10 parameters.</li>
<li>Added HookInsecureScript, which works like the original (Object, FunctionName, Hook) overload of
HookInsecureFunction, except instead of a function name, it takes a script handler name.</li>
</ul>
<h3>Version 0.4</h3>
<ul>
<li>Added color DarkBlue for Pawn.</li>
<li>Message, BigMessage, Assert, and Fail will now accept non-string
messages (such as booleans and nil).</li>
<li>Added MultilineMessage to print a large message to the console as a
series of individual messages so as to not break scrolling behavior.&nbsp;
This is useful for mod usage information, for example.</li>
</ul>
<h3>Version 0.3.1</h3>
<ul>
<li>ExecuteChatCommand (used when running macros) will now no longer try to
execute protected commands such as /cast.&nbsp; This will prevent WoW from
asking to disable VgerCore simply due to user error.</li>
</ul>
<h3>Version 0.3</h3>
<ul>
<li>Added new function VgerCore.HookInsecureFunction (analogous to
hooksecurefunc in the WoW APIs) for Pawn.</li>
</ul>
<h3>Version 0.2.1</h3>
<ul>
<li>Minor update; fully compatible with version 0.2.</li>
<li>Simplified code to take advantage of new functionality in GetMacroInfo.</li>
<li>Used by Pawn.</li>
</ul>
<h3>Version 0.2</h3>
<ul>
<li>Updated for patch 2.0.</li>
<li>Fixed a typo that might have manifested itself as an error about "PawnMessage."</li>
<li>Removed the optional dependency on CT_RaidAssist.</li>
<li>Used by Hear Kitty.</li>
</ul>
<h3>Version 0.1</h3>
<ul>
<li>First version publicly released.</li>
<li>Used by Gyro.</li>
</ul>
<h2>The fine print</h2>
<p>© 2006-2010 Green Eclipse.&nbsp; This mod is released under the Creative Commons
<a href="http://creativecommons.org/licenses/by-nc-nd/3.0/" target="_blank">
Attribution-NonCommercial-NoDerivs 3.0</a> license.&nbsp; In short, this means
that you can use it, copy it, and share it, but you can't sell it or distribute
your own altered versions without permission. By using the mod you agree to the terms of the license. For more information, click the link.</p>
</body></html>
+83
View File
@@ -0,0 +1,83 @@
.codeblock {
background-color: #eaecef;
padding: .5em;
}
.loot {
background-color: #202020;
border-style: outset;
border-width: 2px;
color: white;
margin-right: auto;
padding: .5em;
width: 25em;
}
.loot .blue {
color: #1068ff;
}
.loot .green {
color: lime;
}
.loot .grey {
color: silver;
}
.loot .itemname {
font-size: 125%;
margin-top: 0;
}
.loot .pawnblue {
color: #8ec3e6;
}
.loot .purple {
color: #6800ff;
}
.loot .white {
color: white;
}
.loot div {
margin-top: .1em;
}
body {
font-family: Segoe UI, Verdana, sans-serif;
font-size: small;
}
code {
font-family: Consolas, Courier New, monospace;
}
h1 {
color: #42669e;
}
h2 {
color: #7ba9d3;
}
h3 {
color: #5e88b8;
}
h4 {
color: #42669e;
font-weight: normal;
margin-bottom: -1em;
}
html {
cursor: default;
}
.warning {
color: red;
}
}
+268
View File
@@ -0,0 +1,268 @@
-- VgerCore by Vger-Azjol-Nerub
-- www.vgermods.com
-- © 2006-2010 Green Eclipse. This mod is released under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 license.
--
-- Version 1.0.5: minor performance enhancements
local VgerCoreThisVersion = 1.05
--
-- VgerCore contains functionality that is shared by Vger's mods.
-- It can be used as a standalone add-on, or embedded within other mods.
--
------------------------------------------------------------
local InitializeOrUpgrade = not (VgerCore and VgerCore.Version and VgerCore.Version >= VgerCoreThisVersion);
-- If the currently loaded version of VgerCore isn't as good as this one, load the new one.
if InitializeOrUpgrade then
VgerCore = {}
VgerCore.Version = VgerCoreThisVersion
-- Common colors
VgerCore.Color = {}
VgerCore.Color.Reset = "|r"
VgerCore.Color.Blue = "|cff8ec3e6"
VgerCore.Color.BlueR = 142 / 255
VgerCore.Color.BlueG = 195 / 255
VgerCore.Color.BlueB = 230 / 255
VgerCore.Color.DarkBlue = "|cff6a92ac"
VgerCore.Color.DarkBlueR = 106 / 255
VgerCore.Color.DarkBlueG = 146 / 255
VgerCore.Color.DarkBlueB = 172 / 255
VgerCore.Color.Green = "|cffb4fe2c"
VgerCore.Color.GreenR = 180 / 255
VgerCore.Color.GreenG = 255 / 255
VgerCore.Color.GreenB = 44 / 255
VgerCore.Color.Orange = "|cfffecf38"
VgerCore.Color.OrangeR = 255 / 255
VgerCore.Color.OrangeG = 207 / 255
VgerCore.Color.OrangeB = 56 / 255
VgerCore.Color.Lemon = "|cfffffdd0"
VgerCore.Color.LemonR = 255 / 255
VgerCore.Color.LemonG = 253 / 255
VgerCore.Color.LemonB = 208 / 255
VgerCore.Color.Salmon = "|cfffe8460"
VgerCore.Color.SalmonR = 255 / 255
VgerCore.Color.SalmonG = 132 / 255
VgerCore.Color.SalmonB = 96 / 255
VgerCore.Color.Beige = "|cffe0dec8"
VgerCore.Color.BeigeR = 224 / 255
VgerCore.Color.BeigeG = 222 / 255
VgerCore.Color.BeigeB = 200 / 255
VgerCore.Color.White = "|cffffffff"
VgerCore.Color.WhiteR = 255 / 255
VgerCore.Color.WhiteG = 255 / 255
VgerCore.Color.WhiteB = 255 / 255
VgerCore.Color.Grey = "|cff909090"
VgerCore.Color.GreyR = 144 / 255
VgerCore.Color.GreyG = 144 / 255
VgerCore.Color.GreyB = 144 / 255
VgerCore.Color.Silver = "|cffc0c0c0"
VgerCore.Color.SilverR = 192 / 255
VgerCore.Color.SilverG = 192 / 255
VgerCore.Color.SilverB = 192 / 255
VgerCore.Color.Black= "|cff000000"
VgerCore.Color.BlackR = 0 / 255
VgerCore.Color.BlackG = 0 / 255
VgerCore.Color.BlackB = 0 / 255
VgerCore.MoneyColor = {}
VgerCore.MoneyColor.Gold = "|cffecda90"
VgerCore.MoneyColor.Silver = "|cffd7d5d8"
VgerCore.MoneyColor.Copper = "|cffe2ad8e"
-- Common sounds
VgerCore.Sound = {}
VgerCore.Sound.Bell = "Sound\\Interface\\RaidWarning.wav"
VgerCore.Sound.Fanfare = "Sound\\Spells\\NetherwindFocusImpact.wav"
-- Displays a standard VgerCore message.
function VgerCore.Message(Text)
if DEFAULT_CHAT_FRAME then
DEFAULT_CHAT_FRAME:AddMessage(VgerCore.Color.Orange .. tostring(Text))
else
message(VgerCore.Color.Orange .. tostring(Text))
end
end
-- Displays a bunch of messages from one string, separated by newlines.
-- Notes:
-- * Colors specified at the beginning of Text will not propagate to subsequent lines of Text.
-- Use the optional Color parameter instead.
-- * Empty lines will be skipped. Add a space to the line if you want it to be printed.
function VgerCore.MultilineMessage(Text, Color)
local Line
local ColorString = Color
if not ColorString then ColorString = "" end
for Line in string.gmatch(Text, "[^\r\n]+") do
VgerCore.Message(ColorString .. Line)
end
end
-- Displays a large VgerCore message.
function VgerCore.BigMessage(Text)
if UIErrorsFrame then
UIErrorsFrame:AddMessage(tostring(Text), VgerCore.Color.GreenR, VgerCore.Color.GreenG, VgerCore.Color.GreenB, 1.0, 4.0)
end
if DEFAULT_CHAT_FRAME then
DEFAULT_CHAT_FRAME:AddMessage(VgerCore.Color.Green .. tostring(Text))
end
end
-- Displays a VgerCore error message if the condition is false.
function VgerCore.Assert(Condition, Message)
-- Possibility: call the assert() function to get a callstack and integrate with mods such as Swatter.
if not Condition then VgerCore.Fail(Message) end
end
-- Displays a VgerCore error message.
function VgerCore.Fail(Message)
VgerCore.Message(VgerCore.Color.Salmon .. "ERROR: " .. VgerCore.Color.White .. tostring(Message))
end
-- Hooks an insecure function. Similar to the base WoW API's hooksecurefunc. The hook function will be run
-- after the original function to be hooked.
-- Valid usage:
-- VgerCore.HookInsecureFunction(Object, FunctionName, Hook)
-- VgerCore.HookInsecureFunction(FunctionName, Hook)
function VgerCore.HookInsecureFunction(arg1, arg2, arg3)
local TypeOfObject = type(arg1)
local OldFunction
if TypeOfObject == "table" then -- Object, FunctionName, Hook
OldFunction = arg1[arg2]
if OldFunction then
arg1[arg2] = VgerCore.CreateHookFunction(OldFunction, arg3)
else
VgerCore.Fail("VgerCore.HookInsecureFunction: could not find member function '" .. arg2 .. "'.")
end
elseif TypeOfObject == "string" then -- FunctionName, Hook
OldFunction = getglobal(arg1)
if OldFunction then
_G = getfenv()
_G[arg1] = VgerCore.CreateHookFunction(OldFunction, arg2)
else
VgerCore.Fail("VgerCore.HookInsecureFunction: could not find function '" .. arg1 .. "'.")
end
else
VgerCore.Fail("VgerCore.HookInsecureFunction argument 1 must be table or string, not " .. TypeOfObject .. ".")
end
end
-- Hooks an insecure script handler. Works just like HookInsecureFunction(Object, FunctionName, Hook), except that
-- instead of a function name, a script name is passed.
function VgerCore.HookInsecureScript(Object, ScriptName, Hook)
local OldFunction = Object:GetScript(ScriptName)
if OldFunction then
Object:SetScript(ScriptName, VgerCore.CreateHookFunction(OldFunction, Hook))
else
Object:SetScript(ScriptName, Hook)
end
end
-- Internal function used by HookInsecureFunction.
function VgerCore.CreateHookFunction(OldFunction, Hook)
return function(...)
local ReturnValue = OldFunction(...)
Hook(...)
return ReturnValue
end
end
-- Executes a chat command just as if it were typed in the chat window.
-- Returns true if successful, or false if not (primarily if the command is a secure function, such as /cast).
function VgerCore.ExecuteChatCommand(Command)
local EditBox = DEFAULT_CHAT_FRAME.editBox
if not EditBox then return false end
-- First, make sure that this command is okay.
local _, _, SlashCommand = strfind(Command, "^(/%w+) ")
if SlashCommand then
if IsSecureCmd(SlashCommand) then
VgerCore.Fail(SlashCommand .. " is a secure command and cannot be run automatically.")
return false
end
end
-- Now, execute the chat command.
local PreviousText = EditBox:GetText()
EditBox:SetText(Command)
ChatEdit_SendText(EditBox)
EditBox:SetText(PreviousText)
return true
end
-- Runs a macro.
-- Returns true if successful, or false if not.
function VgerCore.RunMacro(MacroName)
-- First, get the text of the macro.
local _, _, Script, _ = GetMacroInfo(MacroName)
if not Script then return false end
-- Then, execute each line individually. Ignore comments marked with # or -.
local Line
for Line in string.gmatch(Script, "[^\n]+") do
local FirstChar = strsub(Line, 1, 1)
if FirstChar ~= "#" and FirstChar ~= "-" then
VgerCore.ExecuteChatCommand(Line)
end
end
return true
end
-- Returns true if the user is in a Battleground, or false if not.
function VgerCore.IsInBattleground()
for Battleground = 1, MAX_BATTLEFIELD_QUEUES do
local Status, _, _ = GetBattlefieldStatus(Battleground)
if Status == "active" then return true end
end
return false
end
-- Comparer function for use in table.sort that sorts strings alphabetically, ignoring case.
function VgerCore.CaseInsensitiveComparer(a, b)
return strlower(a) < strlower(b)
end
-- Returns a six-digit hex string for three RGB values 0-1.
function VgerCore.RGBToHex(r, g, b)
r = r <= 1 and r >= 0 and r or 0
g = g <= 1 and g >= 0 and g or 0
b = b <= 1 and b >= 0 and b or 0
return format("%02x%02x%02x", r * 255, g * 255, b * 255)
end
-- Returns RGB values 0-1 for a six-digit hex string, or nil if unsuccessful.
function VgerCore.HexToRGB(hex)
if not hex or strlen(hex) ~= 6 then return end
local r, g, b = strsub(hex, 1, 2), strsub(hex, 3, 4), strsub(hex, 5, 6)
r, g, b = r or 0, g or 0, b or 0
return tonumber(r, 16) / 255, tonumber(g, 16) / 255, tonumber(b, 16) / 255
end
-- Same as strfind, but finds the last occurrence of a substring. The substring to find must be
-- a single character.
function VgerCore.StringFindReverse(str, find)
VgerCore.Assert(strlen(find) == 1, "The substring to find must be a single character.")
local FindByte = strbyte(find)
local StringLength = strlen(str)
local i
for i = StringLength, 1, -1 do
if strbyte(str, i) == FindByte then return i end
end
return nil
end
end -- if InitializeOrUpgrade
+487
View File
@@ -0,0 +1,487 @@
-- Pawn by Vger-Azjol-Nerub
-- www.vgermods.com
-- © 2006-2010 Green Eclipse. This mod is released under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 license.
-- See Readme.htm for more information.
--
-- Wowhead scales
------------------------------------------------------------
local ScaleProviderName = "Wowhead"
function PawnWowheadScaleProvider_AddScales()
------------------------------------------------------------
-- Warrior
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"WarriorArms",
PawnWowheadScale_WarriorArms,
"c79c6e",
{
["Strength"] = 100, ["HitRating"] = 90, ["ExpertiseRating"] = 85, ["CritRating"] = 80, ["Agility"] = 65, ["ArmorPenetration"] = 65, ["HasteRating"] = 50, ["Ap"] = 45, ["Armor"] = 1, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"WarriorFury",
PawnWowheadScale_WarriorFury,
"c79c6e",
{
["ExpertiseRating"] = 100, ["Strength"] = 82, ["CritRating"] = 66, ["Agility"] = 53, ["ArmorPenetration"] = 52, ["HitRating"] = 48, ["HasteRating"] = 36, ["Ap"] = 31, ["Armor"] = 5, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"WarriorTank",
PawnWowheadScale_WarriorTank,
"c79c6e",
{
["Stamina"] = 100, ["DodgeRating"] = 90, ["DefenseRating"] = 86, ["BlockValue"] = 81, ["Agility"] = 67, ["ParryRating"] = 67, ["BlockRating"] = 48, ["Strength"] = 48, ["ExpertiseRating"] = 19, ["HitRating"] = 10, ["ArmorPenetration"] = 10, ["CritRating"] = 7, ["Armor"] = 6, ["HasteRating"] = 1, ["Ap"] = 1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Paladin
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"PaladinHoly",
PawnWowheadScale_PaladinHoly,
"f58cba",
{
["Intellect"] = 100, ["Mp5"] = 88, ["SpellPower"] = 58, ["CritRating"] = 46, ["HasteRating"] = 35, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"PaladinTank",
PawnWowheadScale_PaladinTank,
"f58cba",
{
["Stamina"] = 100, ["Agility"] = 60, ["ExpertiseRating"] = 59, ["DodgeRating"] = 55, ["DefenseRating"] = 45, ["ParryRating"] = 30, ["Strength"] = 16, ["Armor"] = 8, ["BlockRating"] = 7, ["BlockValue"] = 6, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"PaladinRetribution",
PawnWowheadScale_PaladinRetribution,
"f58cba",
{
["MeleeDps"] = 470, ["HitRating"] = 100, ["Strength"] = 80, ["ExpertiseRating"] = 66, ["CritRating"] = 40, ["Ap"] = 34, ["Agility"] = 32, ["HasteRating"] = 30, ["ArmorPenetration"] = 22, ["SpellPower"] = 9, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Hunter
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"HunterBeastMastery",
PawnWowheadScale_HunterBeastMastery,
"abd473",
{
["RangedDps"] = 213, ["HitRating"] = 100, ["Agility"] = 58, ["CritRating"] = 40, ["Intellect"] = 37, ["Ap"] = 30, ["ArmorPenetration"] = 28, ["HasteRating"] = 21, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"HunterMarksman",
PawnWowheadScale_HunterMarksman,
"abd473",
{
["RangedDps"] = 379, ["HitRating"] = 100, ["Agility"] = 74, ["CritRating"] = 57, ["ArmorPenetration"] = 40, ["Intellect"] = 39, ["Ap"] = 32, ["HasteRating"] = 24, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"HunterSurvival",
PawnWowheadScale_HunterSurvival,
"abd473",
{
["RangedDps"] = 181, ["HitRating"] = 100, ["Agility"] = 76, ["CritRating"] = 42, ["Intellect"] = 35, ["HasteRating"] = 31, ["Ap"] = 29, ["ArmorPenetration"] = 26, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Rogue
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"RogueAssassination",
PawnWowheadScale_RogueAssassination,
"fff569",
{
["MeleeDps"] = 170, ["Agility"] = 100, ["ExpertiseRating"] = 87, ["HitRating"] = 83, ["CritRating"] = 81, ["Ap"] = 65, ["ArmorPenetration"] = 65, ["HasteRating"] = 64, ["Strength"] = 55, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"RogueCombat",
PawnWowheadScale_RogueCombat,
"fff569",
{
["MeleeDps"] = 220, ["ArmorPenetration"] = 100, ["Agility"] = 100, ["ExpertiseRating"] = 82, ["HitRating"] = 80, ["CritRating"] = 75, ["HasteRating"] = 73, ["Strength"] = 55, ["Ap"] = 50, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"RogueSubtlety",
PawnWowheadScale_RogueSubtlety,
"fff569",
{
["MeleeDps"] = 228, ["ExpertiseRating"] = 100, ["Agility"] = 100, ["HitRating"] = 80, ["ArmorPenetration"] = 75, ["CritRating"] = 75, ["HasteRating"] = 75, ["Strength"] = 55, ["Ap"] = 50, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Priest
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"PriestDiscipline",
PawnWowheadScale_PriestDiscipline,
"ffffff",
{
["SpellPower"] = 100, ["Mp5"] = 67, ["Intellect"] = 65, ["HasteRating"] = 59, ["CritRating"] = 48, ["Spirit"] = 22, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"PriestHoly",
PawnWowheadScale_PriestHoly,
"ffffff",
{
["Mp5"] = 100, ["Intellect"] = 69, ["SpellPower"] = 60, ["Spirit"] = 52, ["CritRating"] = 38, ["HasteRating"] = 31, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"PriestShadow",
PawnWowheadScale_PriestShadow,
"ffffff",
{
["HitRating"] = 100, ["ShadowSpellDamage"] = 76, ["SpellPower"] = 76, ["CritRating"] = 54, ["HasteRating"] = 50, ["Spirit"] = 16, ["Intellect"] = 16, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- DK
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"DeathKnightBloodDps",
PawnWowheadScale_DeathKnightBloodDps,
"ff4d6b",
{
["MeleeDps"] = 360, ["ArmorPenetration"] = 100, ["Strength"] = 99, ["HitRating"] = 91, ["ExpertiseRating"] = 90, ["CritRating"] = 57, ["HasteRating"] = 55, ["Ap"] = 36, ["Armor"] = 1, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DeathKnightBloodTank",
PawnWowheadScale_DeathKnightBloodTank,
"ff4d6b",
{
["MeleeDps"] = 500, ["Stamina"] = 100, ["DefenseRating"] = 90, ["Agility"] = 69, ["DodgeRating"] = 50, ["ParryRating"] = 43, ["ExpertiseRating"] = 38, ["Strength"] = 31, ["ArmorPenetration"] = 26, ["CritRating"] = 22, ["Armor"] = 18, ["HitRating"] = 16, ["HasteRating"] = 16, ["BonusArmor"] = 11, ["Ap"] = 8, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DeathKnightFrostDps",
PawnWowheadScale_DeathKnightFrostDps,
"ff4d6b",
{
["MeleeDps"] = 337, ["HitRating"] = 100, ["Strength"] = 97, ["ExpertiseRating"] = 81, ["ArmorPenetration"] = 61, ["CritRating"] = 45, ["Ap"] = 35, ["HasteRating"] = 28, ["Armor"] = 1, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DeathKnightFrostTank",
PawnWowheadScale_DeathKnightFrostTank,
"ff4d6b",
{
["MeleeDps"] = 419, ["ParryRating"] = 100, ["HitRating"] = 97, ["Strength"] = 96, ["DefenseRating"] = 85, ["ExpertiseRating"] = 69, ["DodgeRating"] = 61, ["Agility"] = 61, ["Stamina"] = 61, ["CritRating"] = 49, ["Ap"] = 41, ["ArmorPenetration"] = 31, ["Armor"] = 5, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DeathKnightUnholyDps",
PawnWowheadScale_DeathKnightUnholyDps,
"ff4d6b",
{
["MeleeDps"] = 209, ["Strength"] = 100, ["HitRating"] = 66, ["ExpertiseRating"] = 51, ["HasteRating"] = 48, ["CritRating"] = 45, ["Ap"] = 34, ["ArmorPenetration"] = 32, ["Armor"] = 1, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Shaman
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"ShamanElemental",
PawnWowheadScale_ShamanElemental,
"6e95ff",
{
["HitRating"] = 100, ["SpellPower"] = 60, ["HasteRating"] = 56, ["CritRating"] = 40, ["Intellect"] = 11, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"ShamanEnhancement",
PawnWowheadScale_ShamanEnhancement,
"6e95ff",
{
["MeleeDps"] = 135, ["HitRating"] = 100, ["ExpertiseRating"] = 84, ["Agility"] = 55, ["Intellect"] = 55, ["CritRating"] = 55, ["HasteRating"] = 42, ["Strength"] = 35, ["Ap"] = 32, ["SpellPower"] = 29, ["ArmorPenetration"] = 26, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"ShamanRestoration",
PawnWowheadScale_ShamanRestoration,
"6e95ff",
{
["Mp5"] = 100, ["Intellect"] = 85, ["SpellPower"] = 77, ["CritRating"] = 62, ["HasteRating"] = 35, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Mage
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"MageArcane",
PawnWowheadScale_MageArcane,
"69ccf0",
{
["HitRating"] = 100, ["HasteRating"] = 54, ["ArcaneSpellDamage"] = 49, ["SpellPower"] = 49, ["CritRating"] = 37, ["Intellect"] = 34, ["FrostSpellDamage"] = 24, ["FireSpellDamage"] = 24, ["Spirit"] = 14, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"MageFire",
PawnWowheadScale_MageFire,
"69ccf0",
{
["HitRating"] = 100, ["HasteRating"] = 53, ["FireSpellDamage"] = 46, ["SpellPower"] = 46, ["CritRating"] = 43, ["FrostSpellDamage"] = 23, ["ArcaneSpellDamage"] = 23, ["Intellect"] = 13, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"MageFrost",
PawnWowheadScale_MageFrost,
"69ccf0",
{
["HitRating"] = 100, ["HasteRating"] = 42, ["FrostSpellDamage"] = 39, ["SpellPower"] = 39, ["ArcaneSpellDamage"] = 19, ["FireSpellDamage"] = 19, ["CritRating"] = 19, ["Intellect"] = 6, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Warlock
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"WarlockAffliction",
PawnWowheadScale_WarlockAffliction,
"bca5ff",
{
["HitRating"] = 100, ["ShadowSpellDamage"] = 72, ["SpellPower"] = 72, ["HasteRating"] = 61, ["CritRating"] = 38, ["FireSpellDamage"] = 36, ["Spirit"] = 34, ["Intellect"] = 15, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"WarlockDemonology",
PawnWowheadScale_WarlockDemonology,
"bca5ff",
{
["HitRating"] = 100, ["HasteRating"] = 50, ["FireSpellDamage"] = 45, ["ShadowSpellDamage"] = 45, ["SpellPower"] = 45, ["CritRating"] = 31, ["Spirit"] = 29, ["Intellect"] = 13, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"WarlockDestruction",
PawnWowheadScale_WarlockDestruction,
"bca5ff",
{
["HitRating"] = 100, ["FireSpellDamage"] = 47, ["SpellPower"] = 47, ["HasteRating"] = 46, ["Spirit"] = 26, ["ShadowSpellDamage"] = 23, ["CritRating"] = 16, ["Intellect"] = 13, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- Druid
------------------------------------------------------------
PawnAddPluginScale(
ScaleProviderName,
"DruidBalance",
PawnWowheadScale_DruidBalance,
"ff7d0a",
{
["HitRating"] = 100, ["SpellPower"] = 66, ["HasteRating"] = 54, ["CritRating"] = 43, ["Spirit"] = 22, ["Intellect"] = 22, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DruidFeralDps",
PawnWowheadScale_DruidFeralDps,
"ff7d0a",
{
["Agility"] = 100, ["ArmorPenetration"] = 90, ["Strength"] = 80, ["CritRating"] = 55, ["ExpertiseRating"] = 50, ["HitRating"] = 50, ["FeralAp"] = 40, ["Ap"] = 40, ["HasteRating"] = 35, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DruidFeralTank",
PawnWowheadScale_DruidFeralTank,
"ff7d0a",
{
["Agility"] = 100, ["Stamina"] = 75, ["DodgeRating"] = 65, ["DefenseRating"] = 60, ["ExpertiseRating"] = 16, ["Strength"] = 10, ["Armor"] = 10, ["HitRating"] = 8, ["HasteRating"] = 5, ["Ap"] = 4, ["FeralAp"] = 4, ["CritRating"] = 3, ["MetaSocketEffect"] = 3600
},
1
)
PawnAddPluginScale(
ScaleProviderName,
"DruidRestoration",
PawnWowheadScale_DruidRestoration,
"ff7d0a",
{
["SpellPower"] = 100, ["Mp5"] = 73, ["HasteRating"] = 57, ["Intellect"] = 51, ["Spirit"] = 32, ["CritRating"] = 11, ["Stamina"] = .1, ["MetaSocketEffect"] = 3600
},
1
)
------------------------------------------------------------
-- PawnWowheadScaleProviderOptions.LastAdded keeps track of the last time that we tried to automatically enable scales for this character.
if not PawnWowheadScaleProviderOptions then PawnWowheadScaleProviderOptions = { } end
if not PawnWowheadScaleProviderOptions.LastAdded then PawnWowheadScaleProviderOptions.LastAdded = 0 end
local _, Class = UnitClass("player")
if PawnWowheadScaleProviderOptions.LastAdded < 1 then
-- Enable round one of scales based on the player's class.
if Class == "WARRIOR" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarriorFury"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarriorTank"), true)
elseif Class == "PALADIN" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PaladinHoly"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PaladinTank"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PaladinRetribution"), true)
elseif Class == "HUNTER" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "HunterBeastMastery"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "HunterMarksman"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "HunterSurvival"), true)
elseif Class == "ROGUE" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "RogueAssassination"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "RogueCombat"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "RogueSubtlety"), true)
elseif Class == "PRIEST" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PriestDiscipline"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PriestHoly"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "PriestShadow"), true)
elseif Class == "DEATHKNIGHT" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DeathKnightBloodDps"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DeathKnightBloodTank"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DeathKnightFrostDps"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DeathKnightFrostTank"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DeathKnightUnholyDps"), true)
elseif Class == "SHAMAN" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "ShamanElemental"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "ShamanEnhancement"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "ShamanRestoration"), true)
elseif Class == "MAGE" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "MageArcane"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "MageFire"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "MageFrost"), true)
elseif Class == "WARLOCK" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarlockAffliction"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarlockDemonology"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarlockDestruction"), true)
elseif Class == "DRUID" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DruidBalance"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DruidFeralDps"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DruidFeralTank"), true)
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "DruidRestoration"), true)
end
end
if PawnWowheadScaleProviderOptions.LastAdded < 2 then
if Class == "WARRIOR" then
PawnSetScaleVisible(PawnGetProviderScaleName(ScaleProviderName, "WarriorArms"), true)
end
end
-- Don't reenable those scales again after the user has disabled them previously.
PawnWowheadScaleProviderOptions.LastAdded = 2
-- After this function terminates there's no need for it anymore, so cause it to self-destruct to save memory.
PawnWowheadScaleProvider_AddScales = nil
end -- PawnWowheadScaleProvider_AddScales
------------------------------------------------------------
PawnAddPluginScaleProvider(ScaleProviderName, PawnWowheadScale_Provider, PawnWowheadScaleProvider_AddScales)