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 |
|---|---|---|---|---|---|
destdev/ygopro-scripts | c94973028.lua | 2 | 3629 | --幻獣機コルトウィング
function c94973028.initial_effect(c)
--level
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetValue(c94973028.lvval)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/The_Boyahda_Tree/Zone.lua | 9 | 1831 | -----------------------------------
--
-- Zone: The_Boyahda_Tree (153)
--
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/The_Bo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Lokpix.lua | 13 | 2157 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lokpix
-- Starts Quest "Open Sesame"
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Eastern_Altepa_Desert/TextIDs");
require("s... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua | 6 | 3539 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Kirin
-----------------------------------
package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil;
-----------------------------------
require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" );
require( "scripts/globals/titles"... | gpl-3.0 |
vitorloco/BolScripts | LucianMechanics.lua | 21 | 20064 | --[[
_____ _____ __ .__
/ \_______ / _ \________/ |_|__| ____ __ __ ____ ____
/ \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \
/ Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> )
\____|__ /__| \___... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Lower_Jeuno/npcs/Sniggnix.lua | 19 | 2175 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sniggnix
-- Type: Standard NPC
-- @zone: 245
-- @pos -45.832 4.498 -135.029
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------... | gpl-3.0 |
destdev/ygopro-scripts | c87819421.lua | 6 | 1358 | --マスク・チャージ
function c87819421.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:SetTarget(c87819421.target)
e1:SetOperation(c87819421.activate)
c:RegisterEffect(e1... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Windurst_Woods/npcs/Ronana.lua | 53 | 1810 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ronana
-- Type: Bonecraft Image Support
-- @pos -1.540 -6.25 -144.517 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-splash/luasrc/controller/splash/splash.lua | 11 | 4781 | module("luci.controller.splash.splash", package.seeall)
local uci = luci.model.uci.cursor()
local util = require "luci.util"
local ipc = require "luci.ip"
function index()
entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90)
entry({"admin", "services", "splash", "splashtext" }, form(... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/_unused/13_mainarea.lua | 5 | 6057 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Lleafll/ldots | Libs/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua | 91 | 1890 | --[[-----------------------------------------------------------------------------
SimpleGroup Container
Simple container widget that just groups widgets.
-------------------------------------------------------------------------------]]
local Type, Version = "SimpleGroup", 20
local AceGUI = LibStub and LibStub("AceGUI-3... | mit |
PokeD/PokeD.Server.NetCore | PokeD.Server.NetCore/Scripts/Lua/DISABLED/chatchannel_test.lua | 3 | 1227 | Name = "Lua Test Chat"
Description = "Lua Test Chat System."
Alias = "lglobal"
local Subscribers = {}
--[[---------------------------------------------------------
Name: MessageSend
Desc:
-----------------------------------------------------------]]
function MessageSend(chatMessage)
for key,value in pai... | mit |
destdev/ygopro-scripts | c58074177.lua | 2 | 4913 | --覇王白竜オッドアイズ・ウィング・ドラゴン
function c58074177.initial_effect(c)
c:EnableReviveLimit()
aux.EnablePendulumAttribute(c,false)
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),aux.NonTuner(Card.IsSetCard,0xff),1,1)
--atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58074... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua | 13 | 1587 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Flame Spout
-- @pos 193.967 -0.400 19.492 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrad... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Promyvion-Mea/Zone.lua | 9 | 2269 | -----------------------------------
--
-- Zone: Promyvion-Mea (20)
--
-----------------------------------
local ID = require("scripts/zones/Promyvion-Mea/IDs")
require("scripts/globals/promyvion")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/settings")
require("script... | gpl-3.0 |
destdev/ygopro-scripts | c25345186.lua | 4 | 1467 | --ジェノサイド・ウォー
function c25345186.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c25345186.condition)
e1:SetOperation(c25345186.activate)
c:RegisterEffect(e1)
end
function c25345186.condition(e,tp,eg,ep,ev,re,r,rp)
return ... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Apollyon/bcnms/Central_Apollyon.lua | 17 | 1182 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Central_Apollyon]UniqueID",G... | gpl-3.0 |
destdev/ygopro-scripts | c13482075.lua | 1 | 3003 | --ヴェンデット・キマイラ
function c13482075.initial_effect(c)
c:EnableReviveLimit()
--Negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(13482075,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STE... | gpl-2.0 |
destdev/ygopro-scripts | c62892347.lua | 2 | 3248 | --アルカナフォース0-THE FOOL
function c62892347.initial_effect(c)
--battle indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_CANN... | gpl-2.0 |
Kong/kong | spec/02-integration/05-proxy/27-lua-ssl-trusted-cert_spec.lua | 1 | 2648 | local helpers = require "spec.helpers"
for _, strategy in helpers.each_strategy() do
local bp
local postgres_only = strategy == "postgres" and it or pending
describe("lua_ssl_trusted_cert #" .. strategy, function()
before_each(function()
bp = helpers.get_db_utils(strategy, {
"routes",
... | apache-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/eric_13.lua | 6 | 1576 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/serpentine_tail.lua | 11 | 1275 | ---------------------------------------------
-- Serpentine Tail
--
-- Description: Deals heavy damage to a target behind the user.
-- Type: Physical
-- 2-3 Shadows
-- Range: Back
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/gl... | gpl-3.0 |
destdev/ygopro-scripts | c63941210.lua | 4 | 2960 | --壊星壊獣ジズキエル
function c63941210.initial_effect(c)
c:SetUniqueOnField(1,0,aux.FilterBoolFunction(Card.IsSetCard,0xd3),LOCATION_MZONE)
--special summon rule
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/green_quiche.lua | 18 | 1449 | -----------------------------------------
-- ID: 5170
-- Item: green_quiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
alimashmamali/BoT-tG | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- 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 api_key = mashape.api_key
if ... | gpl-2.0 |
lyntel/OpenRA | mods/cnc/maps/nod04a/nod04a.lua | 12 | 10852 | NodUnitsBuggy = { 'bggy', 'bggy', 'bggy', 'bggy', 'bggy' }
NodUnitsBikes = { 'bike', 'bike', 'bike' }
NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' }
NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' }
Atk6Units = { 'c1', 'c2', 'c3' }
Atk5Units = { 'e1', 'e1', 'e2', 'e2' }
Atk1Units = { 'e1', 'e1' }
XxxxUn... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/serving_of_golden_royale.lua | 11 | 1194 | -----------------------------------------
-- ID: 5558
-- Item: Serving of Golden Royale
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +10
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
---------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c78610936.lua | 2 | 2252 | --エクシーズ・オーバーディレイ
function c78610936.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOEXTRA+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/trial_by_earth.lua | 27 | 1869 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/que... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/wanion.lua | 12 | 1508 | ---------------------------------------------
-- Wanion
-- Transfers all ailments the Seether itself has to players in AoE range.
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/status")
require("scripts/globals/msg")
-------------------------------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/commands/checkmission.lua | 4 | 3790 | ---------------------------------------------------------------------------------------------------
-- func: @checkmission <Log ID> <Player>
-- desc: Prints current MissionID for the given LogID and target Player to the in game chatlog
------------------------------------------------------------------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Dynamis-Qufim/IDs.lua | 9 | 8481 | -----------------------------------
-- Area: Dynamis-Qufim
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/dynamis")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.DYNAMIS_QUFIM] =
{
text =
{
ITEM_... | gpl-3.0 |
destdev/ygopro-scripts | c35498188.lua | 1 | 2651 | --アクションマジック-ダブル・バンキング
function c35498188.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c35498188.condition)
e1:SetCost(c35498188.cost)
e1:SetTarget(c35498188.target)
e1:SetOperation(c35498188.activate)
c:RegisterEffect... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/entities/krilleggs.lua | 5 | 2603 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
nikai3d/naev | dat/factions/spawn/trader.lua | 11 | 2162 | include("dat/factions/spawn/common.lua")
-- @brief Spawns a small trade fleet.
function spawn_patrol ()
local pilots = {}
local r = rnd.rnd()
if r < 0.5 then
scom.addPilot( pilots, "Trader Llama", 20 );
elseif r < 0.8 then
scom.addPilot( pilots, "Trader Llama", 20 );
scom.addPilo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Port_Bastok/npcs/Ferrol.lua | 7 | 3222 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ferrol
-- Starts Quest: Trial Size Trial by Earth
-- @pos 33.708 6.499 -39.425 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
destdev/ygopro-scripts | c42143067.lua | 2 | 2237 | --怒気土器
function c42143067.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42143067,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,42143067)
e1:SetCost(c42143067.spcost)
e1:SetTarget(c4... | gpl-2.0 |
sheldon/epgp | localization/localization.deDE.lua | 4 | 12684 | local L = LibStub("AceLocale-3.0"):NewLocale("EPGP", "deDE")
if not L then return end
L["Alts"] = "Twinks"
L["A member is awarded EP"] = "Ein Mitglied hat EP erhalten"
L["A member is credited GP"] = "Einen Mitglied wurden GP angerechnet"
L["A new tier is here! You should probably reset or rescale GP (Interface -> Opt... | bsd-3-clause |
ffxijuggalo/darkstar | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 9 | 1974 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
local ID = require("scripts/zones/Port_Windurst/IDs");
-----------------------------------
function onTrade(player,... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Nashmau/npcs/Neneroon.lua | 13 | 1057 | ----------------------------------
-- Area: Nashmau
-- NPC: Neneroon
-- Type: Item Deliverer
-- @pos -0.866 -5.999 36.942 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Upper_Jeuno/npcs/Shiroro.lua | 13 | 1357 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Shiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
------------... | gpl-3.0 |
destdev/ygopro-scripts | c49306994.lua | 1 | 4961 | --白のヴェール
function c49306994.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(c49306994.target)
e1:SetOperation(c49306994.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
destdev/ygopro-scripts | c78859567.lua | 1 | 1816 | --パケットリンク
function c78859567.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,78859567+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c78859567.condition)
e1:SetTarget(c78859567.target)
... | gpl-2.0 |
maikerumine/grieftest | mods/default/mcl_end.lua | 1 | 8388 | -- Nodes
minetest.register_node("default:end_stone", {
description = "End Stone",
tiles = {"mcl_end_end_stone.png"},
stack_max = 64,
groups = {cracky=2, stone = 1},
--light_source = default.LIGHT_MAX - 7, --test only
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:end_bricks", {
... | lgpl-2.1 |
Deadwing888/darkstar | scripts/zones/Norg/npcs/Aeka.lua | 13 | 3278 | -----------------------------------
-- Area: Norg
-- NPC: Aeka
-- Involved in Quest: Forge Your Destiny
-- @zone 252
-- @pos 4 0 -4
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
ho3einkj/antispam | plugins/qr.lua | 21 | 1783 | --- https://github.com/amirhmz
--- https://telegram.me/AmirDark
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) do
if color ==... | gpl-2.0 |
destdev/ygopro-scripts | c74937659.lua | 1 | 3641 | --サブテラーマリスの妖魔
function c74937659.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_FLIP),2,2)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_MATERIAL_CHECK)
e1:SetValue(c74937659.matcheck)
c:Registe... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/cone_calamary.lua | 18 | 1313 | -----------------------------------------
-- ID: 5128
-- Item: Cone Calamary
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
cjcer/ABTestingGateway | lib/resty/lock.lua | 26 | 4451 | -- Copyright (C) Yichun Zhang (agentzh)
local ffi = require "ffi"
local ffi_new = ffi.new
local shared = ngx.shared
local sleep = ngx.sleep
local shdict_mt
local debug = ngx.config.debug
local setmetatable = setmetatable
local getmetatable = getmetatable
local tonumber = tonumber
local _M = { _VERSION = '0.04' }
lo... | mit |
Deadwing888/darkstar | scripts/globals/spells/curaga_ii.lua | 28 | 1277 | -----------------------------------------
-- Spell: Curaga II
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn | lua/ai/h_formation-ai.lua | 2 | 14759 | function sgs.ai_skill_invoke.ziliang(self, data)
self.ziliang_id = nil
local damage = data:toDamage()
if hasManjuanEffect(damage.to) then return false end
if not self:isFriend(damage.to) then
if damage.to:getPhase() == sgs.Player_NotActive and self:needKongcheng(damage.to, true) then
local ids = sgs.QList2Tabl... | lgpl-3.0 |
destdev/ygopro-scripts | c75119040.lua | 2 | 2361 | --ティンダングル・アキュート・ケルベロス
function c75119040.initial_effect(c)
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x10b),3,3)
--atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange... | gpl-2.0 |
destdev/ygopro-scripts | c1689516.lua | 2 | 1220 | --百獣大行進
function c1689516.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c1689516.condition)
e1:SetTarget(c... | gpl-2.0 |
destdev/ygopro-scripts | c50449881.lua | 4 | 1969 | --シャーク・フォートレス
function c50449881.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,5,2)
c:EnableReviveLimit()
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50449881,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(L... | gpl-2.0 |
destdev/ygopro-scripts | c34026662.lua | 2 | 1277 | --進化の奇跡
function c34026662.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c34026662.target)
e1:SetOperation(c34026662.activate)
c:RegisterEffect(e1)
end
function c34026662.filter(c)
... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/pipira.lua | 18 | 1400 | -----------------------------------------
-- ID: 5787
-- Item: pipira
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Attack % 14.5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/skullbreaker.lua | 10 | 1543 | -----------------------------------
-- Skullbreaker
-- Club weapon skill
-- Skill level: 150
-- Lowers enemy's INT. Chance of lowering INT varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- Element: None
-- Modifiers: STR:100%
--... | gpl-3.0 |
destdev/ygopro-scripts | c85004150.lua | 2 | 1937 | --電子光虫-ライノセバス
function c85004150.initial_effect(c)
c:EnableReviveLimit()
--xyz summon
aux.AddXyzProcedure(c,c85004150.mfilter,7,2,c85004150.ovfilter,aux.Stringid(85004150,0),99,c85004150.xyzop)
--destroy
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Apollyon/bcnms/SW_Apollyon.lua | 34 | 1162 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[SW_Apollyon]UniqueID",Gener... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Lower_Jeuno/npcs/Biora.lua | 13 | 1038 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Biora
-- Type: Map Viewer
-- @zone: 245
-- @pos -28.768 -2 -11.300
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
fodinabor/Polycode | bindings/lua/Polycode/SceneImage.lua | 1 | 1985 | require "Polycode/ScenePrimitive"
class "SceneImage" (ScenePrimitive)
function SceneImage:SceneImage(...)
local arg = {...}
if type(arg[1]) == "table" and count(arg) == 1 then
if ""..arg[1].__classname == "ScenePrimitive" then
self.__ptr = arg[1].__ptr
return
end
end
for k,v in pairs(arg) do
if type(... | mit |
rezatak21/TeleTakTaz | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mathlouq.lua | 13 | 1044 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mathlouq
-- Type: Standard NPC
-- @pos -92.892 -7 129.277 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/zone.lua | 9 | 15907 | ------------------------------------
--
-- Contains global functions and variables
-- related to area specific things
--
------------------------------------
require('scripts/globals/settings')
------------------------------------
dsp = dsp or {}
dsp.zoneType =
{
NONE = 0,
CITY = 1,
OU... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Bibiki_Bay/npcs/qm4.lua | 13 | 1424 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: ??? COP mission spawn Dalham
-- @pos
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
streamdataio/kong | kong/plugins/mashape-analytics/buffer.lua | 8 | 8431 | -- ALF buffer module
--
-- This module contains a buffered array of ALF objects. When the buffer is full (max number of entries
-- or max payload size), it is converted to a JSON payload and moved a queue of payloads to be
-- sent to the server.
--
-- 1 buffer of ALFs (gets flushed once it reached the mmax size)
-- 1 q... | apache-2.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Barbed_Crescent.lua | 43 | 1031 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("scri... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua | 37 | 3193 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ojha Rhawash
-- Starts and Finishes Quest: Flower Child
-- @zone 239
-- @pos -209 0 -134
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Windurst_Walls/TextID... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/ulbukan_lobster.lua | 18 | 1399 | -----------------------------------------
-- ID: 5960
-- Item: Ulbukan Lobster
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- Defense +9%
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c63300440.lua | 6 | 1753 | --ドラゴン・シールド
function c63300440.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(c63300440.target)
e1:SetOperation(c63300440.operation)
c:RegisterEffect(e... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/weaponskills/raging_fists.lua | 10 | 1445 | -----------------------------------
-- Raging Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 125
-- Delivers a fivefold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30% DEX:30%
-- 100%TP 2... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/West_Ronfaure/npcs/Field_Manual.lua | 30 | 1055 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/high-tension_discharger.lua | 11 | 1440 | ---------------------------------------------------
-- High-Tension_Discharger
-- Description: Discharges a powerful current that deals Lightning damage to players in a fan-shaped area.
-- Additional effect: Stun
-- Type: Magical
---------------------------------------------
require("scripts/globals/monstertpmoves")
re... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Cloister_of_Tides/bcnms/trial-size_trial_by_water.lua | 6 | 1851 | -----------------------------------
-- Area: Cloister of Tides
-- BCNM: Trial-size Trial by Water
-----------------------------------
local ID = require("scripts/zones/Cloister_of_Tides/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/quests")
-----------------------------------
function onBattlef... | gpl-3.0 |
destdev/ygopro-scripts | c48468330.lua | 4 | 1989 | --魔神童
function c48468330.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(48468330,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,484... | gpl-2.0 |
maikerumine/grieftest | mods/farming/beanpole.lua | 2 | 4534 | --[[
All textures by
(C) Auke Kok <sofar@foo-projects.org>
CC-BY-SA-3.0
]]
local S = farming.intllib
-- beans
minetest.register_craftitem("farming:beans", {
description = S("Green Beans"),
inventory_image = "farming_beans.png",
on_use = minetest.item_eat(1),
on_place = function(itemstack, placer, pointed_thin... | lgpl-2.1 |
RwNigma/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ej.lua | 17 | 3315 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #6 (J out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/colored_egg.lua | 11 | 1033 | -----------------------------------------
-- ID: 4487
-- Item: colored_egg
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Attack 3
-- Ranged Attack 2
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dkhaaya.lua | 17 | 2387 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dkhaaya
-- Type: Standard NPC
-- @pos -73.212 -1 -5.842 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche_2.lua | 8 | 1057 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Eald'Narche - Phase 2
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitia... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/homura.lua | 41 | 1064 | -----------------------------------------
-- ID: 16973
-- Item: Homura
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
... | gpl-3.0 |
destdev/ygopro-scripts | c67381587.lua | 4 | 2041 | --黒猫の睨み
function c67381587.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c67381587.condition)
e1:SetOperation(c67381587.activate)
c:RegisterEffect(e1)
--position change
local e2=Effect.CreateEffect(c)
e2:SetCategory(C... | gpl-2.0 |
destdev/ygopro-scripts | c57036718.lua | 4 | 1848 | --ズバババスター
function c57036718.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetOperation(c57036718.damop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(57036718,0))
e2:Set... | gpl-2.0 |
destdev/ygopro-scripts | c32995276.lua | 2 | 1577 | --リンク・ディサイプル
function c32995276.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,c32995276.matfilter,1,1)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(32995276,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_PLAY... | gpl-2.0 |
destdev/ygopro-scripts | c50491121.lua | 4 | 1482 | --H・C スパルタス
function c50491121.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50491121,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_ATTACK_... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/West_Ronfaure/npcs/qm4.lua | 13 | 1690 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm4 (???)
-- Involved in Quest: The Dismayed Customer
-- @pos -399 -10 -438 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua | 58 | 1887 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Cavernous Maw
-- @pos 368.980, -0.443, -119.874 103
-- Teleports Players to Abyssea Misareaux
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/turret.lua | 6 | 4662 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/AceGUI-3.0/widgets/AceGUIwidget-Button.lua | 2 | 2460 | --[[-----------------------------------------------------------------------------
Button Widget
Graphical Button.
-------------------------------------------------------------------------------]]
local Type, Version = "Button", 21
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidget... | gpl-3.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/LibStub/LibStub.lua | 17 | 1362 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | gpl-3.0 |
destdev/ygopro-scripts | c31924889.lua | 4 | 2348 | --アーカナイト・マジシャン
function c31924889.initial_effect(c)
c:EnableCounterPermit(0x1)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_SPELLCASTER),1)
c:EnableReviveLimit()
--attackup
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetProp... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Gusgen_Mines/TextIDs.lua | 15 | 1706 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
domoticz/domoticz | dzVents/runtime/device-adapters/kwh_device.lua | 9 | 1217 | return {
baseType = 'device',
name = 'kWh device adapter',
matches = function (device, adapterManager)
local res = (device.deviceSubType == 'kWh')
if (not res) then
adapterManager.addDummyMethod(device, 'updateElectricity')
end
return res
end,
process = function (device, data, domoticz, utils, adapt... | gpl-3.0 |
sheldon/epgp | libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua | 69 | 3574 | --[[-----------------------------------------------------------------------------
BlizOptionsGroup Container
Simple container widget for the integration of AceGUI into the Blizzard Interface Options
-------------------------------------------------------------------------------]]
local Type, Version = "BlizOptionsGroup... | bsd-3-clause |
Lleafll/ldots | Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua | 69 | 3574 | --[[-----------------------------------------------------------------------------
BlizOptionsGroup Container
Simple container widget for the integration of AceGUI into the Blizzard Interface Options
-------------------------------------------------------------------------------]]
local Type, Version = "BlizOptionsGroup... | mit |
ffxijuggalo/darkstar | scripts/globals/spells/plenilune_embrace.lua | 12 | 2012 | -----------------------------------------
-- Spell: Plenilune Embrace
-- Restores target party member's HP and enhances attack and magic attack..
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings")
require(... | gpl-3.0 |
destdev/ygopro-scripts | c71650854.lua | 1 | 1943 | --半魔導帯域
function c71650854.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c71650854.condition)
c:RegisterEffect(e1)
--indes/target
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/plate_of_barnacle_paella.lua | 11 | 1345 | -----------------------------------------
-- ID: 5974
-- Item: Plate of Barnacle Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Vitality 5
-- Mind -1
-- Charisma -1
-- Defense % 25 Cap 150
-- Undead Killer 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
Kaixhin/Easy21 | sarsa-lambda.lua | 1 | 3487 | local gnuplot = require 'gnuplot'
local environ = require 'environ'
-- Set manual seed
torch.manualSeed(1)
-- Load Q* from MC control
local QStar = torch.load('Q.t7')
local nEpisodes = 1000
-- Number of discrete actions
local m = #environ.A
-- No discounting
local gamma = 1
-- Action-value function
local Q = torch.... | mit |
rouge8/dotfiles | .config/nvim.symlink/lua/config.lua | 1 | 8654 | -- Ident Blankline
require("indent_blankline").setup({})
-- Treesitter
require("nvim-treesitter.configs").setup({
ensure_installed = {
"bash",
"comment",
"css",
"dockerfile",
"fish",
"go",
"gomod",
"hcl",
"html",
"http",
"javas... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.