Commit 62e1dec4 authored by Shagu's avatar Shagu

ShaguPlates: update to the latest pfUI version

parent 95a602e7
......@@ -5,7 +5,7 @@
## Version: 2.0
## SavedVariables: pfNameplates_config
env\compat.lua
env\locale.lua
env\locales_deDE.lua
env\locales_enUS.lua
env\locales_frFR.lua
......
-- pfUI.castbar.target -> pfCastbar
-- pfUI.cache["locale"] -> pfLocale
-- [[ compat
local L = pfUI_locale[GetLocale()] or pfUI_locale["enUS"]
local function round(input, places)
if not places then places = 0 end
if type(input) == "number" and type(places) == "number" then
local pow = 1
for i = 1, places do pow = pow * 10 end
return floor(input * pow + 0.5) / pow
end
end
-- ]]
pfCastbar = CreateFrame("Frame")
pfCastbar = CreateFrame("Frame", "pfTargetCastbar", UIParent)
pfCastbar.SPELL_CAST = string.gsub(string.gsub(SPELLCASTOTHERSTART,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_PERFORM = string.gsub(string.gsub(SPELLPERFORMOTHERSTART,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_GAINS = string.gsub(string.gsub(AURAADDEDOTHERHELPFUL,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_AFFLICTED = string.gsub(string.gsub(AURAADDEDOTHERHARMFUL,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_HIT = string.gsub(string.gsub(string.gsub(SPELLLOGSELFOTHER,"%d%$",""),"%%d","%%d+"),"%%s","(.+)")
pfCastbar.SPELL_CRIT = string.gsub(string.gsub(string.gsub(SPELLLOGCRITSELFOTHER,"%d%$",""),"%%d","%%d+"),"%%s","(.+)")
pfCastbar.OTHER_SPELL_HIT = string.gsub(string.gsub(string.gsub(SPELLLOGOTHEROTHER,"%d%$",""), "%%s", "(.+)"), "%%d", "%%d+")
pfCastbar.OTHER_SPELL_CRIT = string.gsub(string.gsub(string.gsub(SPELLLOGOTHEROTHER,"%d%$",""), "%%s", "(.+)"), "%%d", "%%d+")
pfCastbar.SPELL_CAST = string.gsub(string.gsub(SPELLCASTOTHERSTART,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_PERFORM = string.gsub(string.gsub(SPELLPERFORMOTHERSTART,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_GAINS = string.gsub(string.gsub(AURAADDEDOTHERHELPFUL,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_AFFLICTED = string.gsub(string.gsub(AURAADDEDOTHERHARMFUL,"%d%$",""), "%%s", "(.+)")
pfCastbar.SPELL_HIT = string.gsub(string.gsub(string.gsub(SPELLLOGSELFOTHER,"%d%$",""),"%%d","%%d+"),"%%s","(.+)")
pfCastbar.SPELL_CRIT = string.gsub(string.gsub(string.gsub(SPELLLOGCRITSELFOTHER,"%d%$",""),"%%d","%%d+"),"%%s","(.+)")
pfCastbar.OTHER_SPELL_HIT = string.gsub(string.gsub(string.gsub(SPELLLOGOTHEROTHER,"%d%$",""), "%%s", "(.+)"), "%%d", "%%d+")
pfCastbar.OTHER_SPELL_CRIT = string.gsub(string.gsub(string.gsub(SPELLLOGOTHEROTHER,"%d%$",""), "%%s", "(.+)"), "%%d", "%%d+")
pfCastbar.SPELL_INTERRUPT = string.gsub(string.gsub(SPELLINTERRUPTSELFOTHER, "%d%$",""),"%%s","(.+)")
pfCastbar.OTHER_SPELL_INTERRUPT = string.gsub(string.gsub(SPELLINTERRUPTOTHEROTHER,"%d%$",""),"%%s", "(.+)")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_SELF_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PARTY_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PARTY_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE")
pfCastbar:RegisterEvent("PLAYER_TARGET_CHANGED")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_SELF_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_HOSTILEPLAYER_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_FRIENDLYPLAYER_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PARTY_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PARTY_BUFF")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_CREATURE_BUFFS")
pfCastbar:RegisterEvent("CHAT_MSG_SPELL_CREATURE_VS_CREATURE_DAMAGE")
pfCastbar:RegisterEvent("PLAYER_TARGET_CHANGED")
pfCastbar.casterDB = {}
pfCastbar.casterDB = {}
pfCastbar:SetScript("OnEvent", function()
if arg1 then
-- (.+) begins to cast (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_CAST) do
pfCastbar:Action(mob, spell)
return
end
-- (.+) begins to perform (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_PERFORM) do
pfCastbar:Action(mob, spell)
return
end
pfCastbar:SetScript("OnEvent", function()
if event == "PLAYER_TARGET_CHANGED" then
if UnitExists("target") and pfCastbar.casterDB[UnitName("target")] then
local starttime = pfCastbar.casterDB[UnitName("target")].starttime or 0
local casttime = pfCastbar.casterDB[UnitName("target")].casttime or 0
if starttime + casttime < GetTime() then
pfCastbar.casterDB[UnitName("target")] = nil
end
end
elseif arg1 then
-- (.+) begins to cast (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_CAST) do
pfCastbar:Action(mob, spell)
return
end
-- (.+) begins to perform (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_PERFORM) do
pfCastbar:Action(mob, spell)
return
end
-- (.+) gains (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_GAINS) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+) gains (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_GAINS) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+) is afflicted by (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_AFFLICTED) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+) is afflicted by (.+).
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_AFFLICTED) do
pfCastbar:StopAction(mob, spell)
return
end
-- Your (.+) hits (.+) for %d+.
for spell, mob in string.gfind(arg1, pfCastbar.SPELL_HIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- Your (.+) hits (.+) for %d+.
for spell, mob in string.gfind(arg1, pfCastbar.SPELL_HIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- Your (.+) crits (.+) for %d+.
for spell, mob in string.gfind(arg1, pfCastbar.SPELL_CRIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- Your (.+) crits (.+) for %d+.
for spell, mob in string.gfind(arg1, pfCastbar.SPELL_CRIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+)'s (.+) %a hits (.+) for %d+.
for _, spell, mob in string.gfind(arg1, pfCastbar.OTHER_SPELL_HIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+)'s (.+) %a hits (.+) for %d+.
for _, spell, mob in string.gfind(arg1, pfCastbar.OTHER_SPELL_HIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- (.+)'s (.+) %a crits (.+) for %d+.
for _, spell, mob in string.gfind(arg1, pfCastbar.OTHER_SPELL_CRIT) do
pfCastbar:StopAction(mob, spell)
return
end
-- You interrupt (.+)'s (.+).";
for mob, spell in string.gfind(arg1, pfCastbar.SPELL_INTERRUPT) do
pfCastbar:StopAction(mob, "INTERRUPT")
return
end
-- (.+)'s (.+) %a crits (.+) for %d+.
for _, spell, mob in string.gfind(arg1, pfCastbar.OTHER_SPELL_CRIT) do
pfCastbar:StopAction(mob, spell)
return
-- (.+) interrupts (.+)'s (.+).
for _, mob, spell in string.gfind(arg1, pfCastbar.OTHER_SPELL_INTERRUPT) do
pfCastbar:StopAction(mob, "INTERRUPT")
return
end
end
end
end)
end)
function pfCastbar:Action(mob, spell)
if pfLocaleSpells[pfLocale][spell] ~= nil then
local casttime = pfLocaleSpells[pfLocale][spell].t / 1000
local icon = pfLocaleSpells[pfLocale][spell].icon
pfCastbar.casterDB[mob] = {cast = spell, starttime = GetTime(), casttime = casttime, icon = icon}
function pfCastbar:Action(mob, spell)
if L["spells"][spell] ~= nil then
local casttime = L["spells"][spell].t / 1000
local icon = L["spells"][spell].icon
pfCastbar.casterDB[mob] = {cast = spell, starttime = GetTime(), casttime = casttime, icon = icon}
end
end
end
function pfCastbar:StopAction(mob, spell)
if pfCastbar.casterDB[mob] and pfLocaleSpellInterrupts[pfLocale][spell] ~= nil then
pfCastbar.casterDB[mob] = nil
function pfCastbar:StopAction(mob, spell)
if pfCastbar.casterDB[mob] and ( L["interrupts"][spell] ~= nil or spell == "INTERRUPT" ) then
pfCastbar.casterDB[mob] = nil
end
end
end
......@@ -9,17 +9,23 @@ local checkbox = {
["showdebuffs"] = "Show Debuffs on Target Nameplate",
["showcastbar"] = "Show Castbar",
["spellname"] = "Show Spellname On Castbar",
-- ["players"] = "Only Show Player Nameplates",
["players"] = "Only Show Player Nameplates",
["showhp"] = "Display HP",
["rightclick"] = "Enable Mouselook on Right-Click",
["enemyclassc"] = "Enable Enemy Class Colors",
["friendclassc"] = "Enable Friend Class Colors",
["overlap"] = "Nameplate Overlap",
["critters"] = "Hide Critters",
}
local text = {
["clickthreshold"] = "Right-Click Threshold",
["vpos"] = "Vertical Offset",
["raidiconsize"] = "Raid Icon Size",
["width"] = "Healthbar Width",
["heighthealth"] = "Healthbar Height",
["heightcast"] = "Castbar Height",
["fontsize"] = "Font Size",
}
-- config
......@@ -31,16 +37,22 @@ function pfConfigCreate:ResetConfig()
pfNameplates_config["blueshaman"] = "1"
pfNameplates_config["clickthrough"] = "0"
pfNameplates_config["raidiconsize"] = "16"
pfNameplates_config["showdebuffs"] = "0"
pfNameplates_config["showdebuffs"] = "1"
pfNameplates_config["showcastbar"] = "1"
pfNameplates_config["spellname"] = "1"
-- pfNameplates_config["players"] = "0"
pfNameplates_config["players"] = "0"
pfNameplates_config["showhp"] = "0"
pfNameplates_config["vpos"] = "0"
pfNameplates_config["vpos"] = "-10"
pfNameplates_config["rightclick"] = "1"
pfNameplates_config["clickthreshold"] = ".5"
pfNameplates_config["enemyclassc"] = "1"
pfNameplates_config["friendclassc"] = "1"
pfNameplates_config["width"] = "120"
pfNameplates_config["heighthealth"] = "8"
pfNameplates_config["heightcast"] = "8"
pfNameplates_config["fontsize"] = "12"
pfNameplates_config["overlap"] = "0"
pfNameplates_config["critters"] = "0"
end
pfConfigCreate:SetScript("OnEvent", function()
......@@ -61,7 +73,7 @@ function ShaguPlatesConfig:Initialize()
ShaguPlatesConfig:SetBackdrop(backdrop)
ShaguPlatesConfig:SetBackdropColor(0,0,0,1)
ShaguPlatesConfig:SetWidth(400)
ShaguPlatesConfig:SetHeight(500)
ShaguPlatesConfig:SetHeight(640)
ShaguPlatesConfig:SetPoint("CENTER", 0, 0)
ShaguPlatesConfig:SetMovable(true)
ShaguPlatesConfig:EnableMouse(true)
......@@ -73,21 +85,21 @@ function ShaguPlatesConfig:Initialize()
ShaguPlatesConfig:StopMovingOrSizing()
end)
ShaguPlatesConfig.vpos = 60
ShaguPlatesConfig.vpos = 30
ShaguPlatesConfig.title = CreateFrame("Frame", nil, ShaguPlatesConfig)
ShaguPlatesConfig.title:SetPoint("TOP", 0, -2);
ShaguPlatesConfig.title:SetWidth(396);
ShaguPlatesConfig.title:SetHeight(40);
ShaguPlatesConfig.title:SetHeight(25);
ShaguPlatesConfig.title.tex = ShaguPlatesConfig.title:CreateTexture("LOW");
ShaguPlatesConfig.title.tex:SetAllPoints();
ShaguPlatesConfig.title.tex:SetTexture(0,0,0,.5);
ShaguPlatesConfig.caption = ShaguPlatesConfig.caption or ShaguPlatesConfig.title:CreateFontString("Status", "LOW", "GameFontWhite")
ShaguPlatesConfig.caption:SetPoint("TOP", 0, -10)
ShaguPlatesConfig.caption:SetPoint("TOP", 0, -5)
ShaguPlatesConfig.caption:SetJustifyH("CENTER")
ShaguPlatesConfig.caption:SetText("ShaguPlates")
ShaguPlatesConfig.caption:SetFont("Interface\\AddOns\\ShaguPlates\\fonts\\arial.ttf", 24)
ShaguPlatesConfig.caption:SetFont("Interface\\AddOns\\ShaguPlates\\fonts\\arial.ttf", 14)
ShaguPlatesConfig.caption:SetTextColor(.2,1,.8,1)
for config, description in pairs(checkbox) do
......@@ -100,14 +112,14 @@ function ShaguPlatesConfig:Initialize()
ShaguPlatesConfig.reload = CreateFrame("Button", nil, ShaguPlatesConfig, "UIPanelButtonTemplate")
ShaguPlatesConfig.reload:SetWidth(150)
ShaguPlatesConfig.reload:SetHeight(30)
ShaguPlatesConfig.reload:SetHeight(20)
ShaguPlatesConfig.reload:SetNormalTexture(nil)
ShaguPlatesConfig.reload:SetHighlightTexture(nil)
ShaguPlatesConfig.reload:SetPushedTexture(nil)
ShaguPlatesConfig.reload:SetDisabledTexture(nil)
ShaguPlatesConfig.reload:SetBackdrop(backdrop)
ShaguPlatesConfig.reload:SetBackdropColor(0,0,0,1)
ShaguPlatesConfig.reload:SetPoint("BOTTOMRIGHT", -20, 20)
ShaguPlatesConfig.reload:SetPoint("BOTTOMRIGHT", -10, 10)
ShaguPlatesConfig.reload:SetText("Save")
ShaguPlatesConfig.reload:SetScript("OnClick", function()
ReloadUI()
......@@ -115,14 +127,14 @@ function ShaguPlatesConfig:Initialize()
ShaguPlatesConfig.reset = CreateFrame("Button", nil, ShaguPlatesConfig, "UIPanelButtonTemplate")
ShaguPlatesConfig.reset:SetWidth(150)
ShaguPlatesConfig.reset:SetHeight(30)
ShaguPlatesConfig.reset:SetHeight(20)
ShaguPlatesConfig.reset:SetNormalTexture(nil)
ShaguPlatesConfig.reset:SetHighlightTexture(nil)
ShaguPlatesConfig.reset:SetPushedTexture(nil)
ShaguPlatesConfig.reset:SetDisabledTexture(nil)
ShaguPlatesConfig.reset:SetBackdrop(backdrop)
ShaguPlatesConfig.reset:SetBackdropColor(0,0,0,1)
ShaguPlatesConfig.reset:SetPoint("BOTTOMLEFT", 20, 20)
ShaguPlatesConfig.reset:SetPoint("BOTTOMLEFT", 10, 10)
ShaguPlatesConfig.reset:SetText("Reset")
ShaguPlatesConfig.reset:SetScript("OnClick", function()
pfNameplates_config = nil
......
pfLocaleSpells = {}
pfLocaleSpellEvents = {}
pfLocaleSpellInterrupts = {}
pfLocale = GetLocale()
if pfLocale ~= "enUS" and
pfLocale ~= "frFR" and
pfLocale ~= "deDE" and
pfLocale ~= "zhCN" and
pfLocale ~= "ruRU" then
pfLocale = "enUS"
end
function round(input, places)
if not places then places = 0 end
if type(input) == "number" and type(places) == "number" then
local pow = 1
for i = 1, places do pow = pow * 10 end
return floor(input * pow + 0.5) / pow
end
end
pfUI_locale = {}
pfLocaleSpellInterrupts["deDE"] = {
["Schildhieb"] = true;
["Zuschlagen"] = true;
["Tritt"] = true;
["Erdschock"] = true;
pfUI_locale["deDE"] = {}
pfUI_locale["deDE"]["interrupts"] = {
["Schildhieb"] = true,
["Zuschlagen"] = true,
["Tritt"] = true,
["Erdschock"] = true,
["Kriegsdonner"] = true,
["Erschütternder Schlag"] = true,
["Sturmangriffsbetäubung"] = true,
["Betäubung abfangen"] = true,
["Hammer der Gerechtigkeit"] = true,
["Fieser Trick"] = true,
["Solarplexus"] = true,
["Nierenhieb"] = true,
["Stille"] = true,
["Gegenzauber"] = true,
["Gegenzauber - zum Schweigen gebracht"] = true,
["Hieb"] = true,
["Furcht"] = true,
["Schreckensgeheul"] = true,
["Psychischer Schrei"] = true,
["Drohruf"] = true,
["Sternenfeuerbetäubung"] = true,
["Rachebetäubung"] = true,
["Verbesserter erschütternder Schuss"] = true,
["Einschlag"] = true,
["Feuerschwall"] = true,
["Blackout"] = true,
["Betäuben"] = true,
["Streitkolbenbetäubung"] = true,
["Erderschütterer"] = true,
["Buße"] = true,
["Streuschuss"] = true,
["Blenden"] = true,
["Winterschlaf"] = true,
["Stich des Flügeldrachen"] = true,
["Raue Kupferbombe"] = true,
["Große Kupferbombe"] = true,
["Kleine Bronzebombe"] = true,
["Große Bronzebombe"] = true,
["Große Eisenbombe"] = true,
["Mithrilschrapnellbombe"] = true,
["Hochexplosive Bombe"] = true,
["Dunkeleisenbombe"] = true,
["Eisengranate"] = true,
["M73 Schrapnellgranate"] = true,
["Thoriumgranate"] = true,
["Goblin-Mörser"] = true,
}
pfUI_locale["deDE"]["critters"] = {
'Besudelte Kakerlake',
'Besudelte Ratte',
'Brauner Präriehund',
'Cleo',
'Dschungelkröte',
'Effsee',
'Eichhörnchen',
'Eingesperrte Kröte',
'Eingesperrter Hase',
'Eingesperrtes Eichhörnchen',
'Eingesperrtes Schaf',
'Feuerkäfer',
'Fischschwarm',
'Flauschie',
'Gallkröte',
'Gazelle',
'Geheilte Gazelle',
'Geheiltes Reh',
'Graumähne',
'Hase',
'Huhn',
'Hund',
'Infiziertes Eichhörnchen',
'Infiziertes Reh',
'Irrwisch',
'Irrwisch der Shen\'dralar',
'Käfer',
'Kaninchen',
'Katze',
'Kernratte',
'Kleiner Frosch',
'Krakles Thermometer',
'Kränkliche Gazelle',
'Kränkliches Reh',
'Kröte',
'Kuh',
'Lady',
'Larve',
'Lavakrebs',
'Made',
'Maus',
'Mr. Bigglesworth',
'Natter',
'Nibbles',
'Noarm',
'Otter',
'Papagei',
'Pestlandtermite',
'Pferd',
'Piratenschatz Auslöser Meute',
'Präriehund',
'Ratte',
'Reh',
'Rehkitz',
'Reißzahn',
'Reitwidder',
'Salome',
'Schabe',
'Schaf',
'Schleicherpfote',
'Schwarze Ratte',
'Schwein',
'Skorpid',
'Spike',
'Spinne',
'Stimme von Elune',
'Titanische Kröte',
'Transporterfehlfunktion',
'Turmfledermaus',
'Umzauberte Untergrundratte',
'Untergrundratte',
'Verseuchte Made',
'Verseuchte Ratte',
'Verseuchtes Insekt',
'Verwandelte Kuh',
'Verwandelte Ratte',
'Verwandelte Schildkröte',
'Verwandeltes Huhn',
'Verwandeltes Schaf',
'Verwandeltes Schwein',
'Wasserschlange',
'Waypoint',
'Widder',
}
pfLocaleSpells["deDE"] = {
pfUI_locale["deDE"]["spells"] = {
['Eisenherz nimmt wieder Huhngestalt an'] = {t=1000, icon="Ability_Racial_BearForm" };
['Monstrositätenspucke'] = {t=2500, icon="Spell_Nature_CorrosiveBreath" };
['Säure von Hakkar'] = {t=1000, icon="Spell_Nature_Acid_01" };
......
pfLocaleSpellInterrupts["enUS"] = {
["Shield Bash"] = true;
["Pummel"] = true;
["Kick"] = true;
["Earth Shock"] = true;
pfUI_locale["enUS"] = {}
pfUI_locale["enUS"]["interrupts"] = {
["Shield Bash"] = true,
["Pummel"] = true,
["Kick"] = true,
["Earth Shock"] = true,
["War Stomp"] = true,
["Concussion Blow"] = true,
["Charge Stun"] = true,
["Intercept Stun"] = true,
["Hammer of Justice"] = true,
["Cheap Shot"] = true,
["Gouge"] = true,
["Kidney Shot"] = true,
["Silence"] = true,
["Counterspell"] = true,
["Counterspell - Silenced"] = true,
["Bash"] = true,
["Fear"] = true,
["Howl of Terror"] = true,
["Psychic Scream"] = true,
["Intimidating Shout"] = true,
["Starfire Stun"] = true,
["Revenge Stun"] = true,
["Improved Concussive Shot"] = true,
["Impact"] = true,
["Pyroclasm"] = true,
["Blackout"] = true,
["Stun"] = true,
["Mace Stun Effect"] = true,
["Earthshaker"] = true,
["Repentance"] = true,
["Scatter Shot"] = true,
["Blind"] = true,
["Hibernate"] = true,
["Wyvern Sting"] = true,
["Rough Copper Bomb"] = true,
["Large Copper Bomb"] = true,
["Small Bronze Bomb"] = true,
["Big Bronze Bomb"] = true,
["Big Iron Bomb"] = true,
["Mithril Frag Bomb"] = true,
["Hi-Explosive Bomb"] = true,
["Dark Iron Bomb"] = true,
["Iron Grenade"] = true,
["M73 Frag Grenade"] = true,
["Thorium Grenade"] = true,
["Goblin Mortar"] = true,
}
pfUI_locale["enUS"]["critters"] = {
'Adder',
'Beetle',
'Belfry Bat',
'Biletoad',
'Black Rat',
'Brown Prairie Dog',
'Caged Rabbit',
'Caged Sheep',
'Caged Squirrel',
'Caged Toad',
'Cat',
'Chicken',
'Cleo',
'Core Rat',
'Cow',
'Cured Deer',
'Cured Gazelle',
'Deeprun Rat',
'Deer',
'Dog',
'Effsee',
'Enthralled Deeprun Rat',
'Fang',
'Fawn',
'Fire Beetle',
'Fluffy',
'Frog',
'Gazelle',
'Hare',
'Horse',
'Huge Toad',
'Infected Deer',
'Infected Squirrel',
'Jungle Toad',
'Krakle\'s Thermometer',
'Lady',
'Larva',
'Lava Crab',
'Maggot',
'Moccasin',
'Mouse',
'Mr. Bigglesworth',
'Nibbles',
'Noarm',
'Old Blanchy',
'Parrot',
'Pig',
'Pirate treasure trigger mob',
'Plagued Insect',
'Plagued Maggot',
'Plagued Rat',
'Plagueland Termite',
'Polymorphed Chicken',
'Polymorphed Rat',
'Prairie Dog',
'Rabbit',
'Ram',
'Rat',
'Riding Ram',
'Roach',
'Salome',
'School of Fish',
'Scorpion',
'Sheep',
'Shen\'dralar Wisp',
'Sickly Deer',
'Sickly Gazelle',
'Snake',
'Spider',
'Spike',
'Squirrel',
'Swine',
'Tainted Cockroach',
'Tainted Rat',
'Toad',
'Transporter Malfunction',
'Turtle',
'Underfoot',
'Voice of Elune',
'Waypoint (Only GM can see it)',
'Wisp',
}
pfLocaleSpells["enUS"] = {
pfUI_locale["enUS"]["spells"] = {
['"Plucky" Resumes Chicken Form'] = {t=1000, icon="Ability_Racial_BearForm" };
['Abomination Spit'] = {t=2500, icon="Spell_Nature_CorrosiveBreath" };
['Acid of Hakkar'] = {t=1000, icon="Spell_Nature_Acid_01" };
......
pfLocaleSpellInterrupts["frFR"] = {
["Coup de bouclier"] = true;
["Volée de coups"] = true;
["Coup de pied"] = true;
["Horion de terre"] = true;
pfUI_locale["frFR"] = {}
pfUI_locale["frFR"]["interrupts"] = {
["Coup de bouclier"] = true,
["Volée de coups"] = true,
["Coup de pied"] = true,
["Horion de terre"] = true,
["Choc martial"] = true,
["Coup traumatisant"] = true,
["Charge étourdissante"] = true,
["Interception étourdissante"] = true,
["Marteau de la justice"] = true,
["Coup bas"] = true,
["Suriner"] = true,
["Aiguillon perfide"] = true,
["Silence"] = true,
["Contresort"] = true,
["Contresort - Silencieux"] = true,
["Sonner"] = true,
["Peur"] = true,
["Hurlement de terreur"] = true,
["Cri psychique"] = true,
["Cri d’intimidation"] = true,
["Feu stellaire étourdissant"] = true,
["Etourdissement vengeur"] = true,
["Trait de choc amélioré"] = true,
["Impact"] = true,
["Pyroclasme"] = true,
["Aveuglement"] = true,
["Etourdir"] = true,
["Effet étourdissant de la masse"] = true,
["Trembleterre"] = true,
["Repentir"] = true,
["Flèche de dispersion"] = true,
["Cécité"] = true,
["Hibernation"] = true,
["Piqûre de wyverne"] = true,
["Bombe grossière en cuivre"] = true,
["Grande bombe en cuivre"] = true,
["Petite bombe en bronze"] = true,
["Grande bombe en bronze"] = true,
["Grande bombe en fer"] = true,
["Bombe explosive en mithril"] = true,
["Bombe explosive"] = true,
["Bombe en sombrefer"] = true,
["Grenade en fer"] = true,
["Grenade à fragmentation M73"] = true,
["Grenade en thorium"] = true,
["Mortier des gobelins"] = true,
}
pfUI_locale["frFR"]["critters"] = {
'Araignée',
'Aspic',
'Asticot pestiféré',
'Banc de poisson',
'Bélier',