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 |
|---|---|---|---|---|---|
nekrozar/ygopro-scripts | c30929786.lua | 3 | 2997 | --立炎星-トウケイ
function c30929786.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(30929786,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:... | gpl-2.0 |
xuejian1354/attitude_adjustment | feeds/luci/modules/niu/luasrc/model/cbi/niu/traffic/portfw1.lua | 49 | 2263 | --[[
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$
]]--
loca... | gpl-2.0 |
mihailim/koreader | frontend/ui/elements/filemanager_menu_order.lua | 1 | 4336 | local Device = require("device")
local order = {
["KOMenu:menu_buttons"] = {
"filemanager_settings",
"setting",
"tools",
"search",
"plus_menu",
"main",
},
filemanager_settings = {
"filemanager_display_mode",
"show_hidden_files",
"show_... | agpl-3.0 |
nekrozar/ygopro-scripts | c43002864.lua | 7 | 1160 | --レプティレス・ガードナー
function c43002864.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(43002864,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c43002864.condition)
e1:SetTarg... | gpl-2.0 |
Xanthin/minetest_game | mods/intllib/tools/updatetext.lua | 1 | 3108 | #! /usr/bin/env lua
local basedir = ""
if arg[0]:find("[/\\]") then
basedir = arg[0]:gsub("(.*[/\\]).*$", "%1"):gsub("\\", "/")
end
if basedir == "" then basedir = "./" end
-- Required by load_strings()
function string.trim(s)
return s:gsub("^%s*(.-)%s*$", "%1")
end
dofile(basedir.."/../lib.lua")
local me = arg[0... | lgpl-2.1 |
ld-test/lgi | lgi/override/Gio-DBus.lua | 3 | 2239 | ------------------------------------------------------------------------------
--
-- lgi Gio DBus override module.
--
-- Copyright (c) 2013 Pavel Holejsovsky
-- Licensed under the MIT license:
-- http://www.opensource.org/licenses/mit-license.php
--
------------------------------------------------------------------... | mit |
nekrozar/ygopro-scripts | c83629030.lua | 2 | 1781 | --トゥーン・サイバー・ドラゴン
function c83629030.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)
e1:SetCondition(c83629030.spcon)
c:RegisterEffect(e1)
--cannot attack
local e2... | gpl-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/heroes/firelord/arcana.lua | 1 | 1286 | function ModelChange( event )
local caster = event.caster
--[[
models/heroes/shadow_fiend/shadow_fiend_head.vmdl
models/heroes/shadow_fiend/shadow_fiend_arms.vmdl
models/heroes/shadow_fiend/shadow_fiend_shoulders.vmdl
]]
SwapWearable(caster, "models/heroes/shadow_fiend/shadow_f... | gpl-3.0 |
nekrozar/ygopro-scripts | c47027714.lua | 3 | 2930 | --TG ハルバード・キャノン/バスター
function c47027714.initial_effect(c)
aux.AddCodeList(c,80280737)
c:EnableReviveLimit()
--Cannot special summon
local e0=Effect.CreateEffect(c)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEff... | gpl-2.0 |
jungikim/OpenNMT | onmt/train/Trainer.lua | 3 | 14771 | local Trainer = torch.class('Trainer')
local options = {
{
'-save_every', 5000,
[[Save intermediate models every this many iterations within an epoch.
If = 0, will not save intermediate models.]],
{
valid = onmt.utils.ExtendedCmdLine.isInt(0)
}
},
{
'-save_every_epochs', 1,
[[... | mit |
zhoujijian/skynet-websocket | examples/login/gated.lua | 29 | 2208 | local msgserver = require "snax.msgserver"
local crypt = require "skynet.crypt"
local skynet = require "skynet"
local loginservice = tonumber(...)
local server = {}
local users = {}
local username_map = {}
local internal_id = 0
-- login server disallow multi login, so login_handler never be reentry
-- call by login ... | mit |
nekrozar/ygopro-scripts | c58699500.lua | 2 | 3472 | --彼岸の黒天使 ケルビーニ
function c58699500.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLevel,3),2,2)
--indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e1:SetProperty(EFFECT_FLAG_SET_AVAILA... | gpl-2.0 |
nekrozar/ygopro-scripts | c11234702.lua | 1 | 3043 | --TGスクリュー・サーペント
function c11234702.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
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+EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCou... | gpl-2.0 |
Lusito/premake | tests/base/test_path.lua | 1 | 8613 | --
-- tests/base/test_path.lua
-- Automated test suite for the action list.
-- Copyright (c) 2008-2013 Jason Perkins and the Premake project
--
local suite = test.declare("path")
--
-- path.getabsolute() tests
--
function suite.getabsolute_worksWithMissingSubdirs()
local expected = os.getcwd() .. "/a/b/c"
tes... | bsd-3-clause |
nekrozar/ygopro-scripts | c37279508.lua | 2 | 2768 | --No.37 希望織竜スパイダー・シャーク
function c37279508.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),4,2)
c:EnableReviveLimit()
--atk down
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(37279508,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(... | gpl-2.0 |
jungikim/OpenNMT | onmt/modules/JoinReplicateTable.lua | 8 | 4192 | local JoinReplicateTable, parent = torch.class('onmt.JoinReplicateTable', 'nn.Module')
function JoinReplicateTable:__init(dimensionReplicate, dimensionJoin, nInputDims)
parent.__init(self)
self.size = torch.LongStorage()
self.dimensionReplicate = dimensionReplicate
self.dimensionJoin = dimensionJoin
self.gra... | mit |
nekrozar/ygopro-scripts | c1372887.lua | 4 | 2174 | --相乗り
function c1372887.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,1372887+EFFECT_COUNT_CODE_OATH)
e1:SetOperation(c1372887.activate)
c:RegisterEffect(e1)
end
function c1372887.activa... | gpl-2.0 |
nekrozar/ygopro-scripts | c68809475.lua | 4 | 3232 | --コアキメイル・スピード
function c68809475.initial_effect(c)
--cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c6880... | gpl-2.0 |
Pandafuchs/iLife | client/Classes/World/cChurchBell.lua | 2 | 5502 | -- #######################################
-- ## Project: HUD iLife ##
-- ## For MTA: San Andreas ##
-- ## Name: ChurchBell.lua ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {... | mit |
Pandafuchs/iLife | server/System/dev.lua | 2 | 12857 | --setModelHandling ( 503, "maxVelocity", 10)
local pos={}
load_commands_func = function()
if(DEFINE_DEBUG) then
addCommandHandler("int", function (thePlayer,cmd, int)
if (tonumber(int) == 0) then
thePlayer:setPosition(pos[thePlayer:getName()]["X"],pos[thePlayer:getName()]["Y"], pos[thePlayer:getName()]["Z... | mit |
nekrozar/ygopro-scripts | c3026686.lua | 2 | 1590 | --ワルキューレ・ドリット
function c3026686.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3026686,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT... | gpl-2.0 |
venkatarajasekhar/bee | third_party/sodium/crypto_shorthash.lua | 2 | 1125 | local ffi = require "ffi"
local lib = ffi.load "sodium"
ffi.cdef [[
size_t crypto_shorthash_siphash24_bytes(void);
const char * crypto_shorthash_siphash24_primitive(void);
int crypto_shorthash_siphash24(unsigned char *,const unsigned char *,unsigned long long,const unsigned char *);
size_t crypto_shorthash_bytes(void)... | bsd-2-clause |
MegadreamsBE/BlueBird | BB_Maps/maps/race-shooter/[FUN]MegaDreams-ft-Rutyy-ParadiseShooterII/clientShooting.lua | 1 | 1038 | -- This script is created by MegaDreams for [FUN] MegaDreams ft. Rutyy - Paradise Shooter II, Don't even think about stealing it.
local shootingAllowed = true
function playerSpawn()
shootingAllowed = true
end
addEventHandler("onClientPlayerSpawn", getLocalPlayer(), playerSpawn)
function unlock()
shootingAllowed = ... | mit |
jsitnicki/rushit | vendor/github.com/justincormack/ljsyscall/syscall/openbsd/constants.lua | 24 | 20467 | -- tables of constants for NetBSD
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select
local abi =... | apache-2.0 |
Noneatme/mta-alan-wake | core/missions/5/CClient.lua | 1 | 2318 | --[[
##########################################################################
## ##
## Project: 'MTA Alan Wake' - Gamemode for Multi Theft Auto San Andreas ##
## Developer: Noneatme ##
## ... | gpl-3.0 |
PAC3-Server/notagain | lua/notagain/jrpg/autorun/client/hud.lua | 2 | 23231 | local jhud = _G.jhud or {}
_G.jhud = jhud
local draw_rect = requirex("draw_skewed_rect")
local prettytext = requirex("pretty_text")
local gradient = CreateMaterial(tostring({}), "UnlitGeneric", {
["$BaseTexture"] = "gui/center_gradient",
["$BaseTextureTransform"] = "center .5 .5 scale 1 1 rotate 90 translate 0 0",
... | gpl-3.0 |
sami2448/m | plugins/on-off.lua | 3 | 1701 | --shared by @blackHatChannel
-- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local functio... | gpl-2.0 |
nekrozar/ygopro-scripts | c57496978.lua | 2 | 2496 | --ぶつかり合う魂
function c57496978.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetCondition(c57496978.condition)
e1:SetOperation(c57496978.activate)
c:RegisterEffect(e1)
end
function c5749697... | gpl-2.0 |
Pandafuchs/iLife | server/Manager/Vehicle/cCustomSirenManager.lua | 2 | 2497 | -- #######################################
-- ## Project: MTA iLife ##
-- ## Name: CustomSirenManager.lua ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- #######################################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Functions
local... | mit |
VIPTEA/vipteam2 | plugin/inpm.lua | 2 | 9282 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_fi... | agpl-3.0 |
nekrozar/ygopro-scripts | c35268887.lua | 4 | 2642 | --ダメージ・トランスレーション
function c35268887.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetOperation(c35268887.activate)
c:RegisterEffect(e1)
if not c35268887.global_check then
c35268887.global_check=true
c35268887[0]=0
c35268887[1]=... | gpl-2.0 |
nekrozar/ygopro-scripts | c69723159.lua | 4 | 1368 | --武神器-ムラクモ
function c69723159.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69723159,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1,69723159)
e1:SetConditio... | gpl-2.0 |
nekrozar/ygopro-scripts | c56532353.lua | 4 | 2463 | --真青眼の究極竜
function c56532353.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeRep(c,89631139,3,true,true)
--chain attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_DAMAGE_STEP_END)
e1:SetCountLimit(2,56532353)
e1:SetCondit... | gpl-2.0 |
nekrozar/ygopro-scripts | c33541430.lua | 2 | 4215 | --花札衛-月花見-
function c33541430.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),2,2)
c:EnableReviveLimit()
--draw
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(33541430,0))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e... | gpl-2.0 |
sami2448/m | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
nekrozar/ygopro-scripts | c2407234.lua | 1 | 2464 | --No.69 紋章神コート・オブ・アームズ
function c2407234.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,3)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(2407234,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetOperatio... | gpl-2.0 |
nekrozar/ygopro-scripts | c56387350.lua | 2 | 1937 | --ヴァンパイア・ベビー
function c56387350.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56387350,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_PHASE+PHASE_BATTLE)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1... | gpl-2.0 |
ev1l0rd/yalnpv | dfhack/hack/scripts/devel/annc-monitor.lua | 1 | 1460 | -- Displays announcements in the DFHack console
--@ enable = true
--[[=begin
devel/annc-monitor
==================
Displays announcements and reports in the console.
:enable|start: Begins monitoring
:disable|stop: Stops monitoring
:interval X: Sets the delay between checks for
... | mit |
nekrozar/ygopro-scripts | c16990348.lua | 1 | 1241 | --猛進する剣闘獣
function c16990348.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c16990348.target)
e1:SetOperation(c16990348.activate)
c:RegisterEffect(e1... | gpl-2.0 |
nekrozar/ygopro-scripts | c52786469.lua | 9 | 1156 | --ラヴァル・ウォリアー
function c52786469.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52786469,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetConditio... | gpl-2.0 |
ErmanB/trivia | lua/trivia.lua | 26 | 5867 | local Game = {}
Game.__index = Game
function Game:new()
instance = {}
setmetatable(instance, Game)
instance.players = {}
instance.places = { 0,0,0,0,0,0}
instance.purses = { 0,0,0,0,0,0}
instance.in_penalty_box = {0,0,0,0,0,0}
instance.pop_questions = {}
instance.science_questions = {}
inst... | gpl-3.0 |
Pandafuchs/iLife | client/Classes/Hud/Handy/Elements/cHandyAppElement.lua | 2 | 5115 | --
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 05.01.2015
-- Time: 22:24
-- Project: MTA iLife
--
cHandyAppElement = {};
--[[
]]
local valid_hovermethods =
{
["size"] = true,
["none"] = true,
}
-- ///////////////////////////////
-- ///// OnClick //////
-- ///// Returns: void //////
-- ///////////... | mit |
SoScared/OpenRA | mods/cnc/maps/nod02a/nod02a.lua | 4 | 8127 | --[[
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 | c42566602.lua | 4 | 2205 | --瑚之龍
function c42566602.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42566602,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE... | gpl-2.0 |
nekrozar/ygopro-scripts | c18214905.lua | 1 | 2976 | --エレメントセイバー・ラパウィラ
function c18214905.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(18214905,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCode(EVENT_CHAINING)
e... | gpl-2.0 |
nekrozar/ygopro-scripts | c58990362.lua | 1 | 2069 | --秘竜星-セフィラシウゴ
function c58990362.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+EFFECT_FLAG_CANNOT_DISABLE+EFF... | gpl-2.0 |
sami2448/m | plugins/bugzilla.lua | 8 | 3984 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
nekrozar/ygopro-scripts | c87765315.lua | 1 | 1944 | --真竜の目覚め
function c87765315.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c87765315.condition)
e1:SetTarget(c87765315.target)
e1:SetOperation(c87765315.activate)
... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/essential/autorun/lua_error_hook.lua | 2 | 1436 | local debug_traceback2 = requirex("debug_traceback2")
local function hook_error(cb)
_G.old_glua_error = _G.old_glua_error or debug.getregistry()[1]
debug.getregistry()[1] = function(msg, ...)
local ok, err = pcall(function()
local stack = {}
for i = 0, math.huge do
local info = debug.getinfo(i)
if... | gpl-3.0 |
zhoujijian/skynet-websocket | service/cslave.lua | 5 | 6499 | local skynet = require "skynet"
local socket = require "skynet.socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
... | mit |
xuejian1354/attitude_adjustment | feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua | 80 | 1260 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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$
]]--
m = Map("mactodevinfo", lu... | gpl-2.0 |
dtaht/cerowrt-luci-3.3 | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua | 80 | 1260 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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$
]]--
m = Map("mactodevinfo", lu... | apache-2.0 |
nekrozar/ygopro-scripts | c15710054.lua | 1 | 2700 | --クローラー・アクソン
function c15710054.initial_effect(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(15710054,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,... | gpl-2.0 |
nekrozar/ygopro-scripts | c38777931.lua | 6 | 1166 | --リリース・リバース・バースト
function c38777931.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,TIMING_END_PHASE)
e1:SetCost(c38777931.cost)
e1:SetTarget(c38777931.target)
e1:SetOperation(c3877793... | gpl-2.0 |
nekrozar/ygopro-scripts | c54704216.lua | 1 | 2830 | --拷問車輪
function c54704216.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_STANDBY_PHASE,TIMINGS_CHECK_MONSTER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_CONTINUOUS_TARGET)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c36849933.lua | 1 | 3588 | --メガリス・オク
function c36849933.initial_effect(c)
c:EnableReviveLimit()
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36849933,0))
e1:SetCategory(CATEGORY_DRAW+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG... | gpl-2.0 |
nekrozar/ygopro-scripts | c87990236.lua | 3 | 1693 | --魅惑の堕天使
function c87990236.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,87990236+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c87990236.cost)
e1:SetTarget(c87990236.target)
e1:SetOperation(c... | gpl-2.0 |
zhoujijian/skynet-websocket | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
mobinantispam/telenymous | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
sami2448/spam | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
matinbot/matinboot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
crazyboy11/dd12 | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
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_print... | gpl-2.0 |
Maxsteam/FF | plugins/setbotphoto.lua | 18 | 1162 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
nekrozar/ygopro-scripts | c12071500.lua | 1 | 3092 | --ダーク・コーリング
function c12071500.initial_effect(c)
aux.AddCodeList(c,94820406)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c12071500.target)
e1:SetOperation(c12071500.activate)
... | gpl-2.0 |
adib1380/iranbot | plugins/anti-spam5.lua | 17 | 2434 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
nekrozar/ygopro-scripts | c63516460.lua | 6 | 1235 | --一陣の風
function c63516460.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,TIMING_END_PHASE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c63516460.condition)
e1:SetTarget(c6... | gpl-2.0 |
nekrozar/ygopro-scripts | c48768179.lua | 7 | 1771 | --黒蠍-強力のゴーグ
function c48768179.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(48768179,0))
e1:SetCategory(CATEGORY_TODECK+CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c48768179.condition)
e1:SetTarget(c487... | gpl-2.0 |
agladysh/luabins | test/test.lua | 4 | 20119 | -- ----------------------------------------------------------------------------
-- test.lua
-- Luabins test suite
-- See copyright notice in luabins.h
-- ----------------------------------------------------------------------------
package.cpath = "./?.so;"..package.cpath
local randomseed = 1235134892
--local randomse... | mit |
Lusito/premake | tests/actions/vstudio/vc200x/test_linker_block.lua | 1 | 5497 | --
-- tests/actions/vstudio/vc200x/test_linker_block.lua
-- Validate generation of VCLinkerTool blocks in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs200x_linker_block")
local vc200x = premake.vstudio.vc200x
--
-- S... | bsd-3-clause |
nekrozar/ygopro-scripts | c76305638.lua | 4 | 1352 | --岩の精霊 タイタン
function c76305638.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(c76305638.spcon)
e1:SetOperation(c76305638.spo... | gpl-2.0 |
siconos/siconos-deb | examples/Biology/StepSystem/gnuplot-tikz.lua | 2 | 74631 | --[[
This is the execution script for the `Lua generic terminal' driver.
This script provides an interface to the PGF/TikZ package for LaTeX.
Copyright 2008 Peter Hedwig <peter@affenbande.org>
Permission to use, copy, and distribute this software and its
documentation for any purpose with or without... | apache-2.0 |
nekrozar/ygopro-scripts | c65737274.lua | 3 | 2942 | --ドラゴラド
function c65737274.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65737274,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:SetTarget(c... | gpl-2.0 |
nekrozar/ygopro-scripts | c99004583.lua | 1 | 2139 | --アクションマジック-フルターン
function c99004583.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c99004583.condition)
e1:SetTarget(c99004583.target)
e1:SetOperation(c99004583.activate)
c:RegisterEffect(e1)
--set
local e2=Effect.Cre... | gpl-2.0 |
Lusito/premake | tests/actions/vstudio/cs2005/test_debug_props.lua | 1 | 1538 | --
-- tests/actions/vstudio/cs2005/test_debug_props.lua
-- Test debugging and optimization flags block of a Visual Studio 2005+ C# project.
-- Copyright (c) 2012 Jason Perkins and the Premake project
--
T.vstudio_cs2005_debug_props = {}
local suite = T.vstudio_cs2005_debug_props
local cs2005 = premake.vstudio.cs200... | bsd-3-clause |
nekrozar/ygopro-scripts | c72370114.lua | 3 | 2094 | --ギアギアタッカー
function c72370114.initial_effect(c)
--turn set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(72370114,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c72370114.target)
e1:SetOperation(c72370114.operation)
c:RegisterEff... | gpl-2.0 |
nekrozar/ygopro-scripts | c70655556.lua | 4 | 1125 | --スピア・シャーク
function c70655556.initial_effect(c)
--lvup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70655556,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c70655556.lvtg)
e1:SetOperation(c70655556.lvop)
c:RegisterEffect(e1)
--pierce
lo... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/jrpg/autorun/server/wepstats.lua | 2 | 17829 | wepstats = _G.wepstats or {}
wepstats.registered = wepstats.registered or {}
function wepstats.AddStatus(wep, class_name, ...)
if class_name ~= "base" and (not wep.wepstats or not wep.wepstats.base) then
wepstats.AddStatus(wep, "base")
end
wep.wepstats = wep.wepstats or {}
local status = setmetatable({}, wepst... | gpl-3.0 |
nekrozar/ygopro-scripts | c58471134.lua | 4 | 1527 | --水精鱗-アビスパイク
function c58471134.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58471134,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:... | gpl-2.0 |
polarathene/biglobby | biglobby/lua/lib/managers/_hudmanagerpd2.lua | 1 | 5443 | -- This references 4 as in the 4th panel on the UI(one on the furtherest right) by default.
-- Otherwise known as the local players UI panel.
-- By updating this value, we keep that consistency that the player is used to.
HUDManager.PLAYER_PANEL = BigLobbyGlobals:num_player_slots()
--Nothing seems to call this, I don'... | mit |
nekrozar/ygopro-scripts | c81197327.lua | 6 | 1496 | --E・HERO スチーム・ヒーラー
function c81197327.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,58932615,79979666,true,true)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(E... | gpl-2.0 |
nekrozar/ygopro-scripts | c90669991.lua | 6 | 1172 | --パイナップル爆弾
function c90669991.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c90669991.condition)
e1:SetTarget(c90669991.target)
e1:SetOperation(c90669991.activate)
c:RegisterEffect(... | gpl-2.0 |
nekrozar/ygopro-scripts | c29424328.lua | 9 | 1461 | --魔王ディアボロス
function c29424328.initial_effect(c)
--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)
c:RegisterEffect(e1)
--tribute limit
local e2=Effect.CreateEffect(c)
e2:... | gpl-2.0 |
nekrozar/ygopro-scripts | c4779823.lua | 7 | 3248 | --ライトロード・アーク ミカエル
function c4779823.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_LIGHT),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4779823,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_... | gpl-2.0 |
nekrozar/ygopro-scripts | c33327029.lua | 2 | 3016 | --メタルフォーゼ・カウンター
function c33327029.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CUSTOM+33327029)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCondition(c33327029.condition)
e1:SetTarget(c... | gpl-2.0 |
nekrozar/ygopro-scripts | c31764700.lua | 4 | 1934 | --ユベル-Das Extremer Traurig Drachen
function c31764700.initial_effect(c)
c:EnableReviveLimit()
--battle
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:Set... | gpl-2.0 |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts_addresses/advanced_scripts/moving_average_interval_compute_LS.lua | 1 | 3809 | -- Implement a moving-average script by saving values & computing a sum in the end.
--
-- The number of values currently cached & used for averaging
-- can be read through the USER_RAM0_U32 register.
local sampleIntervalHZ = 100 -- Sampling interval in HZ
local numSamplesToAverage = 100 -- Number of samples to cached ... | mit |
nekrozar/ygopro-scripts | c96216229.lua | 6 | 1140 | --剣闘獣の戦車
function c96216229.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c96216229.condition)
e1:SetTarget(c... | gpl-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/heroes/crypt_lord/impale.lua | 1 | 1450 | function Impale(event)
local caster = event.caster
local target = event.target
local ability = event.ability
if target:HasFlyMovementCapability() or target:IsMechanical() or target:IsWard() then return end
local air_time = ability:GetSpecialValueFor("air_time")
local duration = ability:GetLevelS... | gpl-3.0 |
xuejian1354/attitude_adjustment | feeds/luci/contrib/luadoc/lua/luadoc/init.lua | 172 | 1333 | -------------------------------------------------------------------------------
-- LuaDoc main function.
-- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $
-------------------------------------------------------------------------------
local require = require
local util = require "luadoc.util"
log... | gpl-2.0 |
NavidQuick/TeleSurena | plugins/anti_spam.lua | 4 | 4851 | --این پلاگین توسط : @ImanDaneshi
--سپاس فراوان از @MohammadArak
kicktable = {}
do
local TIME_CHECK = 2
local function pre_process(msg)
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
if msg.from.type == 'user' then
local hash = 'user:'..msg.from.id
print('Sav... | agpl-3.0 |
SoScared/OpenRA | mods/d2k/maps/harkonnen-06a/harkonnen06a.lua | 4 | 10560 | --[[
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 |
Pandafuchs/iLife | server/Classes/Quest/Scripts/13.lua | 2 | 1304 | local QuestID = 13
local Quest = Quests[QuestID]
Quest.Texts = {
["Accepted"] = "Besorge Ryder sein Weed!",
["Finished"] = "Du hast das Weed! Kehre nun zu Ryder zur\\ueck!"
}
addEventHandler("onClientCallsServerQuestScript", getRootElement(),
function(ID, Status, Data)
if (ID == QuestID) then
... | mit |
matinbot/apple_robot | plugins/admin.lua | 230 | 6382 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
delram/infx | plugins/leaders.lua | 5 | 12510 |
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 |
vanfanel/scummvm | devtools/create_ultima/files/ultima6/scripts/u6/actor.lua | 18 | 108701 | --io.stderr:write("actor.lua get here\n")
--Worktypes
WT_NOTHING = 0x0 --do nothing
WT_FOLLOW = 0x1 --follow avatar (in party)
WT_PLAYER = 0x2 --player mode
WT_FRONT = 0x3 --combat front
WT_REAR = 0x4 --combat rear
WT_FLANK ... | gpl-2.0 |
f4l0/DCS-ToggleSwitches | ToggleSwitchesMod/Mods/aircraft/MiG-21BIS/Input/MiG-21/joystick/default.lua | 1 | 78849 | --/N/ oct 2015
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 |
nekrozar/ygopro-scripts | c54266211.lua | 2 | 1364 | --エヴォルダー・ウルカノドン
function c54266211.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(54266211,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT... | gpl-2.0 |
Pandafuchs/iLife | client/Classes/Firework/Rocket/cRomanCandleBattery.lua | 2 | 1359 | --
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 26.12.2014
-- Time: 00:26
-- Project: MTA iLife
--
cRomanCandleBattery = {};
--[[
]]
-- ///////////////////////////////
-- ///// New //////
-- ///// Returns: Object //////
-- ///////////////////////////////
function cRomanCandleBattery:new(...)
local o... | mit |
nekrozar/ygopro-scripts | c12533811.lua | 2 | 1605 | --ベビー・トラゴン
function c12533811.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,1,3)
c:EnableReviveLimit()
--attack up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12533811,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetC... | gpl-2.0 |
Pandafuchs/iLife | server/Classes/Quest/Scripts/49.lua | 2 | 2182 | local QuestID = 49
local Quest = Quests[QuestID]
local QuestData = {}
local ChatTexts = {
[1] = "Reazon",
}
Quest.Texts = {
["Accepted"] = "Sage dem Attent\\aeter deine Antwort.",
["Finished"] = "Richtige Antwort! Kehre zum Auftraggeber zurueck!"
}
addEventHandler("onClientCallsServerQuestScript... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.