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 |
|---|---|---|---|---|---|
destdev/ygopro-scripts | c56364287.lua | 2 | 2645 | --サイバー・ドラゴン・ヘルツ
function c56364287.initial_effect(c)
--name change
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetRange(LOCATION_MZONE+LOCATION_GRAVE)
e1:SetValue(70095154)
c:RegisterEffect(e1)
--level change
local e... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Rabao/npcs/Rahi_Fohlatti.lua | 7 | 3132 | -----------------------------------
-- Area: Rabao
-- NPC: Rahi Fohlatti
-- Starts Quest: Trial Size Trial by Wind
-- @pos -17 7 -10 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/ice_brand.lua | 12 | 1058 | -----------------------------------------
-- ID: 16937
-- Ice Brand
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,target,... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/lipuppet.lua | 6 | 2128 | -- 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 |
destdev/ygopro-scripts | c75116619.lua | 2 | 2478 | --真六武衆-エニシ
function c75116619.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(75116619,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCode(EVENT_FREE_CHA... | gpl-2.0 |
Gethe/oUF | elements/castbar.lua | 2 | 13397 | --[[
# Element: Castbar
Handles the visibility and updating of spell castbars.
## Widget
Castbar - A `StatusBar` to represent spell cast/channel progress.
## Sub-Widgets
.Icon - A `Texture` to represent spell icon.
.SafeZone - A `Texture` to represent latency.
.Shield - A `Texture` to represent if it's possi... | mit |
destdev/ygopro-scripts | c13629812.lua | 2 | 2684 | --忍法 影縫いの術
function c13629812.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetCost(c13629812.cost)
e1:SetTarget(c136... | gpl-2.0 |
destdev/ygopro-scripts | c51497409.lua | 4 | 2715 | --DDD磐石王ダリウス
function c51497409.initial_effect(c)
c:EnableReviveLimit()
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_FIEND),3,2)
--Destroy and Draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51497409,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProp... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/commands/addallmaps.lua | 22 | 1774 | ---------------------------------------------------------------------------------------------------
-- func: addallmaps
-- desc: Adds all maps to the given player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
}... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/bowl_of_soy_ramen_+1.lua | 11 | 1526 | -----------------------------------------
-- ID: 6459
-- Item: bowl_of_soy_ramen_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +55
-- STR +6
-- VIT +6
-- AGI +4
-- Attack +11% (cap 175)
-- Ranged Attack +11% (cap 175)
-- Resist Slow +15
-----------------------------------------
req... | gpl-3.0 |
angt/overthebox | feeds/packages/net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your optio... | gpl-3.0 |
destdev/ygopro-scripts | c23440062.lua | 2 | 2924 | --ウィキッド・リボーン
function c23440062.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c23440062.cost)
e1:SetTarget... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 30 | 1284 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/summon");
-----------------------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c93920420.lua | 2 | 3141 | --星遺物-『星杖』
function c93920420.initial_effect(c)
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetCondition(c93920420.indcon)
e1:SetValue(c93920420.indlimit)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(au... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/flash_nova.lua | 9 | 1395 | -----------------------------------
-- Skill level: 290
-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP.
-- Generates a significant amount of Enmity.
-- Does not stack with Sneak Attack
-- Aligned with Aqua Gorget.
-- Aligned with Aqua Belt.
-- Properties:
-- Element: Light... | gpl-3.0 |
angt/overthebox | feeds/packages/net/wifidog-ng/files/wifidog-ng/heartbeat.lua | 22 | 1457 | --[[
Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later vers... | gpl-3.0 |
destdev/ygopro-scripts | c40605147.lua | 6 | 1837 | --神の通告
function c40605147.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(c40605147.condition)
e1:SetCost(c40605147.cost)
e1:SetTarget(c40605147.target)
e1:SetOperation(c406... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua | 13 | 4153 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Pincerstone
-- NPCs which activates the blue teleports in sky
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
------... | gpl-3.0 |
Shevraar/bloody-alchemy | bloody-alchemy/Libs/AceGUI-3.0/widgets/AceGUIwidget-DropDown.lua | 1 | 17813 | --[[ $Id: AceGUIWidget-DropDown.lua 997 2010-12-01 18:36:28Z nevcairiel $ ]]--
local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local min, max, floor = math.min, math.max, math.floor
local select, pairs, ipairs, type = select, pairs, ipairs, type
local tsort = table.sort
-- WoW APIs
local PlaySound = PlaySound
local ... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_2.lua | 28 | 3113 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 2 (Tarutaru)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/mis... | gpl-3.0 |
destdev/ygopro-scripts | c40732515.lua | 3 | 3240 | --神聖魔導王エンディミオン
function c40732515.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCondition(c40732515.spcon)
e1:SetOperation(c40732515.spop)
e... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Port_Windurst/npcs/Khel_Pahlhama.lua | 16 | 1224 | -----------------------------------
-- Area: Port Bastok
-- NPC: Khel Pahlhama
-- Linkshell merchant
-- @pos 21 -2 -20 240
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/spells/drown.lua | 17 | 1841 | -----------------------------------------
-- Spell: Drown
-- Deals water damage that lowers an enemy's strength and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------... | gpl-3.0 |
ichramm/LuaNode | lib/luanode/tty.lua | 2 | 5008 | local pairs, require, process, Stdio = pairs, require, process, Stdio
local Class = require "luanode.class"
local Socket = require "luanode.net".Socket
local luanode_stream = require "luanode.stream"
local utils = require "luanode.utils"
local stdinHandle
local _M = {
_NAME = "luanode.tty",
_PACKAGE = "luan... | mit |
destdev/ygopro-scripts | c56223084.lua | 4 | 1062 | --ハリマンボウ
function c56223084.initial_effect(c)
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56223084,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetTarget(c56223084.ta... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Apollyon/mobs/Barometz.lua | 7 | 1266 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Barometz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/spells/diaga_iii.lua | 11 | 2314 | -----------------------------------------
-- Spell: Diaga III
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/utils")
require... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/spells/yurin_ichi.lua | 18 | 1597 | -----------------------------------------
-- Spell: Yurin: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/items/handful_of_bloody_chocolate.lua | 18 | 1149 | -----------------------------------------
-- ID: 5646
-- Item: handful_of_bloody_chocolate
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
ichramm/LuaNode | lib/luanode/utils.lua | 2 | 6391 | local string, table, math = string, table, math
local console = require "luanode.console"
local tostring, type, process = tostring, type, process
local rawget, ipairs, pairs = rawget, ipairs, pairs
local select = select
local _M = {
_NAME = "luanode.utils",
_PACKAGE = "luanode."
}
-- Make LuaNode 'public... | mit |
riking/marvin | vendor/github.com/yuin/gopher-lua/_lua5.1-tests/nextvar.lua | 20 | 8553 | print('testing tables, next, and for')
local a = {}
-- make sure table has lots of space in hash part
for i=1,100 do a[i.."+"] = true end
for i=1,100 do a[i.."+"] = nil end
-- fill hash part with numeric indices testing size operator
for i=1,100 do
a[i] = true
assert(#a == i)
end
if T then
-- testing table size... | gpl-3.0 |
mynameiscraziu/waqerr | plugins/spammer.lua | 6 | 299741 | do
function run(msg, matches)
return " Mr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\nMr_Inviter😜\... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Southern_San_dOria/npcs/Legata.lua | 17 | 1999 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Legata
-- Starts and Finishes Quest: Starting a Flame (R)
-- @zone 230
-- @pos 82 0 116
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
destdev/ygopro-scripts | c48576971.lua | 7 | 3013 | --与奪の首飾り
function c48576971.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(c48576971.target)
e1:SetOperation(c48576971.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/stone_iv.lua | 11 | 1047 | ---------------------------------------------------
-- Stone 4
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
functi... | gpl-3.0 |
yxdunc/fbcunn | test/test_LookupTableGPU.lua | 9 | 6640 | -- Copyright 2004-present Facebook. All Rights Reserved.
require 'cunn'
require 'fb.luaunit'
require 'fbtorch'
require 'fbcunn'
local tester = torch.Tester()
local kTolerance = 1e-4
local LookupTableTest = {}
local function nonBatchTest(elements, nInput, nOutput, features_in_dim_2)
local cpu_emb = nn.LookupTabl... | bsd-3-clause |
Deadwing888/darkstar | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 13 | 3328 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Selbina/npcs/Graegham.lua | 17 | 1183 | -----------------------------------
-- Area: Selbina
-- NPC: Graegham
-- Guild Merchant NPC: Fishing Guild
-- @pos -12.423 -7.287 8.665 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
destdev/ygopro-scripts | c4682617.lua | 1 | 3043 | --魔界劇団のカーテンコール
function c4682617.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,4682617+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c4682617.condition)
e1:SetTarget(... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/weaponskills/blade_yu.lua | 18 | 1553 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ;... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 12 | 1150 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
-- !pos -217.316 -2.824 49.235 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs")
require("scripts/globals/shop")
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 13 | 1476 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Al_Zahbi/npcs/Ndego.lua | 13 | 1164 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ndego
-- Guild Merchant NPC: Smithing Guild
-- @pos -37.192 0.000 -33.949 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/wing_slap.lua | 11 | 1048 | ---------------------------------------------
-- Wing Slap
--
-- Description: Slaps around a single target four times with its wings. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 4 shadows
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
destdev/ygopro-scripts | c79867938.lua | 9 | 1361 | --BK ヘッドギア
function c79867938.initial_effect(c)
--send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(79867938,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(... | gpl-2.0 |
destdev/ygopro-scripts | c49669730.lua | 2 | 1558 | --ウォーターハザード
function c49669730.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49669730,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/cone_of_sub-zero_gelato.lua | 18 | 1388 | -----------------------------------------
-- ID: 5155
-- Item: cone_of_sub-zero_gelato
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 10
-- MP % 16 (cap 80)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/commands/delmission.lua | 24 | 1183 | ---------------------------------------------------------------------------------------------------
-- func: @delmission <logID> <missionID> <player>
-- desc: Deletes the given mission from the GM or target player.
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/weaponskills/vorpal_scythe.lua | 11 | 1600 | -----------------------------------
-- Vorpal Scythe
-- Scythe weapon skill
-- Skill level: 150
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/whale_staff_+1.lua | 41 | 1079 | -----------------------------------------
-- ID: 17534
-- Item: Whale Staff +1
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c53573406.lua | 2 | 3008 | --カメンレオン
function c53573406.initial_effect(c)
--cannot summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_SUMMON)
e1:SetCondition(c53573406.sumcon)
c:RegisterEffect(e1)
--special summon
local e2=Effect... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/slice_of_coeurl_meat.lua | 18 | 1348 | -----------------------------------------
-- ID: 4377
-- Item: slice_of_coeurl_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/black_curry_bun.lua | 35 | 1347 | -----------------------------------------
-- ID: 5758
-- Item: black_curry_bun
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Intelligence +1
-- Vitality +4
-- Dexterity +2
-- Defense +~16%
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Attarena.lua | 12 | 1926 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Attarena
-- Only sells when San d'Oria controlls Li'Telor Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/eve... | gpl-3.0 |
destdev/ygopro-scripts | c73977033.lua | 6 | 1183 | --RR-ブースター・ストリクス
function c73977033.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c73977033.condition)
e1:SetCost(c73977033.cost)
e1:S... | gpl-2.0 |
Markal128/skynet | examples/login/client.lua | 67 | 3950 | package.cpath = "luaclib/?.so"
local socket = require "clientsocket"
local crypt = require "crypt"
if _VERSION ~= "Lua 5.3" then
error "Use lua 5.3"
end
local fd = assert(socket.connect("127.0.0.1", 8001))
local function writeline(fd, text)
socket.send(fd, text .. "\n")
end
local function unpack_line(text)
loca... | mit |
RwNigma/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Sahgygy_WW.lua | 30 | 3067 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Sahgygy, W.W.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/c... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Kazham/npcs/Bubupp.lua | 9 | 2744 | -----------------------------------
-- Area: Kazham
-- NPC: Bubupp
-- Standard Info NPC
-----------------------------------
function onTrade(player,npc,trade)
-- item IDs
-- 483 Broken Mithran Fishing Rod
-- 22 Workbench
-- 1008 Ten of Coins
-- 1157 Sands of Silence
-- 1... | gpl-3.0 |
destdev/ygopro-scripts | c32752319.lua | 2 | 1110 | --ユーフォロイド・ファイター
function c32752319.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,7602840,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),1,false,false)
--atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SPSUMMON_SUC... | gpl-2.0 |
destdev/ygopro-scripts | c37198732.lua | 2 | 1938 | --レベル・マイスター
function c37198732.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c37198732.cost)
e1:SetTarget(c37198732.target)
e1:SetOperation(c37198732.activate)
c:RegisterEffect(e1)
en... | gpl-2.0 |
w86021702/svr_demo | script/dao.lua | 1 | 3746 | local skynet = require "skynet"
local mysql = require "mysql"
local function dump(obj)
local getIndent, quoteStr, wrapKey, wrapVal, dumpObj
getIndent = function(level)
return string.rep("\t", level)
end
quoteStr = function(str)
return '"' .. string.gsub(str, '"', '\\"') .. '"'
end
... | mit |
destdev/ygopro-scripts | c60681103.lua | 1 | 2932 | --巨神竜フェルグラント
function c60681103.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCondition(c60681103.rmcon)
e1:SetTarg... | gpl-2.0 |
rezatak21/TeleTakTaz | plugins/stats.lua | 49 | 3698 | do
local NUM_MSG_MAX = 4
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
-- Returns a table with `... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/simit.lua | 35 | 1339 | -----------------------------------------
-- ID: 5596
-- Item: simit
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 16
-- Dexterity -1
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
linuxmaniac/pkg-prosody | plugins/mod_auth_cyrus.lua | 7 | 2424 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local log = require "util.logger".init("auth_cyrus");
local usermanager_user_exists = require "core.userm... | mit |
destdev/ygopro-scripts | c78310590.lua | 2 | 5606 | --魔界劇団-メロー・マドンナ
function c78310590.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78310590,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLim... | gpl-2.0 |
destdev/ygopro-scripts | c13391185.lua | 6 | 2195 | --聖騎士ガラハド
function c13391185.initial_effect(c)
--Normal monster
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_ADD_TYPE)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c13391185.eqcon1)
e1:SetValue(TYPE_NORMAL)
c:RegisterEffect(e1)
local ... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/items/bowl_of_sopa_de_pez_blanco.lua | 35 | 1549 | -----------------------------------------
-- ID: 4601
-- Item: Bowl of Sopa de Pez Blanco
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 12
-- Dexterity 6
-- Mind -4
-- Accuracy 3
-- Ranged ACC % 7
-- Ranged ACC Cap 10
-----------------------------------------
requir... | gpl-3.0 |
destdev/ygopro-scripts | c4688231.lua | 2 | 3324 | --メタルフォーゼ・ミスリエル
function c4688231.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0xe1),aux.FilterBoolFunction(Card.IsFusionType,TYPE_PENDULUM),true)
--return
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TODECK+CATEGORY_TOHAN... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Tahrongi_Canyon/TextIDs.lua | 13 | 2263 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6565; -- Obtained: <item>.
GIL_OBTAINED = 6566; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6568; -- Obt... | gpl-3.0 |
destdev/ygopro-scripts | c16638212.lua | 2 | 1584 | --異次元の精霊
function c16638212.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(c16638212.spcon)
e1:SetOperation(c16638212.spop)
c:RegisterEffect(e1)
e... | gpl-2.0 |
angt/overthebox | feeds/luci/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua | 3 | 10735 | -- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
local uci = require("luci.model.uci").cursor()
local util = require("luci.util")
local net = require "luci.model.network".init()
local dump = util.ubus("netw... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Castle_Oztroja/npcs/qm2.lua | 19 | 1374 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: qm2 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos -100 -63 58 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
LGCaerwyn/QSanguosha-Para-tangjs520-LGCaerwyn | lang/zh_CN/Package/DragonPackage.lua | 2 | 2244 | -- translation for Dragon Package
return {
["dragon"] = "龙版",
["dr_xuchu"] = "龙版许褚",
["$dr_xuchu"] = "许褚",
["drluoyi"] = "裸衣",
[":drluoyi"] = "锁定技,若你的装备区没有武器牌,你使用且你为伤害来源的【杀】对目标角色造成伤害时,此伤害+1。",
["#dr_machao"] = "一骑当千",
["dr_machao"] = "龙版马超",
["&dr_machao"] = "马超",
["drmashu"] = "马术",
[":drmashu"] = "锁定技,你与... | lgpl-3.0 |
RwNigma/darkstar | scripts/zones/Bastok_Markets/npcs/Gwill.lua | 17 | 2884 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Gwill
-- Starts & Ends Quest: The Return of the Adventurer
-- Involved in Quests: The Cold Light of Day, Riding on the Clouds
-- @zone 235
-- @pos 0 0 0
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"]... | gpl-3.0 |
destdev/ygopro-scripts | c49469105.lua | 1 | 2341 | --融合破棄
function c49469105.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c49469105.cost)
e1:SetTarget(c49469105.target)
e1:SetOperation(c49469105.operation)
c:RegisterEffect(e1)
end
fu... | gpl-2.0 |
elptito/EmptyEpsilon | scripts/factionInfo.lua | 1 | 5353 | neutral = FactionInfo():setName("independant")
neutral:setGMColor(128, 128, 128)
neutral:setDescription([[Il s'agit des vaisseaux non references sous une federation. Ceci n'est pas une pratique autorisee par les federations.]])
luxa = FactionInfo():setName("luxa")
luxa:setGMColor(255, 0, 0)
luxa:setDescription([[L'Emp... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm5.lua | 9 | 1618 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm5 (???) (Tower 5)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- !pos -117.713 15.237 45.929 120
-----------------------------------
local ID = require("scripts/zones/Sauromugue_Champaign/IDs")
require("scripts/globals/npc_util")
requir... | gpl-3.0 |
yxdunc/fbcunn | examples/imagenet/models/alexnet_fbcunn.lua | 8 | 2141 | require 'fbcunn'
require 'cudnn'
function createModel(nGPU)
assert(nGPU == 1 or nGPU == 2, '1-GPU or 2-GPU supported for AlexNet')
local features
if nGPU == 1 then
features = nn.Concat(2)
else
require 'fbnn'
features = nn.ModelParallel(2)
end
local fb1 = nn.Sequential() -- branch 1... | bsd-3-clause |
RwNigma/darkstar | scripts/globals/weaponskills/frostbite.lua | 30 | 1231 | -----------------------------------
-- Frostbite
-- Great Sword weapon skill
-- Skill Level: 70
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget.
-- Aligned with the Snow Belt.
-- Element: Ice
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/coeurl_sub.lua | 35 | 1832 | -----------------------------------------
-- ID: 5166
-- Item: coeurl_sub
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/attachments/auto-repair_kit_iv.lua | 11 | 1513 | -----------------------------------
-- Attachment: Auto-repair Kit IV
-----------------------------------
require("scripts/globals/automaton")
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
-- We do not have support to do a fraction of a percent so we rounded
local ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Tahmasp.lua | 17 | 1877 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Tahmasp
-- Type: Outpost Vendor
-- @pos 464 24 416 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("s... | gpl-3.0 |
destdev/ygopro-scripts | c63665606.lua | 6 | 1481 | --虚無の波動
function c63665606.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk,def
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
e2... | gpl-2.0 |
phamelin/ardupilot | libraries/AP_Scripting/examples/set_target_posvel_circle.lua | 18 | 3131 | -- Commands copter to fly circle trajectory using posvel method in guided mode.
-- The trajectory start from the current location
--
-- CAUTION: This script only works for Copter.
-- This script start when the in GUIDED mode and above 5 meter.
-- 1) arm and takeoff to above 5 m
-- 2) switch to GUIDED mode ... | gpl-3.0 |
WohlSoft/LunaLUA | LuaScriptsLibExt/pSwitchTicking.lua | 3 | 1057 | --**************************************
-- *
-- pSwitchTicking.lua *
-- v1.0 *
-- *
-- pSwitch Ticking Behaviour for A2XT *
-- *
--*******************************... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/plate_of_boiled_barnacles_+1.lua | 36 | 1282 | -----------------------------------------
-- ID: 5981
-- Item: Plate of Boiled Barnacles +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Charisma -2
-- Defense % 26 Cap 135
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/weaponskills/numbing_shot.lua | 18 | 1513 | -----------------------------------
-- Numbing Shot
-- Marksmanship weapon skill
-- Skill level: 290
-- Main of sub must be Ranger or Corsair
-- Aligned with the Thunder & Breeze Gorget.
-- Aligned with the Thunder Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: AGI 80%
-- 100%TP 200%TP 300%TP
-- 3.00... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Bastok_Markets/npcs/Foss.lua | 12 | 2228 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Foss
-- Starts & Finishes Repeatable Quest: Buckets of Gold
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/global... | gpl-3.0 |
sheldon/epgp | localization/localization.frFR.lua | 4 | 13078 | local L = LibStub("AceLocale-3.0"):NewLocale("EPGP", "frFR")
if not L then return end
L["Alts"] = "Rerolls"
L["A member is awarded EP"] = "Un membre a gagné des EP"
L["A member is credited GP"] = "Un crédit de GP à été attribué à un membre"
L["A new tier is here! You should probably reset or rescale GP (Interface -> ... | bsd-3-clause |
Deadwing888/darkstar | scripts/zones/Ilrusi_Atoll/mobs/Cursed_Chest.lua | 8 | 1414 | -----------------------------------
-- Area: Illrusi atoll
-- MOB: Cursed Chest
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
e... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Morimar_Basalt_Fields/Zone.lua | 34 | 1267 | -----------------------------------
--
-- Zone: Morimar Basalt Fields
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Morimar_Basalt_Fields/TextIDs"] = nil;
require("scripts/zones/Morimar_Basalt_Fields/TextIDs");
-----------------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c26495087.lua | 1 | 1325 | --ヴァンパイア・レディ
function c26495087.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26495087,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c26495087.tgcon)
e1:SetTarget(c26495087.t... | gpl-2.0 |
destdev/ygopro-scripts | c39672388.lua | 4 | 1368 | --エヴォルダー・ダルウィノス
function c39672388.initial_effect(c)
--lvup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39672388,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(aux.evosp... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Apollyon/mobs/Fir_Bholg.lua | 7 | 1266 | -----------------------------------
-- Area: Apollyon SW
-- NPC: Fir Bholg
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
w86021702/svr_demo | 3rd/skynet/service/launcher.lua | 24 | 3372 | local skynet = require "skynet"
local core = require "skynet.core"
require "skynet.manager" -- import manager apis
local string = string
local services = {}
local command = {}
local instance = {} -- for confirm (function command.LAUNCH / command.ERROR / command.LAUNCHOK)
local function handle_to_address(handle)
retu... | mit |
destdev/ygopro-scripts | c16825874.lua | 2 | 1589 | --エキセントリック・ボーイ
function c16825874.initial_effect(c)
--synchro custom
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TUNER_MATERIAL_LIMIT)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetTargetRange(1,1)
e1:SetValue(LOCATION_HAND)
c:RegisterEffect(e1)
--... | gpl-2.0 |
sheldon/epgp | LibItemUtils-1.0.lua | 1 | 15193 | -- This library provides an interface to query if an item can be
-- use by a certain class. The API is as follows:
--
-- CanClassUse(class, itemType): class is one of **** and itemType a localized itemType (http://www.wowwiki.com/ItemType).
--
local MAJOR_VERSION = "LibItemUtils-1.0"
local MINOR_VERSION = tonumber(("$... | bsd-3-clause |
RwNigma/darkstar | scripts/globals/weaponskills/decimation.lua | 30 | 1511 | -----------------------------------
-- Decimation
-- Axe weapon skill
-- Skill level: 240
-- In order to obtain Decimation, the quest Axe the Competition must be completed.
-- Delivers a three-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget, Light Gor... | gpl-3.0 |
destdev/ygopro-scripts | c60950180.lua | 4 | 3033 | --RR-インペイル・レイニアス
function c60950180.initial_effect(c)
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60950180,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c609... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.