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 |
|---|---|---|---|---|---|
mercury233/ygopro-scripts | c4694209.lua | 2 | 2873 | --カードガード
function c4694209.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4694209,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c4694209.addct)
e1:SetOperation(c4694209.ad... | gpl-2.0 |
qq779089973/my_openwrt_mod | luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(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$
]]--
require("luci.i18n")
re... | mit |
Zenny89/darkstar | scripts/globals/spells/huton_san.lua | 17 | 1612 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Qufim_Island/npcs/Jiwon.lua | 17 | 1862 | -----------------------------------
-- Area: Qufim Island
-- NPC: Jiwon
-- Type: Outpost Vendor
-- @pos -249 -19 300 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globa... | gpl-3.0 |
mercury233/ygopro-scripts | c91279700.lua | 3 | 1805 | --ヴェルズ・オピオン
function c91279700.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa),4,2)
c:EnableReviveLimit()
--disable spsummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetP... | gpl-2.0 |
mercury233/ygopro-scripts | c16719140.lua | 2 | 3840 | --サブテラーの戦士
function c16719140.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(16719140,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,16719140)
e1:SetCost(c... | gpl-2.0 |
mercury233/ygopro-scripts | c34116027.lua | 6 | 1396 | --ドラグニティナイト-ガジャルグ
function c34116027.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),aux.NonTuner(Card.IsRace,RACE_WINDBEAST),1)
c:EnableReviveLimit()
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34116027,0))
e1:SetCategory(C... | gpl-2.0 |
SuperAwesomeLTD/thrift | test/lua/test_basic_client.lua | 57 | 7626 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file ... | apache-2.0 |
mercury233/ygopro-scripts | c85651167.lua | 4 | 2793 | --真紅眼の鉄騎士-ギア・フリード
function c85651167.initial_effect(c)
--destroy equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(85651167,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_EQUIP... | gpl-2.0 |
mercury233/ygopro-scripts | c20773176.lua | 2 | 1913 | --炎獣の影霊衣-セフィラエグザ
function c20773176.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+... | gpl-2.0 |
mercury233/ygopro-scripts | c62803464.lua | 1 | 3276 | --地霊媒師アウス
function c62803464.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,62803464)
e1:SetCost(c62803464.srcost)
e1:SetTarget(c62803464.srtg)
e1:SetOperation(c62803464.sr... | gpl-2.0 |
mercury233/ygopro-scripts | c1322368.lua | 2 | 2170 | --SPYRAL-ザ・ダブルヘリックス
function c1322368.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xee),2,2)
--change name
aux.EnableChangeCode(c,41091257,LOCATION_MZONE+LOCATION_GRAVE)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/mobskills/Calcifying_Deluge.lua | 25 | 1064 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
--------------... | gpl-3.0 |
mercury233/ygopro-scripts | c73941492.lua | 2 | 4102 | --調弦の魔術師
function c73941492.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_TUNE_MAGICIAN)
--pendulum summon
aux.EnablePendulumAttribute(c)
--atk&def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetRange(LOCATION_PZONE)
e1:SetTargetRange(LOCATION_MZONE,0)... | gpl-2.0 |
Cavitt/vanilla-ot | data/lib/033-ip.lua | 3 | 2463 | function doConvertIntegerToIp(int, mask)
local b = {
bit.urshift(bit.uband(int, 4278190080), 24),
bit.urshift(bit.uband(int, 16711680), 16),
bit.urshift(bit.uband(int, 65280), 8),
bit.urshift(bit.uband(int, 255), 0)
}
if(mask ~= nil) then
local m = {
bit.urshift(bit.uband(mask, 4278190080), 24),
bit... | agpl-3.0 |
valhallaGaming/uno | src_trunk/resources/social-system/c_friends.lua | 1 | 13164 | wFriends, bClose, imgSelf, lName, imgFlag, paneFriends, tMessage, bSendMessage, tFriends = nil
paneFriend = { }
local width, height = 300, 500
local scrWidth, scrHeight = guiGetScreenSize()
x = scrWidth/2 - (width/2)
y = scrHeight/2 - (height/2)
local tableFriends = nil
local fadeTimer = nil
local fad... | bsd-3-clause |
ajayk/kong | kong/cli/utils/ssl.lua | 3 | 2662 | local logger = require "kong.cli.utils.logger"
local utils = require "kong.tools.utils"
local IO = require "kong.tools.io"
local _M = {}
function _M.get_ssl_cert_and_key(kong_config)
local ssl_cert_path, ssl_key_path
if (kong_config.ssl_cert_path and not kong_config.ssl_key_path) or
(kong_config.ssl_key_path... | apache-2.0 |
mercury233/ygopro-scripts | c42461852.lua | 2 | 2147 | --サイバネット・ストーム
function c42461852.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk/def up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZON... | gpl-2.0 |
mercury233/ygopro-scripts | c88413677.lua | 2 | 2573 | --ドヨン@イグニスター
function c88413677.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88413677,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)
... | gpl-2.0 |
AntonioModer/fuccboiGDX | fuccboi/libraries/loveframes/libraries/util.lua | 6 | 10255 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- util library
loveframes.util = {}
--[[---------------------------------------------------------
- func: SetActiveSkin(n... | mit |
Zenny89/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f3.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 145 -34 20 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
mercury233/ygopro-scripts | c5821478.lua | 2 | 2776 | --トポロジック・ボマー・ドラゴン
function c5821478.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2)
c:EnableReviveLimit()
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(5821478,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIEL... | gpl-2.0 |
mercury233/ygopro-scripts | c13247801.lua | 2 | 2707 | --機甲部隊の防衛圏
function c13247801.initial_effect(c)
--activate
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--atk limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOC... | gpl-2.0 |
AntonioModer/fuccboiGDX | fuccboi/libraries/hump/vector.lua | 1 | 5544 | --[[
Copyright (c) 2010-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
mercury233/ygopro-scripts | c82670878.lua | 2 | 3853 | --血涙のオーガ
function c82670878.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82670878,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_CUSTOM+82670878)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c82670878.... | gpl-2.0 |
mercury233/ygopro-scripts | c81661951.lua | 6 | 1240 | --ドラグニティ-ミリトゥム
function c81661951.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(81661951,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:Se... | gpl-2.0 |
mercury233/ygopro-scripts | c21663205.lua | 2 | 1642 | --墓守の神職
function c21663205.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21663205,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+EFFECT_FLAG_DELA... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 36 | 1539 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/magic.lua | 2 | 58002 | require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/weather")
require("scripts/globals/utils")
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLING_MAGIC_SKILL = 35;
ELEMEN... | gpl-3.0 |
mercury233/ygopro-scripts | c93298460.lua | 6 | 1483 | --魔装戦士 ヴァンドラ
function c93298460.initial_effect(c)
--direct attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DIRECT_ATTACK)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(93298460,0))
e2:SetCategory(CATEGORY_TOHAND)
e2:SetType... | gpl-2.0 |
mercury233/ygopro-scripts | c52962804.lua | 2 | 1714 | --ドラグニティ・ドラフト
function c52962804.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,52962804+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c52962804.target)
c:RegisterEffect(e1)
--immune
local e2=Effect.CreateEffect(c)
e2:SetTyp... | gpl-2.0 |
guillaume144/jeu-rp | gamemode/modules/language/sh_interface.lua | 13 | 4169 | DarkRP.addLanguage = DarkRP.stub{
name = "addLanguage",
description = "Create a language/translation.",
parameters = {
{
name = "Language name",
description = "The short name of the language (\"en\" is English). Make sure the language name fits a possible value for gmod_langu... | mit |
Cavitt/vanilla-ot | data/npc/REFERENCETHESE/Thorgrinfarmine.lua | 1 | 2038 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function ... | agpl-3.0 |
Zenny89/darkstar | scripts/zones/Norg/npcs/Paito-Maito.lua | 34 | 2624 | -----------------------------------
-- Area: Norg
-- NPC: Paito-Maito
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-71.189713, -9.413510, 74.024879,
-71.674171, -9.317029, 73.054794,
-72.516525, -9.298064, 72.363213,
-73.432983, -9.220915, 71... | gpl-3.0 |
fusijie/cocos2d-x-samples | samples/KillBug/src/app/views/BugSprite.lua | 10 | 1088 |
local BugSprite = class("BugSprite", function(imageFilename)
local texture = display.getImage(imageFilename)
local frameWidth = texture:getPixelsWide() / 3
local frameHeight = texture:getPixelsHigh()
local spriteFrame = display.newSpriteFrame(texture, cc.rect(0, 0, frameWidth, frameHeight))
local ... | mit |
mercury233/ygopro-scripts | c79229522.lua | 2 | 1501 | --キメラテック・フォートレス・ドラゴン
function c79229522.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFunRep(c,70095154,c79229522.mfilter,1,63,true,true)
aux.AddContactFusionProcedure(c,c79229522.cfilter,LOCATION_ONFIELD,LOCATION_ONFIELD,c79229522.sprop(c))
--spsummon condition
local e1=Effect.Cr... | gpl-2.0 |
AntonioModer/fuccboiGDX | fuccboi/libraries/thranduil/Button.lua | 1 | 3611 | local Button = {}
Button.__index = Button
function Button.new(ui, x, y, w, h, settings)
local self = {}
self.ui = ui
self.id = self.ui.addToElementsList(self)
self.ix, self.iy = x, y
self.x, self.y = x, y
self.w, self.h = w, h
local settings = settings or {}
for k, v in pairs(settings... | mit |
Zenny89/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kocco_Ehllek.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kocco Ehllek
-- Type: Quest Giver
-- @zone: 94
-- @pos -41.465 -2.125 -163.018
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
mercury233/ygopro-scripts | c54407825.lua | 2 | 1740 | --驚天動地
function c54407825.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to deck
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TODECK)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e2:SetRange(LOCATION_SZONE... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Sauromugue_Champaign_[S]/Zone.lua | 16 | 1606 | -----------------------------------
--
-- Zone: Sauromugue_Champaign_[S] (98)
--
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Sauromugue_Champaign_[S]/... | gpl-3.0 |
mercury233/ygopro-scripts | c91135480.lua | 2 | 4109 | --クロノダイバー・ダブルバレル
function c91135480.initial_effect(c)
c:EnableReviveLimit()
aux.AddXyzProcedure(c,nil,4,2)
--Apply
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(91135480,0))
e1:SetCategory(CATEGORY_DISABLE+CATEGORY_ATKCHANGE+CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHA... | gpl-2.0 |
mercury233/ygopro-scripts | c38891741.lua | 2 | 1458 | --神の摂理
function c38891741.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c38891741.condition)
e1:SetCost(c38891741.cost)
e1:SetTarget(c38891741.target)
e1:SetOperation(c388... | gpl-2.0 |
mercury233/ygopro-scripts | c25847467.lua | 2 | 1081 | --暗黒界の刺客 カーキ
function c25847467.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(25847467,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c258474... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Upper_Jeuno/npcs/Appollonia.lua | 59 | 1039 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Appollonia
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Upper_Jeuno/TextIDs");
--... | gpl-3.0 |
ytodorov/AntServices | AdvancedNetToolsSolution/AntServicesMvc5/programs/Nmap/nselib/xmpp.lua | 3 | 16150 | --- A XMPP (Jabber) library, implementing a minimal subset of the protocol
-- enough to do authentication brute-force.
--
-- The XML parsing of tags isn't optimal but there's no other easy way
-- (nulls or line-feeds) to match the end of a message. The parse_tag
-- method in the XML class was borrowed from the initial ... | apache-2.0 |
mercury233/ygopro-scripts | c61068510.lua | 6 | 1269 | --トルネード
function c61068510.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c61068510.condition)
e1:SetTarget(c... | gpl-2.0 |
mercury233/ygopro-scripts | c8396952.lua | 4 | 1904 | --アルカナフォースⅠ-THE MAGICIAN
function c8396952.initial_effect(c)
--coin
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(8396952,0))
e1:SetCategory(CATEGORY_COIN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c8396952.cointg)
e1:SetOperation(c839695... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Northern_San_dOria/npcs/Helaku.lua | 22 | 2994 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Helaku
-- Involved in Missions 2-3
-- @zone 231
-- @pos 49 -2 -12
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Mog_Garden/Zone.lua | 28 | 1310 | -----------------------------------
--
-- Zone: Mog Garden (280)
--
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mog_Garden/TextIDs");
---------------------------... | gpl-3.0 |
mercury233/ygopro-scripts | c54484652.lua | 2 | 2422 | --超戦士カオス・ソルジャー
function c54484652.initial_effect(c)
c:SetSPSummonOnce(54484652)
c:EnableReviveLimit()
--damage
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:Se... | gpl-2.0 |
mercury233/ygopro-scripts | c54514594.lua | 4 | 1281 | --ヴォルカニック・ハンマー
function c54514594.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(54514594,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c54514594.cost)
e1:SetTarget(c54514594.target)
e1... | gpl-2.0 |
Distrotech/highlight | plugins/java_library.lua | 4 | 59696 | --[[
Sample plugin file for highlight 3.1
USAGE: highlight -I main.java --plug-in=plugin.lua
]]
Description="Add standard library class names to Java definition"
-- optional parameter: syntax description
function syntaxUpdate(desc)
if desc=="Java" then
table.insert( Keywords,
{ Id=2, List={
"AWTError", ... | gpl-3.0 |
mercury233/ygopro-scripts | c80230510.lua | 2 | 2172 | --埋葬されし生け贄
function c80230510.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c80230510.target)
e1:SetOperation(c80230510.activate)
c:RegisterEffect(e1)
end
function c80230510.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then... | gpl-2.0 |
mercury233/ygopro-scripts | c4068622.lua | 2 | 4126 | --BF-極光のアウロラ
function c4068622.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_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c4068622.spcon)
e1:... | gpl-2.0 |
mercury233/ygopro-scripts | c48179391.lua | 2 | 2475 | --オレイカルコスの結界
function c48179391.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCountLimit(1,48179391+EFFECT_COUNT_CODE_DUEL+EFFECT_COUNT_CODE_OATH)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c48179391.acttg)
e1:SetOperation(c48... | gpl-2.0 |
AleppoTeam/Aleppo | plugins/lock_media.lua | 11 | 1481 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
lo... | gpl-2.0 |
mercury233/ygopro-scripts | c55285840.lua | 2 | 3807 | --クロノダイバー・リダン
function c55285840.initial_effect(c)
c:EnableReviveLimit()
aux.AddXyzProcedure(c,nil,4,2)
--attach
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55285840,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetRange(LOCATION_MZONE)
e1:S... | gpl-2.0 |
mercury233/ygopro-scripts | c21576077.lua | 2 | 2359 | --喰光の竜輝巧
function c21576077.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21576077,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,21576077)
e1:SetTarget(c2... | gpl-2.0 |
mercury233/ygopro-scripts | c21200905.lua | 4 | 3141 | --アロマセラフィ-ジャスミン
function c21200905.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_PLANT),2,2)
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetRange(LOCATION_MZONE)
e1:S... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/spells/armys_paeon_ii.lua | 31 | 1390 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChec... | gpl-3.0 |
mercury233/ygopro-scripts | c14152693.lua | 2 | 3152 | --月光翠鳥
function c14152693.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14152693,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1... | gpl-2.0 |
mercury233/ygopro-scripts | c73694478.lua | 4 | 3113 | --転生の超戦士
function c73694478.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:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCountLimit(1,73694478+EFFECT_COUNT_COD... | gpl-2.0 |
mercury233/ygopro-scripts | c51773900.lua | 9 | 1112 | --カーム・マジック
function c51773900.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c51773900.condition)
e1:SetOperation(c51773900.operation)
c:RegisterEffect(e1)
end
function c51773900.condition(e,tp,eg,ep,ev,re,r,rp)
return D... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Port_San_dOria/npcs/Patolle.lua | 36 | 1790 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Patolle
-- Only sells when San d'Oria controlls Kuzotz Region
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop... | gpl-3.0 |
mercury233/ygopro-scripts | c99243014.lua | 2 | 2716 | --シンクロ・オーバーテイク
function c99243014.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,99243014+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c99243014.cost)
e1:S... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/The_Eldieme_Necropolis/TextIDs.lua | 7 | 2300 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6542; -- Obtained: <item>
GIL_OBTAINED = 6543; -- Obtained <number> gil
KEYITEM_OBTAINED = 6545; -- Obtain... | gpl-3.0 |
rouing/FHLG-BW | entities/entities/shot_explodingbar/init.lua | 1 | 1863 | /* ======================================
EXPLODING CROWBAR
====================================== */
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
function ENT:SpawnFunction( ply, tr )
if ( !tr.Hit ) then return end
local SpawnPos = tr.HitPos + tr.HitNormal * 20
local e... | unlicense |
Zenny89/darkstar | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 38 | 1409 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- @pos -115.933 -4.25 109.533 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
BlockMen/Wasteland | mods/wool/init.lua | 2 | 1804 | -- minetest/wool/init.lua
-- Backwards compatibility with jordach's 16-color wool mod
minetest.register_alias("wool:dark_blue", "wool:blue")
minetest.register_alias("wool:gold", "wool:yellow")
local wool = {}
-- This uses a trick: you can first define the recipes using all of the base
-- colors, and then some recipes... | gpl-3.0 |
mercury233/ygopro-scripts | c95750695.lua | 2 | 2777 | --スーペルヴィス
function c95750695.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+EFFECT_FLAG_CONTINUOUS_TARGET)
e1:SetTarget(c95750695.target)
e1:SetOperation(c95750695.op... | gpl-2.0 |
mercury233/ygopro-scripts | c11232355.lua | 6 | 2142 | --ディストラクター
function c11232355.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(11232355,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c11232355.descost)
e1:SetTarget(... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/social-system/s_player_rightclick.lua | 1 | 7451 | function retrievePlayerInfo(targetPlayer)
local accid = tonumber(getElementData(source, "gameaccountid"))
local targetID = tonumber(getElementData(targetPlayer, "gameaccountid"))
local result = mysql_query(handler, "SELECT friend FROM friends WHERE id = " .. accid .. " AND friend = " .. targetID .. " LIMIT 1")
... | bsd-3-clause |
linushsao/marsu_game-linus-v0.2 | mods/plantlife/farming/wheat.lua | 11 | 3878 |
local S = farming.intllib
-- wheat seeds
minetest.register_node("farming:seed_wheat", {
description = S("Wheat Seed"),
tiles = {"farming_wheat_seed.png"},
inventory_image = "farming_wheat_seed.png",
wield_image = "farming_wheat_seed.png",
drawtype = "signlike",
groups = {seed = 1, snappy = 3, attached_node = 1}... | gpl-3.0 |
Cavitt/vanilla-ot | data/talkactions/scripts/teleportto.lua | 1 | 1696 | function onSay(cid, words, param, channel)
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return true
end
local creature = getCreatureByName(param)
local player = getPlayerByNameWildcard(param)
local waypoint = getWaypointPosition(param)
local tile =... | agpl-3.0 |
mercury233/ygopro-scripts | c53567095.lua | 4 | 1671 | --ゴッドバードアタック
function c53567095.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCost(c53567095.cost... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1289 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
ArmanKiIng/telegram--bot | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
focusworld/telemamal | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
qq779089973/my_openwrt_mod | luci/modules/niu/luasrc/model/cbi/niu/network/etherwan.lua | 50 | 5482 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Copyright 2009 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://w... | mit |
mercury233/ygopro-scripts | c79402185.lua | 2 | 2943 | --ボンディング-D2O
function c79402185.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:SetCost(c79402185.cost)
e1:SetTarget(c79402185.target)
e1:SetOperation(c79402185.activate)
c:RegisterEffect(e1)
... | gpl-2.0 |
pekeler/arangodb | 3rdParty/V8-4.3.61/tools/gcmole/gcmole.lua | 26 | 13876 | -- Copyright 2011 the V8 project authors. 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, this list of ... | apache-2.0 |
Zenny89/darkstar | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Orange.lua | 48 | 2326 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Orange Bobble)
-- Type: Magian Trials NPC (Weapon/Empyrean Armor)
-- @pos -11 2.453 118 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/spells/bluemagic/seedspray.lua | 18 | 2149 | -----------------------------------------
-- Spell: Seedspray
-- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP
-- Spell cost: 61 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 61
-- Casti... | gpl-3.0 |
mercury233/ygopro-scripts | c36010310.lua | 2 | 2908 | --溟界の滓-ヌル
function c36010310.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36010310,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,36010310)
e1:SetCost(c36010310.tgcost)
e1:SetTarget(c36010310.tgt... | gpl-2.0 |
mercury233/ygopro-scripts | c63708033.lua | 2 | 1857 | --春化精と花蕾
function c63708033.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,63708033+EFFECT_COUNT_CODE_OATH)
e1:SetHintTiming(0,TIMINGS_CHECK_MONS... | gpl-2.0 |
dustine/ChargeTransmission | stdlib/prototype/prototype.lua | 1 | 1992 | --- Prototype module
-- @module Prototype
Prototype = {} --luacheck: allow defined top
Prototype.empty_sprite = require 'stdlib/prototype/modules/core'['empty_sprite']
Prototype.empty_animation = require 'stdlib/prototype/modules/core'['empty_animation']
--Quickly duplicate an existing prototype into a new one.
func... | mit |
mercury233/ygopro-scripts | c9794980.lua | 3 | 2436 | --夢幻転星イドリース
function c9794980.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(9794980,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,9794980)
e1:SetCondition... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Windurst_Walls/npcs/Raamimi.lua | 17 | 3005 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-81 Y:-9 Z:103
-- NPC: Raamimi
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
----------------------------... | gpl-3.0 |
youtube/cobalt | third_party/skia/tools/lua/ngrams.lua | 41 | 2106 | -- Generate n-grams of Skia API calls from SKPs.
-- To test this locally, run:
-- $ GYP_DEFINES="skia_shared_lib=1" make lua_pictures
-- $ out/Debug/lua_pictures -q -r $SKP_DIR -l tools/lua/ngrams.lua > /tmp/lua-output
-- $ lua tools/lua/ngrams_aggregate.lua
-- To run on Cluster Telemetry, copy and paste the contents... | bsd-3-clause |
SharpWoW/Command | EventHandler.lua | 1 | 1494 | --[[
* Copyright (c) 2011-2012 by Adam Hellberg.
*
* This file is part of Command.
*
* Command 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 option) any... | gpl-3.0 |
mercury233/ygopro-scripts | c57238939.lua | 4 | 1241 | --A・ジェネクス・リモート
function c57238939.initial_effect(c)
--cos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(57238939,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c57238939.costg)
e1:SetOperation(c57238939.... | gpl-2.0 |
Firew0lf/ctruLua | sdcard/3ds/ctruLua/libs/filepicker.lua | 2 | 10207 | local ctr = require('ctr')
local keyboard = require('keyboard')
local gfx = ctr.gfx
local externalConfig
local function gfxPrepare()
local old = {gfx.get3D(), gfx.color.getDefault(), gfx.color.getBackground(),
gfx.font.getDefault(), gfx.font.getSize()}
local mono = gfx.font.load(ctr.root .. "resources/VeraMono.... | gpl-3.0 |
AlmightyLaxz/gmRPG | entities/entities/rpg_npc_supermarket.lua | 1 | 1297 | AddCSLuaFile()
ENT.Base = "rpg_npc_merchant_base"
ENT.Type = "ai"
ENT.PrintName = "NPC Supermarket Worker"
ENT.Author = "Almighty Laxz"
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
ENT.Category = "gmRPG"
ENT.Spawnable = true
local title... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Lower_Jeuno/npcs/Navisse.lua | 34 | 4871 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Navisse
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/pathfind");
local path = {
-- -59.562683, 6.000... | gpl-3.0 |
mercury233/ygopro-scripts | c9628664.lua | 9 | 1444 | --地母神アイリス
function c9628664.initial_effect(c)
--chain
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c9628664.chop)
c:RegisterEffect(e1)
--draw
local e2=Effec... | gpl-2.0 |
1yvT0s/lit | libs/db.lua | 5 | 6462 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
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 law o... | apache-2.0 |
mercury233/ygopro-scripts | c97729135.lua | 2 | 3652 | --にらみ合い
function c97729135.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--move
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(97729135,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:S... | gpl-2.0 |
xin3liang/platform_external_chromium_org_third_party_skia | tools/lua/scrape_dashing.lua | 160 | 2495 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
blooblahguy/bdCore | lib/oUF/colors.lua | 2 | 8283 | local parent, ns = ...
local oUF = ns.oUF
local Private = oUF.Private
local frame_metatable = Private.frame_metatable
local colors = {
smooth = {
1, 0, 0,
1, 1, 0,
0, 1, 0
},
health = {49 / 255, 207 / 255, 37 / 255},
disconnected = {0.6, 0.6, 0.6},
tapped = {0.6, 0.6, 0.6},
runes = {
{247 / 255, 65 / 25... | gpl-3.0 |
mercury233/ygopro-scripts | c42280216.lua | 6 | 1690 | --太陽の神官
function c42280216.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(c42280216.spcon)
c:RegisterEffect(e1)
--search
local e2=Effect.CreateEf... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.