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 |
|---|---|---|---|---|---|
linearregression/fbcunn | examples/imagenet/opts.lua | 8 | 2711 | --
-- Copyright (c) 2014, 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 M = { }
f... | bsd-3-clause |
nekrozar/ygopro-scripts | c7403341.lua | 1 | 1677 | --サイバネット・コンフリクト
function c7403341.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCountLimit(1,7403341+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c7403341.condition)
e1:SetTarget(c7403341.... | gpl-2.0 |
nekrozar/ygopro-scripts | c63251695.lua | 2 | 4086 | --ダイナミスト・レックス
function c63251695.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(63251695,0))
e2:SetCategory(CATEGORY_DISABLE)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_CHAIN_SOLVING)
e2:SetRange(LO... | gpl-2.0 |
nekrozar/ygopro-scripts | c1826676.lua | 9 | 1948 | --トイナイト
function c1826676.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_DECK)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--sp... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/trimmed_workshop/autorun/dark_souls_npcs.lua | 2 | 94143 | if not file.Exists("autorun/vj_base_autorun.lua","LUA") then return end
do
local ENT = {}
ENT.ClassName = "npc_vj_ds_artorias"
ENT.AdminOnly = true
game.AddParticles("particles/ds_artorias_fx.pcf")
game.AddParticles("particles/mh_scream_fx.pcf")
local particlename = {
"mh_monster_scream_large",
"dskart_am... | gpl-3.0 |
vlc-mirror/vlc-2.1 | share/lua/modules/sandbox.lua | 96 | 4375 | --[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... | lgpl-2.1 |
ld-test/lgi | samples/console.lua | 6 | 11383 | #! /usr/bin/env lua
-- Lua console implemented using Gtk widgets.
local lgi = require 'lgi'
local Gio = lgi.Gio
local Gtk = lgi.require('Gtk', '3.0')
local Gdk = lgi.require('Gdk', '3.0')
local Pango = lgi.Pango
local GtkSource = lgi.GtkSource
-- Creates new console instance.
local function Console()
-- Define co... | mit |
mihailim/koreader | frontend/dump.lua | 1 | 2716 | --[[--
A simple serialization function which won't do uservalues, functions, or loops.
]]
local isUbuntuTouch = os.getenv("UBUNTU_APPLICATION_ISOLATION") ~= nil
local insert = table.insert
local indent_prefix = " "
local function _serialize(what, outt, indent, max_lv, history)
if not max_lv then
max_lv... | agpl-3.0 |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts_addresses/advanced_scripts/moving_average_compute.lua | 1 | 4019 | -- Implement a moving-average script. After collecting each
-- new value, compute the moving average. Alternate methods
-- of implementing a moving-average are also available.
--
-- The number of values currently cached & used for averaging
-- can be read through the USER_RAM0_U32 register.
--
--Please note, perform... | mit |
Pandafuchs/iLife | client/Manager/Sound/cCustomWeaponSoundManager.lua | 2 | 4996 | -- #######################################
-- ## Project: MTA iLife ##
-- ## Name: CustomWeaponSoundManager.lua ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Functions... | mit |
nekrozar/ygopro-scripts | c46159582.lua | 7 | 1477 | --リチュアの儀水鏡
function c46159582.initial_effect(c)
aux.AddRitualProcEqual2(c,c46159582.ritual_filter)
--salvage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46159582,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_G... | gpl-2.0 |
nekrozar/ygopro-scripts | c76382116.lua | 1 | 2835 | --鉄の王 ドヴェルグス
function c76382116.initial_effect(c)
c:SetUniqueOnField(1,0,76382116)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76382116,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:Set... | gpl-2.0 |
venkatarajasekhar/bee | src/lua/net_db.lua | 1 | 32615 | -- net_db.lua (internal file)
local msgpack = require 'msgpack'
local fiber = require 'fiber'
local socket = require 'socket'
local log = require 'log'
local errno = require 'errno'
local ffi = require 'ffi'
local digest = require 'digest'
local yaml = require 'yaml'
local urilib = require 'uri'
-- packet codes
local... | bsd-2-clause |
nekrozar/ygopro-scripts | c35514096.lua | 4 | 2554 | --ロードブリティッシュ
function c35514096.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(35514096,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(c35514096.condition)
e1:SetTarget(c35514096.target)
e1:SetOperation(c35514096.oper... | gpl-2.0 |
sami2448/m | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
ndronen/fbcunn | examples/imagenet/data.lua | 8 | 1858 | --
-- Copyright (c) 2014, 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 ffi = requ... | bsd-3-clause |
nekrozar/ygopro-scripts | c36205132.lua | 3 | 3005 | --空牙団の伝令 フィロ
function c36205132.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36205132,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1,36205132)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c36205132.sptg)
e1:SetOpe... | gpl-2.0 |
nekrozar/ygopro-scripts | c75252099.lua | 2 | 1587 | --ローズ・バード
function c75252099.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(75252099,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c75252099.spcon)
e1:SetTarge... | gpl-2.0 |
venkatarajasekhar/bee | test/db/luafun.test.lua | 1 | 1401 | --------------------------------------------------------------------------------
-- # luafun integration
--------------------------------------------------------------------------------
space = db.schema.space.create('tweedledum')
index = space:create_index('primary', { type = 'hash' })
for i = 1,5,1 do space:replace(... | bsd-2-clause |
nekrozar/ygopro-scripts | c25472513.lua | 1 | 2446 | --天輪の双星道士
function c25472513.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1,1)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(25472513,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYP... | gpl-2.0 |
nekrozar/ygopro-scripts | c22802010.lua | 2 | 1086 | --無差別崩壊
function c22802010.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DICE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetTarget(c22802010.target)
e1:SetOperation(c22802010... | gpl-2.0 |
nekrozar/ygopro-scripts | c72529749.lua | 1 | 1812 | --トポロジック・トゥリスバエナ
function c72529749.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2)
--banish
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(72529749,0))
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DAMAGE)
e1:SetType(... | gpl-2.0 |
nekrozar/ygopro-scripts | c2547033.lua | 1 | 3159 | --オルターガイスト・ホーンデッドロック
function c2547033.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,2547033)
e1:SetTarget(c2547033.target)
e1:SetOperation(c2547033.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c50186558.lua | 1 | 3009 | --守護竜の結界
function c50186558.initial_effect(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:SetDescription(aux.Stringid(50186558,0))
e2:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)... | gpl-2.0 |
nekrozar/ygopro-scripts | c76930964.lua | 4 | 3010 | --黄昏の忍者将軍-ゲツガ
function c76930964.initial_effect(c)
--normal summon with 1 tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76930964,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c76930964.o... | gpl-2.0 |
mamaddeveloper/ultixxx | plugins/sht.lua | 3 | 1068 | -- Invite other user to the chat group.
---- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, ma... | gpl-2.0 |
nekrozar/ygopro-scripts | c40907115.lua | 9 | 1259 | --霊獣使い ウェン
function c40907115.initial_effect(c)
c:SetSPSummonOnce(40907115)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40907115,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_F... | gpl-2.0 |
nekrozar/ygopro-scripts | c96699830.lua | 2 | 2851 | --ボーン・フロム・ドラコニス
function c96699830.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:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCost(c96699830.cost)
e1:SetTarget(c96699830.targe... | gpl-2.0 |
SEENTEAM/TeleSeen | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
mohammad43/NOSPAM | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
nekrozar/ygopro-scripts | c69351984.lua | 3 | 1848 | --メタルフォーゼ・ヴォルフレイム
function c69351984.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--destroy and set
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1)
e1... | gpl-2.0 |
nekrozar/ygopro-scripts | c25407406.lua | 7 | 2408 | --剣闘獣の闘器グラディウス
function c25407406.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(c25407406.target)
e1:SetOperation(c25407406.operation)
c:RegisterEffec... | gpl-2.0 |
aqasaeed/sss | bot/seedbot.lua | 1 | 11382 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
nekrozar/ygopro-scripts | c59255742.lua | 1 | 5673 | --ゴヨウ・エンペラー
function c59255742.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_BRAINWASHING_CHECK)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,c59255742.ffilter,2,true)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCode(EVENT_BATTLE_DESTR... | gpl-2.0 |
nekrozar/ygopro-scripts | c3629090.lua | 4 | 2318 | --サイバー・エンジェル-韋駄天-
function c3629090.initial_effect(c)
c:EnableReviveLimit()
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3629090,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT... | gpl-2.0 |
Audumla/audiot-nodemcu-firmware | lua_examples/adc_rgb.lua | 73 | 1163 | --
-- Light sensor on ADC(0), RGB LED connected to gpio12(6) Green, gpio13(7) Blue & gpio15(8) Red.
-- This works out of the box on the typical ESP8266 evaluation boards with Battery Holder
--
-- It uses the input from the sensor to drive a "rainbow" effect on the RGB LED
-- Includes a very "pseudoSin" function
--
f... | mit |
crazyboy11/dd12 | plugins/add_bot.lua | 189 | 1492 | --[[
Bot can join into a group by replying a message contain an invite link or by
typing !add [invite link].
URL.parse cannot parsing complicated message. So, this plugin only works for
single [invite link] in a post.
[invite link] may be preceeded but must not followed by another characters.
--]]
do
local function... | gpl-2.0 |
amooma/GS5 | misc/freeswitch/scripts/common/call_history.lua | 2 | 6355 | -- Gemeinschaft 5 module: call_history class
-- (c) AMOOMA GmbH 2012-2013
--
module(...,package.seeall)
function camelize_type(account_type)
ACCOUNT_TYPES = {
sipaccount = 'SipAccount',
conference = 'Conference',
faxaccount = 'FaxAccount',
callthrough = 'Callthrough',
huntgroup = 'HuntGroup... | mit |
disslove85/NOVA2-BOT | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 7 | 5178 | require("luci.tools.webadmin")
m = Map("multiwan", translate("Multi-WAN"),
translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover."))
s = m:section(NamedSection, "config", "multiwan", "")
e = s:option(Flag, "enabled", translate("Enable"))
e.rmempty = false
function e.write(self,... | gpl-3.0 |
nekrozar/ygopro-scripts | c1322368.lua | 1 | 2331 | --SPYRAL-ザ・ダブルヘリックス
function c1322368.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xee),2,2)
--change name
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_C... | gpl-2.0 |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts_addresses/sensor_examples/adxl345_3-axis_accel_(spi).lua | 1 | 5473 | print("Communicate with an ADXL345 SPI accelerometer")
--An I2C version of this script is available under the I2C Lua script folder
--For more information about SPI on the T7, see the T7 datasheet
--http://labjack.com/support/datasheets/t7/digital-io/spi
--For more information on the ADXL345, see the datasheet
--http:/... | mit |
JoshuaBrockschmidt/polaroidal | polar.lua | 1 | 5514 | local graph = {
maxSpeeds = {
a = 12,
b = 12,
n = 12
},
accels = {
a = 30,
b = 30,
n = 24
},
fricts = {
a = -12,
b = -12,
n = -12
},
snap = {
a = 0,
b = 0,
n = 0
},
snapFuzz = {
a = 0.05,
b = 0.05,
n... | gpl-2.0 |
nekrozar/ygopro-scripts | c48210156.lua | 1 | 2641 | --DDナイト・ハウリング
function c48210156.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(48210156,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTa... | gpl-2.0 |
f4l0/DCS-ToggleSwitches | ToggleSwitchesMod/Mods/aircraft/MiG-21BIS/Input/MiG-21/joystick/_default.lua | 1 | 80698 | --/N/ feb 2014
local cockpit = folder.."../../../Cockpit/"
dofile(cockpit.."devices.lua")
dofile(cockpit.."command_defs.lua")
return {
forceFeedback={
trimmer=1.0,
shake=0.5,
swapAxes=false,
invertX=false,
invertY=false,
},
keyCommands={
--************** Custom ******************************... | mit |
kburk1997/My-ASD-Journey | App/Libs/RuntimeResources.bundle/socket.lua | 6 | 4446 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Declare module and import depend... | apache-2.0 |
PAC3-Server/notagain | lua/notagain/pac_server/autorun/chat_over_head.lua | 2 | 6757 | if SERVER then
util.AddNetworkString("coh")
net.Receive("coh", function(len, ply)
net.Start("coh", true)
local str = net.ReadString()
if #str > 300 then
str = str:sub(0,300) .. "..."
end
net.WriteEntity(ply)
net.WriteString(str)
net.WriteBool(net.ReadBool())
net.WriteBool(net.ReadBool())
... | gpl-3.0 |
ev1l0rd/yalnpv | dfhack/hack/scripts/combine_plants.lua | 1 | 3501 | -- Merge stacks of plants and plant growths in the selected container or stockpile
--[[=begin
combine-plants
==============
Merge stacks of plants or plant growths in the selected container or stockpile.
=end]]
local utils = require 'utils'
validArgs = validArgs or utils.invert({ 'max', 'stockpile', 'conta... | mit |
nekrozar/ygopro-scripts | c57115864.lua | 4 | 1391 | --光子化
function c57115864.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c57115864.condition)
e1:SetTarget(c57115864.target)
e1:SetOperation(c57115864.activate)
c:RegisterEffe... | gpl-2.0 |
VIPTEA/vipteam2 | bot/utils.lua | 473 | 24167 | 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/... | agpl-3.0 |
bencvt/FixGroups | libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 37 | 18708 | --[[ $Id: AceGUIWidget-DropDown.lua 1116 2014-10-12 08:15:46Z nevcairiel $ ]]--
local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local min, max, floor = math.min, math.max, math.floor
local select, pairs, ipairs, type = select, pairs, ipairs, type
local tsort = table.sort
-- WoW APIs
local PlaySound = PlaySound
local... | mit |
nekrozar/ygopro-scripts | c92353449.lua | 6 | 1514 | --レッドアイズ・インサイト
function c92353449.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,92353449+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c92353449.cost)
e1:SetTarget(c92353449.targe... | gpl-2.0 |
nekrozar/ygopro-scripts | c31733941.lua | 2 | 2299 | --レッドアイズ・トゥーン・ドラゴン
function c31733941.initial_effect(c)
--cannot attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c31733941.atklimit)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:Reg... | gpl-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/units/orc/burrow.lua | 1 | 6830 | -- Right click with peon: Move towards the burrow to get inside
-- Call up to 4 peons, prioritize idle builders
function BattleStations( event )
local caster = event.caster -- The Burrow
local hero = caster:GetOwner()
local ability = event.ability
local player = caster:GetPlayerOwner()
local units = FindAlliesIn... | gpl-3.0 |
Alkorin/nodemcu-firmware | lua_modules/redis/redis.lua | 86 | 2621 | ------------------------------------------------------------------------------
-- Redis client module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
--
-- Example:
-- local redis = dofile("redis.lua").connect(host, port)
-- redis:publish("chan1", foo")
-- redis:subscribe("... | mit |
FailcoderAddons/SVUI | SVUI_Skins/components/addons/Postal.lua | 2 | 2955 | --[[
##########################################################
S V U I By: Munglunch
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.selec... | mit |
mihailim/koreader | frontend/ui/gesturerange.lua | 5 | 2096 | local TimeVal = require("ui/timeval")
local GestureRange = {
-- gesture matching type
ges = nil,
-- spatial range limits the gesture emitting position
range = nil,
-- temproal range limits the gesture emitting rate
rate = nil,
-- scale limits of this gesture
scale = nil,
}
function Ges... | agpl-3.0 |
polarathene/biglobby | biglobby/lua/lib/managers/menu/_menuscenemanager.lua | 1 | 13298 | function MenuSceneManager:_setup_lobby_characters()
local num_player_slots = BigLobbyGlobals:num_player_slots()
-- Original Code --
if self._lobby_characters then
for _, unit in ipairs(self._lobby_characters) do
self:_delete_character_mask(unit)
World:delete_unit(unit)
end
end
self._lobby_characters ... | mit |
nekrozar/ygopro-scripts | c25652655.lua | 4 | 1274 | --チェンジ・シンクロン
function c25652655.initial_effect(c)
--position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(25652655,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BE_MATERIAL)
e1:SetCondition(c2... | gpl-2.0 |
nekrozar/ygopro-scripts | c68618157.lua | 9 | 2951 | --武神姫-アマテラス
function c68618157.initial_effect(c)
c:SetUniqueOnField(1,0,68618157)
--xyz summon
aux.AddXyzProcedure(c,nil,4,3)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(68618157,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:... | gpl-2.0 |
nekrozar/ygopro-scripts | c6917479.lua | 1 | 3785 | --ヴァンパイア・レッドバロン
function c6917479.initial_effect(c)
--control
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(6917479,0))
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c6917479.... | gpl-2.0 |
nekrozar/ygopro-scripts | c17021204.lua | 6 | 1177 | --マザー・スパイダー
function c17021204.initial_effect(c)
--spsummon proc
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(c17021204.spcon)
e1:SetOperation(c17021204.spop)
c:RegisterEffect(e1)... | gpl-2.0 |
finalsliver/supervillain-ui | SVUI_Skins/components/blizzard/garrison.lua | 2 | 29838 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
local ipairs = _G.ipairs;
local pairs ... | mit |
nekrozar/ygopro-scripts | c2122975.lua | 9 | 1197 | --トラップ・キャプチャー
function c2122975.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c2122975.condition)
e1:SetCost(c2122975.cost)
e1:SetOperation(c2122975.activate)
c:RegisterEffect(e1)
end
function c2122975.condition(e,tp,eg,e... | gpl-2.0 |
nekrozar/ygopro-scripts | c11366199.lua | 2 | 2674 | --ダーク・シムルグ
function c11366199.initial_effect(c)
--Attribute Dark
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_ADD_ATTRIBUTE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(ATTRIBUTE_WIND)
c:RegisterEffect(e1)
--special summon
local e2=Effec... | gpl-2.0 |
maxha651/Simple-Tiled-Implementation | plugins/box2d.lua | 1 | 7982 | --- Box2D plugin for STI
-- @module box2d
-- @usage Create a custom property named "collidable" in any layer, tile, or object with the value set to "true".
return {
--- Initialize Box2D physics world.
-- @param world The Box2D world to add objects to.
-- @return table List of collision objects
box2d_init = functio... | mit |
nekrozar/ygopro-scripts | c17259470.lua | 7 | 1785 | --ゾンビ・マスター
function c17259470.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17259470,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCos... | gpl-2.0 |
nekrozar/ygopro-scripts | c88301833.lua | 2 | 1675 | --昇華する魂
function c88301833.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--salvage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(88301833,0))
e2:SetCategory(CATEGORY_TOHAND)
e2:SetProperty(EFFECT... | gpl-2.0 |
jsitnicki/rushit | vendor/github.com/justincormack/ljsyscall/examples/event.lua | 23 | 1356 | -- example of event ioctls
local S = require "syscall"
local EV = S.c.EV
local MSC = S.c.MSC
local KEY = S.c.KEY
local kl = {}
for k, v in pairs(KEY) do kl[v] = k end
local oldassert = assert
local function assert(cond, s)
collectgarbage("collect") -- force gc, to test for bugs
return oldassert(cond, tostring(s... | apache-2.0 |
nekrozar/ygopro-scripts | c48115277.lua | 2 | 2407 | --ブロックマン
function c48115277.initial_effect(c)
--check
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e1:SetCondition(c48115277.regcon)
e1:SetOperation(c48115277.regop)
c:RegisterEffect(e1)
--token
local ... | gpl-2.0 |
Pandafuchs/iLife | client/Guis/Setting/changeSpawn.lua | 2 | 1753 | ChangeSpawn = {
["Window"] = false,
["Image"] = {},
["List"] = {},
["Label"] = {},
["Button"] = {}
}
function showChangeSpawnGui()
if (not clientBusy) then
hideChangeSpawnGui()
ChangeSpawn["Window"] = new(CDxWindow, "Spieler", 500, 310, true, true, "Center|Middle")
ChangeSpawn["Label"][1] = new(CDxL... | mit |
nekrozar/ygopro-scripts | c87917187.lua | 2 | 2471 | --暗黒の召喚神
function c87917187.initial_effect(c)
--Special Summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(87917187,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,87917187)
e1:SetCost(c87917187.spcost)
e1:SetTarget(... | gpl-2.0 |
sanjoydesk/FrameworkBenchmarks | frameworks/Lua/lapis/web.lua | 72 | 5957 | local lapis = require("lapis")
local db = require("lapis.db")
local Model
do
local _obj_0 = require("lapis.db.model")
Model = _obj_0.Model
end
local config
do
local _obj_0 = require("lapis.config")
config = _obj_0.config
end
local insert
do
local _obj_0 = table
insert = _obj_0.insert
end
local sort
do
loc... | bsd-3-clause |
nekrozar/ygopro-scripts | c63717421.lua | 1 | 2999 | --Boot-Up Order - Gear Charge
function c63717421.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,63717421+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c63717421.target)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffe... | gpl-2.0 |
kiarash14/snippyy | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
nekrozar/ygopro-scripts | c29999161.lua | 3 | 1726 | --発条の巻き戻し
function c29999161.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c29999161.targ... | gpl-2.0 |
nekrozar/ygopro-scripts | c12822541.lua | 3 | 2184 | --DDリリス
function c12822541.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,12822541... | gpl-2.0 |
VIPTEA/vipteam2 | plugin/l3.lua | 2 | 1978 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ By : @shaD_o ▀▄ ▄▀
▀▄ ▄▀ BY dev (shaD_o) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY shaD_o ▀▄ ▄▀
▀▄ ▄▀ chhanale : @vip_team1 ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀... | agpl-3.0 |
nekrozar/ygopro-scripts | c16643334.lua | 4 | 3861 | --輝光竜フォトン・ブラスト・ドラゴン
function c16643334.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--special summon (hand)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(16643334,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER... | gpl-2.0 |
kiarash14/snippyy | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
omidtarh/ebls | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
BlurryRoots/weltraumsteinekaputtmachen | src/processors/MissileProcessor.lua | 1 | 1986 | require ("lib.lclass")
require ("lib.yanecos.Processor")
require ("src.events.FireMissileEvent")
class "MissileProcessor" ("Processor")
function MissileProcessor:MissileProcessor (entityManager)
self.em = entityManager
self.missilesToBeFired = 0
self.reactions = {
FireMissileEvent = function ()
self.missil... | mit |
nekrozar/ygopro-scripts | c51227866.lua | 1 | 2165 | --閃刀機-シャークキャノン
function c51227866.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c51227866.condition)
e1:SetTarget(c51227866... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/applications/luci-splash/luasrc/model/cbi/splash/splashtext.lua | 2 | 1172 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Copyright 2010 Manuel Munz <freifunk@somakoma.de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Li... | gpl-3.0 |
SoScared/OpenRA | mods/d2k/maps/harkonnen-07/harkonnen07.lua | 4 | 9979 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 option) any later vers... | gpl-3.0 |
nekrozar/ygopro-scripts | c87911394.lua | 2 | 2433 | --CNo.39 希望皇ホープレイ・ヴィクトリー
function c87911394.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,3)
c:EnableReviveLimit()
--actlimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetRange(LOCATION_MZONE)
e1:S... | gpl-2.0 |
Pandafuchs/iLife | server/Manager/Faction/cFactionManager.lua | 2 | 5904 | CFactionManager = inherit(cSingleton)
function CFactionManager:constructor()
local start = getTickCount()
-- Factions
local result = CDatabase:getInstance():query("SELECT * FROM factions")
local members = CDatabase:getInstance():query("SELECT Name, Fraktion, Rank FROM userdata")
local factionMembers = {}
for ... | mit |
mohammdhossien/mmmm | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
mamaddeveloper/ultixxx | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
mohammad8/mohammad9 | plugins/Time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
disslove85/NOVA2-BOT | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
nekrozar/ygopro-scripts | c77372241.lua | 7 | 1102 | --フレムベル・グルニカ
function c77372241.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(77372241,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetRange(LOCA... | gpl-2.0 |
nekrozar/ygopro-scripts | c67964209.lua | 7 | 1524 | --神竜アクアバザル
function c67964209.initial_effect(c)
--todeck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(67964209,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c67964209.tdco... | gpl-2.0 |
nekrozar/ygopro-scripts | c64268668.lua | 2 | 2144 | --サイバー・オーガ
function c64268668.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(64268668,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(TIMING_BATTLE_PHASE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:Se... | gpl-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/mechanics/modifiers.lua | 1 | 3780 | -- Global item applier
function ApplyModifier( unit, modifier_name )
GameRules.Applier:ApplyDataDrivenModifier(unit, unit, modifier_name, {})
end
-- Goes through all modifiers
function CDOTA_BaseNPC:HasPurgableModifiers(bRemovePositiveBuffs)
local allModifiers = self:FindAllModifiers()
if bRemovePositiveBu... | gpl-3.0 |
nekrozar/ygopro-scripts | c26329679.lua | 4 | 1333 | --セイクリッド・オメガ
function c26329679.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),4,2)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26329679,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAI... | gpl-2.0 |
nekrozar/ygopro-scripts | c52038272.lua | 3 | 4818 | --インフェルノイド・ルキフグス
function c52038272.initial_effect(c)
c:EnableReviveLimit()
--special summon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--special summon
loc... | gpl-2.0 |
nekrozar/ygopro-scripts | c98252586.lua | 4 | 1660 | --フォロー・ウィンド
function c98252586.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(c98252586.target)
e1:SetOperation(c98252586.operation)
c:RegisterEffect(e... | gpl-2.0 |
nekrozar/ygopro-scripts | c47297616.lua | 2 | 3647 | --光と闇の竜
function c47297616.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--Attribute Dark
local e2=Effec... | gpl-2.0 |
ev1l0rd/yalnpv | dfhack/hack/lua/plugins/dfusion.lua | 1 | 7135 | -- Stuff used by dfusion
local _ENV = mkmodule('plugins.dfusion')
local ms=require("memscan")
local marker={0xDE,0xAD,0xBE,0xEF}
--utility functions
function dwordToTable(dword)
local b={bit32.extract(dword,0,8),bit32.extract(dword,8,8),bit32.extract(dword,16,8),bit32.extract(dword,24,8)}
return b
e... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.