repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
qyh214/wow_addons_private_use | AddOns/DBM-SiegeOfOrgrimmarV2/ParagonsOfTheKlaxxi.lua | 1 | 35063 | local mod = DBM:NewMod(853, "DBM-SiegeOfOrgrimmarV2", nil, 369)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116041948")
mod:SetCreatureID(71152, 71153, 71154, 71155, 71156, 71157, 71158, 71160, 71161)
mod:SetEncounterID(1593)
mod:DisableESCombatDetection()
mod:SetUsedIcons(3, 1)
mod:SetBossHPInfoToHighe... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Immersion/Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 6 | 6967 | --[[-----------------------------------------------------------------------------
EditBox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "EditBox", 28
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c78330024.lua | 2 | 1293 | --Cannibalize
function c78330024.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c78330024.condition)
e1:SetTarget(c78330024.target)
e1:SetOperation(c78330024.activate)
c... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99960060.lua | 1 | 6647 | --BRS - Chariot
function c99960060.initial_effect(c)
c:SetUniqueOnField(1,0,99960060)
--Xyz Summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--Attach
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-TrialofValor/localization.kr.lua | 1 | 1025 | if GetLocale() ~= "koKR" then return end
local L
---------------------------
-- Guarm --
---------------------------
L= DBM:GetModLocalization(1830)
L:SetOptionLocalization({
YellActualRaidIcon = "거품에 걸렸을 때 나오는 DBM 대화 알림을 일치하는 디버프 색상 대신 플레이어에게 설정된 아이콘 표시로 변경 (공대장 권한 필요)",
FilterSameColor = "거품이 맞는 브레스와 같은 색이면 아이... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MeetingStone/Cache/BaseActivity.lua | 1 | 4738 |
BuildEnv(...)
BaseActivity = Addon:NewClass('BaseActivity', Object)
BaseActivity:InitAttr{
'ActivityID',
'GroupID',
'CustomID',
'VoiceChat',
'ItemLevel',
'HonorLevel',
'Name',
'Summary',
'Comment',
'MinLevel',
'MaxLevel',
'PvPRating',
'Source',
'Mode',
'L... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus/Modules/CharacterFrame/ItemAlertOverlay.lua | 1 | 5833 | local _, addon = ...
local GetSwipePosition = addon.SwipeTrailFunctions.Polygon; --defined in Widgets/ClockFrame.lua --arg: radius, progress, numSides
local tremove = table.remove;
local tinsert = table.insert;
local GetSpecialization = GetSpecialization;
local GetSpecializationInfo = GetSpecializationInfo;
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-WorldEvents/localization.br.lua | 1 | 4181 | --Last update by GlitterStorm @ Azralon on Feb,21th,2015
if GetLocale() ~= "ptBR" then return end
local L
------------
-- Omen --
------------
L = DBM:GetModLocalization("Omen")
L:SetGeneralLocalization({
name = "Omen"
})
-----------------------
-- Apothecary Trio --
-----------------------
L = DBM:GetModLoca... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-MoP/localization.ru.lua | 1 | 7984 | if GetLocale() ~= "ruRU" then return end
local L
-----------------------
-- <<<Temple of the Jade Serpent>>> --
-----------------------
-----------------------
-- Wise Mari --
-----------------------
L= DBM:GetModLocalization(672)
-----------------------
-- Lorewalker Stonestep --
-----------------------
L= DBM:GetM... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99960220.lua | 1 | 2888 | --BRS - Blue Of Tears
function c99960220.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99960220,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,99960220)
e1:SetTarget(c99960220.tdtg... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WotLK/HallsofReflection/Marwyn.lua | 1 | 1211 | local mod = DBM:NewMod(602, "DBM-Party-WotLK", 16, 276)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20210614202848")
mod:SetCreatureID(38113)
mod:SetEncounterID(1993)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 72362 72363",
"SPELL_CAST_SUCCESS 72362"
)
local warnWellCorr... | gpl-3.0 |
woshihuo12/LuaDesignPattern | template.lua | 1 | 1790 | --模板方法模式是通过把不变行为搬移到基类,去除之类中的重复代码来体现它的优势。
-- 下面以考试试卷为例,试题都是一样的,但是答案可能不一样
TestPaper = {}
function TestPaper:new(o)
o = o or {}
setmetatable(o,self)
self.__index = self
return o
end
function TestPaper:TestQuestion1()
print("孙悟空的师弟是谁?")
print("A 猪七戒 B 猪八戒 C 猪九戒")
print("答案是:"..self:Answer1())
end
function TestPa... | mit |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99990080.lua | 2 | 1349 | --SAO - Yui
function c99990080.initial_effect(c)
--Special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99990080,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c99990080.spcon)
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/TinyInspect/InspectUnitSpecialization.lua | 1 | 1441 |
-------------------------------------
-- 顯示天賦信息
-- @Author: M
-- @DepandsOn: InspectUnit.lua
-------------------------------------
hooksecurefunc("ShowInspectItemListFrame", function(unit, parent, itemLevel, maxLevel)
local frame = parent.inspectFrame
if (not frame) then return end
if (not frame.specicon)... | gpl-3.0 |
Markismus/koreader | plugins/newsdownloader.koplugin/feed_config.lua | 4 | 1941 | return {--do NOT change this line
--HELP:
-- use syntax: {"http://your-url.com", limit=max_number_of_items_to_be_created, download_full_article=true/false},
-- remember to put coma at the end of each line!
-- you can also edit this file in external text editor. Config file is located under:
-- <your_download_di... | agpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c90000020.lua | 2 | 1904 | --Night Clock Copycat
function c90000020.initial_effect(c)
--Pendulum Summon
aux.EnablePendulumAttribute(c)
--Pierce
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_PIERCE)
e1:SetRange(LOCATION_PZONE)
e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetTarget(aux.TargetBoolFunction(Card.I... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WindDungeonHelper/Libraries/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 4 | 8170 | --[[-----------------------------------------------------------------------------
Slider Widget
Graphical Slider, like, for Range values.
-------------------------------------------------------------------------------]]
local Type, Version = "Slider", 23
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | c100000866.lua | 1 | 2829 | --eye
function c100000866.initial_effect(c)
--Activate(summon)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(100000866,1))
e1:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON)
e1:SetCondition(c100000866.condition1)
e1:SetCos... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus/Modules/DevTool/DataExport.lua | 1 | 4305 | local Clipboard = CreateFrame("Frame");
Clipboard:Hide();
Clipboard:SetSize(400, 300);
Clipboard:SetPoint("CENTER", UIParent, "CENTER", 0, 0);
Clipboard.Background = Clipboard:CreateTexture(nil, "BACKGROUND");
Clipboard.Background:SetAllPoints(true);
Clipboard.Background:SetColorTexture(0.12, 0.12, 0.12, 0.8);
Clipboa... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c59821140.lua | 2 | 8794 | --Samuel, The Darkness of Aetheria
function c59821140.initial_effect(c)
c:EnableReviveLimit()
--pendulum summon
aux.EnablePendulumAttribute(c)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFEC... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAuras/Libs/AceGUI-3.0-SharedMediaWidgets/BackgroundWidget.lua | 8 | 6581 | -- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0
-- Widget created by Yssaril
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do
local widgetType = "LSM30_Background"
local widgetVersion = 13
local ... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c962002020.lua | 2 | 2466 | --Toon Number 39: Utopia
--Created By ALANMAC95, Scripted By TheOnePharaoh
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scard,s_id=getID()
fu... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-Shadowlands/Tazavesh/Hylbrande.lua | 1 | 7935 | local mod = DBM:NewMod(2448, "DBM-Party-Shadowlands", 9, 1194)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20221015205747")
mod:SetCreatureID(175663)
mod:SetEncounterID(2426)
mod:SetUsedIcons(1, 2)
mod:SetHotfixNoticeRev(20220404000000)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Core/Modules/Skins/Ace3.lua | 1 | 17472 | local E = unpack(ElvUI)
local S = E:GetModule('Skins')
local next = next
local gsub = gsub
local ipairs = ipairs
local format = format
local unpack = unpack
local tinsert = tinsert
local strmatch = strmatch
local RaiseFrameLevel = RaiseFrameLevel
local LowerFrameLevel = LowerFrameLevel
local hooksecurefunc = hooksecu... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MythicDungeonTools/Locales/zhTW.lua | 1 | 74716 | if not (GetLocale() == "zhTW") then
return
end
local addonName, MDT = ...
local L = MDT.L
L = L or {}
-- MDT
L[" >Battle for Azeroth"] = "> 決戰艾澤拉斯"
L[" >Legion"] = "> 軍臨天下"
L["%s HP"] = "%s 血量"
L["%s is in sublevel: %s"] = "%s 在子區域: %s"
L["(G %d)"] = "(G %d)"
L["*Live*"] = "*連線*"
L["+ Add pull"] = "+ 新增拉怪"
L["<New P... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-BfA/Vuklaz.lua | 1 | 1972 | local mod = DBM:NewMod(2381, "DBM-BfA", 6, 1028)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116032237")
mod:SetCreatureID(160970)
mod:SetEncounterID(2353)
mod:SetReCombatTime(20)
mod:EnableWBEngageSync()--Enable syncing engage in outdoors
--mod:SetMinSyncRevision(11969)
mod:RegisterCombat("combat")
m... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Core/Modules/Bags/Bags.lua | 1 | 91023 | local E, L, V, P, G = unpack(ElvUI)
local B = E:GetModule('Bags')
local TT = E:GetModule('Tooltip')
local Skins = E:GetModule('Skins')
local AB = E:GetModule('ActionBars')
local Search = E.Libs.ItemSearch
local LSM = E.Libs.LSM
local _G = _G
local type, ipairs, unpack, select, pcall = type, ipairs, unpack, select, pca... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c90000058.lua | 2 | 2643 | --Operation - Teleporter
function c90000058.initial_effect(c)
--Pendulum Set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90000058,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c90000058.cost)
e1:SetTarget(c90000058.target)
e1:SetOperation(c90000058.operation)
c... | gpl-3.0 |
Markismus/koreader | plugins/newsdownloader.koplugin/lib/handler.lua | 14 | 10985 | ---
-- Overview:
-- =========
-- Standard XML event handler(s) for XML parser module (xml.lua)
--
-- Features:
-- =========
-- printHandler - Generate XML event trace
-- domHandler - Generate DOM-like node tree
-- simpleTreeHandler - Generate 'simple' node tree
--
-- API:
-- ... | agpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c44559818.lua | 2 | 3616 | --Xian Tian, Descendant of the Nirvana
function c44559818.initial_effect(c)
c:SetUniqueOnField(1,0,44559818)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c44559818... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WotLK/localization.ru.lua | 1 | 18743 | if GetLocale() ~= "ruRU" then return end
local L
----------------------------------
-- Ahn'Kahet: The Old Kingdom --
----------------------------------
-- Prince Taldaram --
-----------------------
L = DBM:GetModLocalization(581)
-------------------
-- Elder Nadox --
-------------------
L = DBM:GetModLocalizati... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Details/functions/immersion.lua | 1 | 3531 |
--Immersion enables players that isn't in your group to show on the damage meter window
local Details = _G.Details
local C_Timer = _G.C_Timer
local C_Map = _G.C_Map
local ceil = math.ceil
-- immersion namespace
Details.Immersion = {}
local immersionFrame = _G.CreateFrame("frame", "DetailsImmersionFrame", _G.UIPare... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Details_EncounterDetails/Libs/LibStub/tests/test.lua | 14 | 2014 | debugstack = debug.traceback
strmatch = string.match
loadfile("../LibStub.lua")()
local lib, oldMinor = LibStub:NewLibrary("Pants", 1) -- make a new thingy
assert(lib) -- should return the library table
assert(not oldMinor) -- should not return the old minor, since it didn't exist
-- the following is to create data ... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus_Database_Item/Item/DevTool.lua | 1 | 11485 | local After = C_Timer.After;
local db;
local GetItemModelFileID = NarciItemDatabase.GetItemModelFileID;
------Acquire ModelFileID------
local NUM_WIDGETS = 50;
local container = CreateFrame("Frame");
local numTotal = 0;
local numLeft;
local models = {};
local flatIDs = {};
local function FetchItemID()
local it... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Immersion/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 21 | 2746 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Outlands/Magtheridon.lua | 1 | 2222 | local mod = DBM:NewMod("Magtheridon", "DBM-Outlands")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220910005805")
mod:SetCreatureID(17257)
mod:SetEncounterID(651)
mod:SetModelID(18527)
mod:RegisterCombat("combat_emote", L.DBM_MAG_EMOTE_PULL)
mod:RegisterEventsInCombat(
"SPELL_CAST_START 30528 30616",
"SP... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99199040.lua | 1 | 5606 | --The Future Gear Librarian
function c99199040.initial_effect(c)
c:SetSPSummonOnce(99199040)
--pendulum summon
aux.EnablePendulumAttribute(c)
--ritual summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99199040,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:S... | gpl-3.0 |
bradparks/hammerspoon | extensions/socket/init.lua | 9 | 8924 | --- === hs.socket ===
---
--- Talk to custom protocols using asynchronous TCP sockets
---
--- For UDP sockets see [`hs.socket.udp`](./hs.socket.udp.html)
---
--- `hs.socket` is implemented with [CocoaAsyncSocket](https://github.com/robbiehanson/CocoaAsyncSocket). CocoaAsyncSocket's [tagging features](https://github.com... | mit |
Markismus/koreader | frontend/ui/widget/openwithdialog.lua | 1 | 6245 | --[[--
This widget displays an open with dialog.
]]
local Blitbuffer = require("ffi/blitbuffer")
local CenterContainer = require("ui/widget/container/centercontainer")
local CheckButton = require("ui/widget/checkbutton")
local Font = require("ui/font")
local FrameContainer = require("ui/widget/container/framecontainer... | agpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c59821095.lua | 2 | 3021 | --The Idol Master of Mystery Zefra-Zuki
function c59821095.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_PZONE)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFE... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-BfA/WaycrestManor/Waycrests.lua | 1 | 2844 | local mod = DBM:NewMod(2128, "DBM-Party-BfA", 10, 1001)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116042005")
mod:SetCreatureID(131527, 131545)
mod:SetMainBossID(131545)
mod:SetEncounterID(2116)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 261440",
"SPELL_CAST_START... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WindDungeonHelper/locales/zhtw.lua | 1 | 4431 | -- Generated by WindToolsScripts
-- https://github.com/fang2hou/WindToolsScripts
local addonName = ...
local L = LibStub("AceLocale-3.0"):NewLocale(addonName, "zhTW")
if not L then return end
L["%name% got hit by %spell% for %damage% (%percent%)."] = "%name% 被 %spell% 擊中, 傷害為 %damage% (%percent%)."
L["%name% got hit b... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/GarrisonCommander/libs/LibInit/MSA-DropDownMenu-1.0/MSA-DropDownMenu-1.0.lua | 1 | 63247 | --- MSA-DropDownMenu-1.0 - DropDown menu for non-Blizzard addons
--- Copyright (c) 2016-2020, Marouan Sabbagh <mar.sabbagh@gmail.com>
--- All Rights Reserved.
---
--- https://www.curseforge.com/wow/addons/msa-dropdownmenu-10
local name, version = "MSA-DropDownMenu-1.0", 11
local lib, oldVersion = LibStub:NewLibrary(n... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000103.lua | 2 | 5225 | --Colorless, Chaos King of Dark World
function c512000103.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,99458769,34230233,true,true)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOP... | gpl-3.0 |
bradparks/hammerspoon | extensions/wifi/init.lua | 5 | 1093 | --- === hs.wifi ===
---
--- Inspect WiFi networks
local USERDATA_TAG = "hs.wifi"
local module = require(USERDATA_TAG..".internal")
module.watcher = require(USERDATA_TAG..".watcher")
local watcherMT = hs.getObjectMetatable(USERDATA_TAG..".watcher")
-- private variables and methods --------------------------... | mit |
Markismus/koreader | frontend/ui/elements/screen_dpi_menu_table.lua | 4 | 5530 | local _ = require("gettext")
local Device = require("device")
local Screen = Device.screen
local T = require("ffi/util").template
local function isAutoDPI() return Screen.dpi_override == nil end
local function dpi() return Screen:getDPI() end
local function custom() return G_reader_settings:readSetting("custom_scree... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AngryKeystones/Persist.lua | 1 | 10636 | if GetBuildInfo() ~= "7.2.0" then return end
local ADDON, Addon = ...
local Mod = Addon:NewModule('Persist')
local challengeMapID
local function LoadPersist()
local function IsInCompletedInstance()
return select(10, C_Scenario.GetInfo()) == LE_SCENARIO_TYPE_CHALLENGE_MODE and C_ChallengeMode.GetCompletionInfo() ~=... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAurasOptions/Cache.lua | 1 | 6785 | if not WeakAuras.IsLibsOK() then return end
local AddonName, OptionsPrivate = ...
-- Lua APIs
local pairs, error, coroutine = pairs, error, coroutine
-- WoW APIs
local GetSpellInfo, IsSpellKnown = GetSpellInfo, IsSpellKnown
local WeakAuras = WeakAuras
local spellCache = {}
WeakAuras.spellCache = spellCache
local c... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c78219304.lua | 1 | 4095 | --Colossal Warrior - Handless
function c78219304.initial_effect(c)
--send replace
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT_CB)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetCondition(c78219304.repcon)
e1:SetOperation(c78219304.repop)
c:RegisterEffect(e1)
... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/FreeInstanceFetcher/Libs/StdUi/widgets/ScrollTable.lua | 1 | 21547 | --- @type StdUi
local StdUi = LibStub and LibStub('StdUi', true);
if not StdUi then
return
end
local module, version = 'ScrollTable', 7;
if not StdUi:UpgradeNeeded(module, version) then
return
end
local TableInsert = tinsert;
local TableSort = table.sort;
local padding = 2.5;
--- Public methods of ScrollTable
loca... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c20162004.lua | 2 | 3742 | --Lizardfolk - Spearman
function c20162004.initial_effect(c)
--synchro custom
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SYNCHRO_MATERIAL_CUSTOM)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetTarget(c20162004.syntg)
e1:SetValue(1)
e1:SetOperation(c... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-BfA/Mechagon/KingGobbamak.lua | 1 | 2741 | local mod = DBM:NewMod(2357, "DBM-Party-BfA", 11, 1178)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20221016002954")
mod:SetCreatureID(150159)
mod:SetEncounterID(2290)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 297254",
"SPELL_CAST_SUCCESS 297465 297261",
"SPELL_AURA_APPL... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000110.lua | 2 | 3697 | --Blackwing - Nothung the Starlight
function c512000110.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x33),aux.NonTuner(nil),1)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(511000768,0))
e1:SetCategory(CATEGO... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Ulduar/Freya.lua | 1 | 5077 | local mod = DBM:NewMod("Freya", "DBM-Ulduar")
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220701215737")
mod:SetCreatureID(32906)
mod:SetEncounterID(1133)
mod:SetModelID(28777)
mod:RegisterCombat("combat")
mod:RegisterKill("yell", L.YellKill)
mod:SetUsedIcons(4, 5, 6, 7, 8)
mod:RegisterEventsInCombat(
"... | gpl-3.0 |
Markismus/koreader | plugins/calibre.koplugin/metadata.lua | 1 | 7236 | --[[--
This module implements functions for loading, saving and editing calibre metadata files.
Calibre uses JSON to store metadata on device after each wired transfer.
In wireless transfers calibre sends the same metadata to the client, which is in charge
of storing it.
@module koplugin.calibre.metadata
--]]--
loca... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Scenario-MoP/GreenstoneVillage.lua | 1 | 2215 | local mod = DBM:NewMod("d492", "DBM-Scenario-MoP")
local L = mod:GetLocalizedStrings()
mod.statTypes = "normal"
mod:SetRevision("20200912131657")
mod:RegisterCombat("scenario", 1024)
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"SPELL_CAST_START",
-- "SPELL_CAST_SUCCESS",
"UNIT_DIED"
)
--Cursed Brew
local... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAurasTemplates/Locales/frFR.lua | 1 | 10411 | if not WeakAuras.IsLibsOK() then return end
if GetLocale() ~= "frFR" then
return
end
local L = WeakAuras.L
-- WeakAuras/Templates
L["Abilities"] = "Capacités"
L["Add Triggers"] = "Ajouter des déclencheurs"
L["Always Active"] = "Toujours actif"
L["Always Show"] = "Toujours afficher"
L["Always show the aura, hi... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c962002003.lua | 2 | 4342 | -- Toon
--Created By ALANMAC95, Scripted By TheOnePharaoh
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scard,s_id=getID()
function scard.ini... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WindDungeonHelper/Libraries/LibDBIcon-1.0/CallbackHandler-1.0/CallbackHandler-1.0.lua | 22 | 8073 | --[[ $Id: CallbackHandler-1.0.lua 1186 2018-07-21 14:19:18Z nevcairiel $ ]]
local MAJOR, MINOR = "CallbackHandler-1.0", 7
local CallbackHandler = LibStub:NewLibrary(MAJOR, MINOR)
if not CallbackHandler then return end -- No upgrade needed
local meta = {__index = function(tbl, key) tbl[key] = {} return tbl[key] end}
... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c22769922.lua | 2 | 3525 | --Glorious Victory
function c22769922.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c22769922.condition)
e1:SetCost(c22769922.cost)
e1:SetOperation(c22769922.activate)
c:RegisterEffect(e1)
--special summon
local... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Pandaria/Xuen.lua | 1 | 3858 | local mod = DBM:NewMod(860, "DBM-Pandaria", nil, 322, 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220209033909")
mod:SetCreatureID(71953)
mod:SetReCombatTime(20)
mod:EnableWBEngageSync()--Enable syncing engage in outdoors
mod:RegisterCombat("combat_yell", L.Pull)
mod:RegisterKill("yell", L.Victory)
mo... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c70649915.lua | 2 | 1765 | --DE Assault
function c70649915.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TOGRAVE+CATEGORY_DRAW)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c70649915.target)
e1:SetOperation(c70649... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c20912249.lua | 2 | 1822 | --Arieal
function c20912249.initial_effect(c)
--atk down
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(20912249,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c20912... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Locale/Portuguese.lua | 1 | 2548 | local ASL = LibStub("AceLocale-3.0"):NewLocale("AddOnSkins", "ptBR")
if not ASL then return end
ASL["About/Help"] = true
ASL["AddOn Skins"] = true
ASL["Attach CoolLine to action bar"] = true
ASL["Attach SexyCD to action bar"] = true
ASL["Auction House"] = true
ASL["Available Skins / Skin Requests"] = true
ASL["BigWigs... | gpl-3.0 |
Andre-LA/Ink | gui/systems/rect_transform_viewer.lua | 1 | 1040 | local rect_transform_viewer = {}
rect_transform_viewer.__index = rect_transform_viewer
local _ceil = math.ceil
local ink = {}
function rect_transform_viewer.new (_ink)
local self = {
entities = {},
name = "rect_transform_viewer",
requires = {"rect_transform_viewer", "rect_transform"},
}... | mit |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WotLK/TheOculus/MageLordUrom.lua | 1 | 1086 | local mod = DBM:NewMod(624, "DBM-Party-WotLK", 9, 282)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116185401")
mod:SetCreatureID(27655)
mod:SetEncounterID(2014)
mod:RegisterCombat("yell", L.CombatStart)--Why using yell instead of "Combat". I do not remember.
mod:RegisterEventsInCombat(
"SPELL_AURA_AP... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/libs/DF/DFPixelUtil.lua | 2 | 2205 | DFPixelUtil = {};
function DFPixelUtil.GetPixelToUIUnitFactor()
local physicalWidth, physicalHeight = GetPhysicalScreenSize();
return 768.0 / physicalHeight;
end
function DFPixelUtil.GetNearestPixelSize(uiUnitSize, layoutScale, minPixels)
if uiUnitSize == 0 and (not minPixels or minPixels == 0) then
return 0;
e... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c59821013.lua | 2 | 1403 | --Glance of the Idols
function c59821013.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCountLimit(1,59821013)
e1:SetCondition(c59821013.condition)
e1:SetTarget(c59821013.target)
e1:... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c77777751.lua | 2 | 1910 | --Necromantic Summoning
function c77777751.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,77777751)
e1:SetTarget(c77777751.target)
e1:SetOperation(c77777751.activate)
c:Registe... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99990401.lua | 2 | 4260 | --SAO - Sinon ALO
function c99990401.initial_effect(c)
--Synchro summon
aux.AddSynchroProcedure2(c,nil,aux.NonTuner(Card.IsSetCard,9999))
c:EnableReviveLimit()
--Discard
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUM... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-SiegeOfOrgrimmarV2/localization.es.lua | 1 | 6989 | if GetLocale() ~= "esES" and GetLocale() ~= "esMX" then
return
end
local L
---------------
-- Immerseus --
---------------
L = DBM:GetModLocalization(852)
L:SetMiscLocalization({
Victory = "¡Ah, lo habéis logrado! Las aguas vuelven a ser puras."
})
----------------------------
-- Los protectores caídos --
--------... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-BC/CoT_BlackMorass/Temporus.lua | 1 | 1292 | local mod = DBM:NewMod(553, "DBM-Party-BC", 12, 255)
local L = mod:GetLocalizedStrings()
mod.statTypes = "normal,heroic,timewalker"
mod:SetRevision("20220116042005")
mod:SetCreatureID(17880)
mod:SetEncounterID(1921)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 31458 38592",
"SPELL... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c344000008.lua | 2 | 2288 | --Garbage Dragon
function c344000008.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c344000008.spcon)
e1:SetOperation(c34400... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c44646227.lua | 2 | 1515 | --Delayed modification
function c44646227.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c44646227.cost)
e1:SetTarget(c44646227.target)
... | gpl-3.0 |
Markismus/koreader | frontend/ui/widget/radiobuttontable.lua | 4 | 5504 | local Blitbuffer = require("ffi/blitbuffer")
local Device = require("device")
local FocusManager = require("ui/widget/focusmanager")
local Font = require("ui/font")
local Geom = require("ui/geometry")
local HorizontalGroup = require("ui/widget/horizontalgroup")
local LineWidget = require("ui/widget/linewidget")
local R... | agpl-3.0 |
bradparks/hammerspoon | extensions/osascript/init.lua | 9 | 2774 | --- === hs.osascript ===
---
--- Execute Open Scripting Architecture (OSA) code - AppleScript and JavaScript
---
local module = require("hs.osascript.internal")
-- private variables and methods -----------------------------------------
local processResults = function(ok, object, rawDescriptor)
local descriptor
... | mit |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c90000004.lua | 2 | 1153 | --Night Clock Archer
function c90000004.initial_effect(c)
--ATK 0
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,90000004)
e1:SetCondit... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c70649925.lua | 2 | 1967 | --ADE Djord
function c70649925.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70649925,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_DESTROYED)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Libraries/Core/oUF/colors.lua | 1 | 8797 | local _, ns = ...
local oUF = ns.oUF
local Private = oUF.Private
local frame_metatable = Private.frame_metatable
local colors = {
smooth = {
1, 0, 0,
1, 1, 0,
0, 1, 0
},
happiness = {
[1] = {.69, .31, .31},
[2] = {.65, .63, .35},
[3] = {.33, .59, .33},
},
health = {49 / 255, 207 / 255, 37 / 255},
di... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c55738809.lua | 2 | 2374 | --Malefic bicorn
function c55738809.initial_effect(c)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c55738809.spcon)
e1:SetOperation(c5573880... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c99990423.lua | 2 | 5446 | --SAO - Sinon GGO
function c99990423.initial_effect(c)
--Xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,9999),6,2)
c:EnableReviveLimit()
--Destroy 1 Spell/Trap
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Core/Modules/UnitFrames/Elements/ClassBars.lua | 1 | 20827 | local E, L, V, P, G = unpack(ElvUI)
local UF = E:GetModule('UnitFrames')
local ElvUF = E.oUF
local max = max
local wipe = wipe
local next = next
local pairs = pairs
local ipairs = ipairs
local unpack = unpack
local CreateFrame = CreateFrame
local MAX_COMBO_POINTS = MAX_COMBO_POINTS
-- GLOBALS: ElvUF_Player
local AltM... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Skins/TBC/Blizzard/Others.lua | 2 | 5573 | local AS = unpack(AddOnSkins)
function AS:Blizzard_Others()
AS:SetTemplate(CinematicFrameCloseDialog)
CinematicFrameCloseDialog:SetScale(UIParent:GetScale())
AS:SkinButton(CinematicFrameCloseDialogConfirmButton)
AS:SkinButton(CinematicFrameCloseDialogResumeButton)
AS:SetTemplate(MovieFrame.CloseDialog)
MovieFra... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-MogushanVaults/GarajalTheSpiritBinder.lua | 1 | 10104 | local mod = DBM:NewMod(682, "DBM-MogushanVaults", nil, 317)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20200806142037")
mod:SetCreatureID(60143)
mod:SetEncounterID(1434)
mod:SetUsedIcons(5, 6, 7, 8)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 122151 116161 116260 116278 1... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c123208.lua | 2 | 1728 | --Arcana Force XIII The Death
function c123208.initial_effect(c)
-- coin
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(123208,0))
e1:SetCategory(CATEGORY_COIN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c123208.cointg)
e1:SetOperation(c12... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c20912283.lua | 1 | 3593 | --The Trap-Dispeller Sword Red Bane
function c20912283.initial_effect(c)
c:SetUniqueOnField(1,0,20912283)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c20912283.target)... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-AntorusBurningThrone/localization.tw.lua | 1 | 3585 | if GetLocale() ~= "zhTW" then return end
local L
---------------------------
-- Hounds of Sargeras --
---------------------------
L= DBM:GetModLocalization(1987)
L:SetOptionLocalization({
SequenceTimers = "在英雄/傳奇難度下序列的冷卻計時器關閉先前的技能施放而不是當前的技能,以減少計時器雜亂,這犧牲計時器的準確性。(快1-2秒)"
})
---------------------------
-- Eonar, the L... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c87002899.lua | 1 | 4939 | --May-Raias Keimos
function c87002899.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(87002899,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFEC... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Party-WotLK/OldStratholme/SalrammTheFleshCrafter.lua | 1 | 1143 | local mod = DBM:NewMod(612, "DBM-Party-WotLK", 3, 279)
local L = mod:GetLocalizedStrings()
mod:SetRevision("20220116042005")
mod:SetCreatureID(26530)
mod:SetEncounterID(2004)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED 58845 52709",
"SPELL_AURA_REMOVED 58845",
"SPELL_SUMMON 52451... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Narcissus_Database_Item/Item/SubclassIDxItemID_OLD.lua | 1 | 138849 | local data1 = {
{
182568,
{
182568,
154,
114282,
},
175165,
180156,
180155,
180154,
180153,
180152,
178866,
178475,
178340,
178337,
171389,
184251,
184085,
184070,
183457,
183446,
176593,
182445,
{
182445,
1,
114158,
},
{
182445,
3,
114159,
}... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c55438820.lua | 2 | 7384 | --Twilight Magus Lord Lancelot
function c55438820.initial_effect(c)
--set fusion material
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_FUSION_MATERIAL)
e1:SetCondition(c55438820.fcon)
e1:S... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c512000109.lua | 2 | 1154 | --Blackwing - Pinaka the Waxing Moon
function c512000109.initial_effect(c)
--add to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(511000766,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_DE... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Wrath/Modules/Blizzard/ObjectiveFrame.lua | 1 | 1799 | local E, L, V, P, G = unpack(ElvUI)
local B = E:GetModule('Blizzard')
local _G = _G
local min = min
local CreateFrame = CreateFrame
local hooksecurefunc = hooksecurefunc
local RegisterStateDriver = RegisterStateDriver
local UnregisterStateDriver = UnregisterStateDriver
function B:SetObjectiveFrameHeight()
local top ... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-Sepulcher/localization.ru.lua | 1 | 6374 | if GetLocale() ~= "ruRU" then return end
local L
---------------------------
-- Vigilant Guardian --
---------------------------
--L= DBM:GetModLocalization(2458)
--L:SetOptionLocalization({
--})
--L:SetMiscLocalization({
--})
---------------------------
-- Dausegne, the Fallen Oracle --
-----------------------... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/AddOnSkins/Libs/Ace3/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua | 4 | 10956 | local Type, Version = "MultiLineEditBox", 32
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
-- Lua APIs
local pairs = pairs
-- WoW APIs
local GetCursorInfo, GetSpellInfo, ClearCursor = GetCursorInfo, GetSpellInfo, ClearCursor
loc... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c500312625.lua | 2 | 4416 | --Fiber Vine Forest
function c500312625.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Atk
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZON... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DBM-BlackTemple/localization.en.lua | 1 | 4275 | local L
-----------------
-- Najentus --
-----------------
L = DBM:GetModLocalization("Najentus")
L:SetGeneralLocalization{
name = "High Warlord Naj'entus"
}
L:SetMiscLocalization{
HealthInfo = "Health Info"
}
----------------
-- Supremus --
----------------
L = DBM:GetModLocalization("Supremus")
L:SetGeneralL... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MeetingStone/Libs/NetEaseGUI-2.0/Widget/TitleButton.lua | 1 | 2245 |
local WIDGET, VERSION = 'TitleButton', 2
local GUI = LibStub('NetEaseGUI-2.0')
local TitleButton = GUI:NewClass(WIDGET, 'Button', VERSION)
if not TitleButton then
return
end
function TitleButton:Constructor()
self:SetSize(16, 16)
self:SetHighlightTexture([[INTERFACE\Challenges\challenges-metalglow]], 'AD... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAuras/Libs/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua | 7 | 7693 | -- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0
-- Widget created by Yssaril
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do
local widgetType = "LSM30_Sound"
local widgetVersion = 13
local conte... | gpl-3.0 |
Esteban697/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.