repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
anshkumar/yugioh-glaze | assets/script/c95929069.lua | 3 | 1841 | --アイス・ハンド
function c95929069.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(95929069,0))
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:Set... | gpl-2.0 |
zwhfly/openwrt-luci | modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua | 79 | 3091 | --[[
LuCI - Lua Configuration Interface
Copyright 2009-2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]... | apache-2.0 |
m-a-hicks/Simulacrum | Resources/Loaders/OrthoLoader.lua | 2 | 2193 | --==============================================================================
--------------------------- Generic Ortho Loader -------------------------------
--==============================================================================
-- Return a name to represent the functions of this loader
function loaderNa... | lgpl-3.0 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua | 43 | 1470 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("OLSRd Plugin Configuration"),
translate("The OLSRd plugin reads information about meshed networks from the txtinfo plugin of OLSRd."))
s = m:section(NamedSection,... | gpl-2.0 |
sjznxd/lc-20130302 | applications/luci-openvpn/luasrc/model/cbi/openvpn.lua | 65 | 3316 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
loc... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c20457551.lua | 3 | 2494 | --鋼核収納
function c20457551.initial_effect(c)
--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(c20457551.target)
e1:SetOperation(c20457551.operation)
c:RegisterEffect(e1)
-... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c85310252.lua | 5 | 2159 | --ドドドドライバー
function c85310252.initial_effect(c)
--lv change
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c85310252.spcon)
e1:SetOperation(c85310252.spop)
c:RegisterEffect(e1)
l... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c19041767.lua | 3 | 1897 | --デュアル・サモナー
function c19041767.initial_effect(c)
--battle indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT)
e1:SetCountLimit(1)
e1:SetValue(c19041767.valcon)
c:RegisterEffect(e1)
--i... | gpl-2.0 |
Ardavans/DSR | mbwrap/games/MazeItem.lua | 2 | 2309 | -- Copyright (c) 2015-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
local MazeItem = ... | mit |
anshkumar/yugioh-glaze | assets/script/c64990807.lua | 3 | 2361 | --氷結界の三方陣
function c64990807.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c64990807.cost)
e1:SetTarget(c64990807.target)
e1:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c73136204.lua | 3 | 2820 | --森羅の渡し守 ロータス
function c73136204.initial_effect(c)
--deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(73136204,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c73136204.target)
e1:SetOperation(c73136204.operat... | gpl-2.0 |
paladiyom/paladerz | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
heroku/heroku-kong | spec/fixtures/blueprints.lua | 1 | 7702 | local ssl_fixtures = require "spec.fixtures.ssl"
local utils = require "kong.tools.utils"
local deep_merge = utils.deep_merge
local fmt = string.format
local Blueprint = {}
Blueprint.__index = Blueprint
function Blueprint:build(overrides)
overrides = overrides or {}
return deep_merge(self.build_function(over... | mit |
anshkumar/yugioh-glaze | assets/script/c36278828.lua | 3 | 1025 | --ヴェノム・サーペント
function c36278828.initial_effect(c)
--add counter
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36278828,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c362... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c1050186.lua | 9 | 1182 | --星因士 ウヌク
function c1050186.initial_effect(c)
--tograve
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1050186,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:S... | gpl-2.0 |
nhnb/stendhal | data/script/region/deniran/city/citizens.lua | 3 | 4705 | --[[
***************************************************************************
* Copyright © 2021 - Arianne *
***************************************************************************
***************************************************************************
* ... | gpl-2.0 |
andrejzverev/rspamd | src/plugins/lua/settings.lua | 1 | 12116 | --[[
Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c93016201.lua | 3 | 4075 | --王宮の弾圧
function c93016201.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c93016201.cost1)
e1:SetTarget(c93016201.target1)
e1:SetOperation(c93016201.activate1)
c:RegisterEffect(e1)
--Activate(timing)
local e2=Effect.CreateE... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c71578874.lua | 3 | 2990 | --Emミラー・コンダクター
function c71578874.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk/def
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRang... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41307269.lua | 3 | 1542 | --超重武者カブ-10
function c41307269.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41307269,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c41307269.condition)
e... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/cloud_coral.lua | 2 | 3053 | BindGlobal()
local CFG = TheMod:GetConfig()
local assets =
{
Asset("ANIM", "anim/cloud_coral.zip"),
}
local prefabs = CFG.CLOUD_CORAL.PREFABS
local function grow(inst, dt)
if inst.components.scaler.scale < 2 then
local new_scale = math.min(inst.components.scaler.scale + CFG.CLOUD_CORAL.GRO... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c62543393.lua | 7 | 1456 | --レクンガ
function c62543393.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(62543393,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c62543393.cost)
e1:SetTarget(c62543393.target)
e1:SetOperation(c6254339... | gpl-2.0 |
andrejzverev/rspamd | src/plugins/lua/once_received.lua | 1 | 4785 | --[[
Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c32231618.lua | 3 | 1636 | --占術姫コインノーマ
function c32231618.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarget(c32231618.sptg)
e1:SetOperation(c32231618.spop)
c:RegisterEffec... | gpl-2.0 |
qq2588258/floweers | libs/scripting/lua/script/Deprecated.lua | 8 | 32784 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of _G will be deprecated begin
local function ccpLineIntersect(a,b,c,d,s,t)
deprecatedTip("ccpLineIntersect","CCPoint:isLineIntersect")
... | mit |
sjznxd/lc-20130302 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua | 80 | 1397 | --[[
Luci configuration model for statistics - collectd ping plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License ... | apache-2.0 |
Tiger66639/premake-core | tests/api/test_containers.lua | 1 | 1895 | --
-- tests/api/test_containers.lua
-- Tests the API's solution() and project() container definitions.
-- Copyright (c) 2013-2014 Jason Perkins and the Premake project
--
local suite = test.declare("api_containers")
local api = premake.api
--
-- Setup and teardown
--
local wks
function suite.setup()
wks = wo... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c387282.lua | 3 | 2238 | --ガガガシスター
function c387282.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(387282,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c387282.thtg)
e1:SetOperation(c387282... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41925941.lua | 3 | 2263 | --冥王の咆哮
function c41925941.initial_effect(c)
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCondition(c41925941.c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c11556339.lua | 3 | 1275 | --霊獣の連契
function c11556339.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1c0)
e1:SetCondition(c11556339.condition)
e1:SetTarget(c11556339.target)
e1:SetOperation(c11556339.activate... | gpl-2.0 |
rahulk90/vae_sparse | optvaedatasets/rcv2_miao/preprocess.lua | 2 | 4034 | --Sent via email by Yishu Miao (yishu.miao@cs.ox.ac.uk)
require 'torch'
dir ='./'--./data/RCV1-v2/raw/'
des ='./'--./data/RCV1-v2/'
raw_full = dir..'train.txt'
raw_train_file = dir..'train.txt'
vocab_raw = des..'vocabulary.txt'
vocab_file = des..'vocab.new'
train_feat = des..'train.feat'
test_feat = des..'test.feat'... | mit |
fmidev/himan | himan-scripts/emc.lua | 1 | 1471 | --- ensemble member count
local currentProducer = configuration:GetSourceProducer(0)
local currentProducerName = currentProducer.GetName(currentProducer)
msg = string.format("Calculating ensemble member count for for producer: %s", currentProducerName)
logger:Info(msg)
local params = {}
params["T-K"] = { current_lev... | mit |
MmxBoy/mmx-anti | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/actions/vstudio/vs2017.lua | 26 | 1735 | --
-- vs2015.lua
-- Baseline support for Visual Studio 2017.
--
premake.vstudio.vc2017 = {}
local vc2017 = premake.vstudio.vc2017
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2017.
---
newaction
{
trigger = "vs2017",
shortname = "Visual Studio 2017",... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c70479321.lua | 3 | 3128 | --EMドラミング・コング
function c70479321.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(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:SetCategory(CATEGORY_ATKCHANGE)
e2:SetType(EF... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c9402966.lua | 5 | 2326 | --超重武者タマ-C
function c9402966.initial_effect(c)
--synchro summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,9402966)
e1:SetCondition(c9402966.sccon)
e1:SetTarget(c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c83544697.lua | 3 | 1555 | --ガスタの交信
function c83544697.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c83544697.target)
e1:SetOperation(c83544697.activate)
c:Re... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c97403510.lua | 5 | 4131 | --No.92 偽骸神龍 Heart-eartH Dragon
function c97403510.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,9,3)
c:EnableReviveLimit()
--battle
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_REFLECT_BATTLE_DAMAGE)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffe... | gpl-2.0 |
MoZhonghua/skynet | 3rd/lpeg/re.lua | 160 | 6286 | -- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $
-- imported functions and modules
local tonumber, type, print, error = tonumber, type, print, error
local setmetatable = setmetatable
local m = require"lpeg"
-- 'm' will be used to parse expressions, and 'mm' will be used to
-- create expressions; that is, 're' ... | mit |
mramir8274/danibot | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
ARGANBOT/ARSHAM | plugins/stats.lua | 1 | 4015 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/discourse/DiscourseEventManager.lua | 1 | 1356 | DiscourseEventManager = {}
DiscourseEventManager.__index = DiscourseEventManager
function DiscourseEventManager:Create()
local this =
{
mEventList = {}
}
setmetatable(this, self)
return this
end
function DiscourseEventManager:Render(renderer, trackbar)
local value = trackbar:Value()
... | mit |
anshkumar/yugioh-glaze | assets/script/c33911264.lua | 3 | 1680 | --太陽風帆船
function c33911264.initial_effect(c)
c:SetUniqueOnField(1,1,33911264)
--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(c33911264.spcon)
e1:SetOperation(c33911... | gpl-2.0 |
freifunk-gluon/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua | 78 | 2765 | --[[
Luci configuration model for statistics - collectd netlink plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the Licen... | apache-2.0 |
kiarash14/br | plugins/weather.lua | 274 | 1531 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
location = string.gsub(location," ","+")
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
url = url..'&appid=bd82977b86bf27fb59a04b61b6... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c10691144.lua | 3 | 2046 | --氷結界の鏡
function c10691144.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetOperation(c10691144.activate)
c:RegisterEffect(e1)
end
function c10691144.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,10691144)~=0 then return e... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c69058960.lua | 3 | 3454 | --No.13 ケインズ・デビル
function c69058960.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,1,2)
c:EnableReviveLimit()
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69058960,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLi... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-statistics/luasrc/statistics/i18n.lua | 39 | 1879 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.i18n", package.seeall)
require("luci.util")
require("luci.i18n")
Instance = luci.util.class()
function Instance.__init__( self, graph )
self.i18n = luci.i18n
se... | gpl-2.0 |
mobinantispam/017 | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
mikeller/nodemcu-firmware | lua_examples/ucglib/GraphicsTest.lua | 8 | 3420 | -- setup SPI and connect display
function init_spi_display()
-- Hardware SPI CLK = GPIO14
-- Hardware SPI MOSI = GPIO13
-- Hardware SPI MISO = GPIO12 (not used)
-- Hardware SPI /CS = GPIO15 (not used)
-- CS, D/C, and RES can be assigned freely to available GPIOs
local cs = 8 -- GPIO15, pull-d... | mit |
anshkumar/yugioh-glaze | assets/script/c4549095.lua | 5 | 1491 | --BK カウンターブロー
function c4549095.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetDescription(aux.Stringid(4549095,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c46404281.lua | 9 | 1220 | --ラヴァルのマグマ砲兵
function c46404281.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46404281,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(2)
e1:SetCost(c46404281.... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c24903843.lua | 3 | 2868 | --버제스토마 피카이아
function c24903843.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c24903843.target)
e1:SetOperation(c24903843.activate)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c61258740.lua | 5 | 1406 | --水神の護符
function c61258740.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c61258740.target)
c:RegisterEffect(e1)
--indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFEC... | gpl-2.0 |
shirat74/sile | packages/pagebuilder-bestfit.lua | 5 | 1481 | local MAX_PAGES = 5
SILE.typesetter.pageBuilder = function (self, independent)
-- Find last penalty
local q = self.state.outputQueue
local lastpenalty = -1
local cHeight = SILE.length.new()
for j = #q,1,-1 do
if q[j]:isPenalty() and lastpenalty == -1 then
lastpenalty = q[j].penalty
end
cHei... | mit |
anshkumar/yugioh-glaze | assets/script/c17955766.lua | 6 | 1408 | --N・アクア・ドルフィン
function c17955766.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17955766,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c17955766.cost)
e1:SetTarget(c17955766.target)
e1:SetOperation(c17955766.activate... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c85775486.lua | 7 | 1497 | --再機動
function c85775486.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c85775486.cost)
e1:SetTarget(c85775486.target)
e1:SetOperation(c85775486.activat... | gpl-2.0 |
jakubjelinek/gregorio | tex/gregoriotex.lua | 1 | 8725 | --GregorioTeX Lua file.
--Copyright (C) 2008-2013 Elie Roux <elie.roux@telecom-bretagne.eu>
--
--This program is free software: you can redistribute it and/or modify
--it under the terms of the GNU General Public License as published by
--the Free Software Foundation, either version 3 of the License, or
--(at your opti... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c45462639.lua | 3 | 2588 | --闇紅の魔導師
function c45462639.initial_effect(c)
c:EnableCounterPermit(0x3001)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45462639,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c45462639.a... | gpl-2.0 |
LuaDist2/dromozoa-ubench | dromozoa/ubench/linest.lua | 1 | 2027 | -- Copyright (C) 2015,2017 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-ubench.
--
-- dromozoa-ubench is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the Lice... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c12235475.lua | 3 | 1267 | --魔轟神アシェンヴェイル
function c12235475.initial_effect(c)
--attack up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12235475,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetCondition(c1223... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c48343627.lua | 3 | 1141 | --グレイブ・スクワーマー
function c48343627.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(48343627,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetConditio... | gpl-2.0 |
cartman300/Polycode | Bindings/Contents/LUA/API/Polycode/EventDispatcher.lua | 11 | 2316 |
class "EventDispatcher"
function EventDispatcher:EventDispatcher()
self.listenerEntries = {}
end
function EventDispatcher:addEventListener(listener, callback, eventCode)
if self.listenerEntries == nil then
self.listenerEntries = {}
end
local newEntry = {}
if self.__ptr ~= nil then
newEntry.handler = Polycor... | mit |
anshkumar/yugioh-glaze | assets/script/c16051717.lua | 3 | 2386 | --A BF-驟雨のライキリ
function c16051717.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--add type
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c16051717.tncon)
e1:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c59281922.lua | 3 | 3158 | --サイバー・ドラゴン・ドライ
function c59281922.initial_effect(c)
--lv
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(59281922,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCost(c59281922.lvcost)
e1:SetTarget(c59281922.lvtg)
e1:SetOperation(c59281922.lvop)
c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c35803249.lua | 3 | 3268 | --人造人間-サイコ・ロード
function c35803249.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c88095331.lua | 7 | 1393 | --エヴォルド・ナハシュ
function c88095331.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88095331,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_RELEASE)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c40732515.lua | 3 | 3294 | --神聖魔導王エンディミオン
function c40732515.initial_effect(c)
--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+LOCATION_GRAVE)
e1:SetCondition(c40732515.spcon)
e1:SetOperation(c40732515.spop)
e... | gpl-2.0 |
dafei2015/hugula | Client/Assets/Lua/game/brain/Doc.lua | 7 | 3418 | --===================================决策节点====================================================
-------------------------------------条件节点-----------------------------
ConditionNode(luafunction) ConditionNode(Condition)
--条件等待节点
ConditionWaitNode(luafunction) ConditionWaitNode(Condition)
--按一定时间执行的条件节点
DeltaConditionNode... | mit |
RockySeven3161/UB | bot/utils.lua | 356 | 14963 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
beko123/DEV_VIP | plugins/filterfa.lua | 1 | 2525 | local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "تمت إضافة كلمة جديدة إلى كلمات المرشحه\n>"..name
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local function list_variablesbad(msg)
local... | agpl-3.0 |
freifunk-gluon/luci | modules/niu/luasrc/controller/niu/system.lua | 33 | 6889 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | apache-2.0 |
P403n1x87/New-Life | lua/mem.lua | 1 | 7553 | --[[
This file is part of "New Life" which is released under GPL.
See file LICENCE or go to http://www.gnu.org/licenses/ for full license details.
New Life is a series of custom scripts for Conky, a system monitor, based on
torsmo.
Copyright (c) 2016 Gabriele N. Tornetta <phoenix1987@gmail.com>. All rights
reserved.
... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c37195861.lua | 6 | 1316 | --E・HERO オーシャン
function c37195861.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(37195861,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PHASE... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c53610653.lua | 5 | 2776 | --バウンド・ワンド
function c53610653.initial_effect(c)
--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(c53610653.target)
e1:SetOperation(c53610653.operation)
c:RegisterEffect(e1... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c51865604.lua | 3 | 2922 | --ZS-幻影賢者
function c51865604.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51865604,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,51865604)
e1:SetCondition(c51865604.condition)
e1:SetTarget(c51865604.t... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c84814897.lua | 3 | 4316 | --騎竜
function c84814897.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(84814897,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c84814897.eqtg)
e1:SetOperation(c8481489... | gpl-2.0 |
freifunk-gluon/luci | protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 10 | 2663 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
wvierber/hammerspoon | extensions/layout/init.lua | 7 | 10183 | --- === hs.layout ===
---
--- Window layout manager
---
--- This extension allows you to trigger window placement/sizing to a number of windows at once
local layout = {}
local geometry = require("hs.geometry")
local fnutils = require("hs.fnutils")
local screen = require("hs.screen")
local window = require("hs.window")... | mit |
anshkumar/yugioh-glaze | assets/script/c40343749.lua | 3 | 2195 | --ハウスダストン
function c40343749.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40343749,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondit... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c93751476.lua | 3 | 2659 | --猛炎星-テンレイ
function c93751476.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetOperation(c93751476.regop)
c:RegisterEffect(e1)
--set
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(93751476,0))
e2... | gpl-2.0 |
tetoali605/THETETOO_A6A | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
RockySeven3161/UB | plugins/lyrics.lua | 695 | 2113 | do
local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs'
local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5'
local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect'
local function getInfo(query)
print('Getting info of ' .. query)
local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c47731128.lua | 3 | 1305 | --結界術師 メイコウ
function c47731128.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(47731128,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c47731128.cost)
e1:SetTarget(c4... | gpl-2.0 |
felipedaragon/sailor | src/web_utils/utils.lua | 4 | 1048 | local os_tmpname, gsub = os.tmpname, string.gsub
local M = {
}
-- Default function for temporary names
-- @returns a temporay name using os.tmpname
function M.tmpname ()
local tempname = os_tmpname()
-- Lua os.tmpname returns a full path in Unix, but not in Windows
-- so we strip the eventual prefix
... | mit |
zwhfly/openwrt-luci | modules/niu/luasrc/model/cbi/niu/traffic/qos1.lua | 49 | 3073 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
freifunk-gluon/luci | modules/niu/luasrc/model/cbi/niu/traffic/qos1.lua | 49 | 3073 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c64107820.lua | 6 | 1221 | --フューチャー・グロウ
function c64107820.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c64107820.cost)
e1:SetOperation(c64107820.operation)
c:RegisterEffect(e1)
--atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)... | gpl-2.0 |
freifunk-gluon/luci | libs/nixio/axTLS/samples/lua/axssl.lua | 176 | 19286 | #!/usr/local/bin/lua
--
-- Copyright (c) 2007, Cameron Rich
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-... | apache-2.0 |
ejurgensen/packages | net/prosody/files/prosody.cfg.lua | 65 | 9428 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at https://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running this command:
-- prosodyctl check config
-- If there are any errors,... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c76419637.lua | 9 | 2239 | --CX 激烈華戦艦タオヤメ
function c76419637.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,4)
c:EnableReviveLimit()
--discard
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76419637,0))
e1:SetCategory(CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_PHASE+... | gpl-2.0 |
SquidDev-CC/Howl | external/bsrocks/init.lua | 1 | 1394 | --- The main BSRocks extension bootstrapper
-- @module howl.external.bsrocks
local root = ...
local fs = require "howl.platform".fs
local BSRocksPackage = require(root .. ".BSRocksPackage")
local BustedTask = require(root .. ".BustedTask")
local LDocTask = require(root .. ".LDocTask")
local Manager = require "howl.p... | mit |
anshkumar/yugioh-glaze | assets/script/c16114248.lua | 3 | 1239 | --ペア・サイクロイド
function c16114248.initial_effect(c)
c:EnableReviveLimit()
--fusion material
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(c16114248.fscondition)
e1:SetOperation(c161... | gpl-2.0 |
rickyHong/nn_lib_torch | Criterion.lua | 3 | 1263 | local Criterion = torch.class('nn.Criterion')
function Criterion:__init()
self.gradInput = torch.Tensor()
self.output = 0
end
function Criterion:updateOutput(input, target)
end
function Criterion:forward(input, target)
return self:updateOutput(input, target)
end
function Criterion:backward(input, target)
... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c9831539.lua | 5 | 1638 | --タンホイザーゲート
function c9831539.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c9831539.target)
e1:SetOperation(c9831539.activate)
c:RegisterEffect(e1)
end
function c9831539.filter1(c,t... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c12817939.lua | 5 | 2513 | --漆黒の魔王 LV6
function c12817939.initial_effect(c)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLED)
e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c12817939.disop)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c45215453.lua | 3 | 1388 | --ヴァイロン・デルタ
function c45215453.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_LIGHT),1)
c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45215453,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c81866673.lua | 3 | 2923 | --D-HERO ダッシュガイ
function c81866673.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(81866673,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c81866673.atkcost)
e1:SetOperation(c81866673.at... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c59023523.lua | 5 | 1405 | --サイバネティック・マジシャン
function c59023523.initial_effect(c)
--atk change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(59023523,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c59023523.cost)
e1:Se... | gpl-2.0 |
nanopack/flip | lib/store/failover.lua | 2 | 3480 | -- -*- mode: lua; tab-width: 2; indent-tabs-mode: 1; st-rulers: [70] -*-
-- vim: ts=4 sw=4 ft=lua noet
---------------------------------------------------------------------
-- @author Daniel Barney <daniel@pagodabox.com>
-- @copyright 2014, Pagoda Box, Inc.
-- @doc
--
-- @end
-- Created : 4 Feb 2015 by Daniel Barney ... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.