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 |
|---|---|---|---|---|---|
zynjec/darkstar | scripts/zones/Bastok_Markets/npcs/Umberto.lua | 9 | 1080 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Umberto
-- Type: Quest NPC
-- Involved in Quest: Too Many Chefs
-- !pos -56.896 -5 -134.267 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs");
-----------------------------------
function onTrade(player,n... | gpl-3.0 |
zynjec/darkstar | scripts/globals/mobskills/ink_jet_alt.lua | 9 | 1030 | ---------------------------------------------
-- Ink Jet alt
--
-- Description: Unleashes a torrent of black spores in a fan-shaped area of effect, dealing dark damage to targets. Additional effect: Blind
-- Type: Magical Dark (Element)
--
-- Notes: Used by Fe'e in Up in Arms BCNM
----------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/QuBia_Arena/mobs/Worgbut_of_Clan_Death.lua | 23 | 2661 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight
----------------------------... | gpl-3.0 |
pspjuth/cqui | Assets/UI/Popups/greatpeoplepopup.lua | 3 | 44930 | -- ===========================================================================
-- Great People Popup
-- ===========================================================================
include("InstanceManager");
include("TabSupport");
include("SupportFunctions");
include("Civ6Common"); --DifferentiateCivs
include("Modal... | mit |
zevv/lgi | samples/gtk-demo/demo-assistant.lua | 6 | 2215 | return function(parent, dir)
local lgi = require 'lgi'
local GLib = lgi.GLib
local Gtk = lgi.Gtk
local assistant = Gtk.Assistant {
default_height = 300,
{
title = "Page 1", type = 'INTRO',
Gtk.Grid {
id = 'page1',
orientation = 'HORIZONTAL',
Gtk.Label { label = "You must fill out this entry t... | mit |
Colettechan/darkstar | scripts/zones/Northern_San_dOria/npcs/Arlenne.lua | 13 | 2152 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arlenne
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requi... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Maze_of_Shakhrami/Zone.lua | 4 | 2071 | -----------------------------------
--
-- Zone: Maze_of_Shakhrami (198)
--
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Maze_of_Shakhr... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/ui/GuiConstants.lua | 38 | 2802 |
ccui = ccui or {}
ccui.BrightStyle =
{
none = -1,
normal = 0,
highlight = 1,
}
ccui.TextureResType =
{
localType = 0,
plistType = 1,
}
ccui.TouchEventType =
{
began = 0,
moved = 1,
ended = 2,
canceled = 3,
}
ccui.SizeType =
{
absolute = 0,
percent = 1,
}
ccui.PositionTy... | mit |
mlosch/nn | MM.lua | 46 | 2695 | --[[ Module to perform matrix multiplication on two minibatch inputs,
producing a minibatch.
]]
local MM, parent = torch.class('nn.MM', 'nn.Module')
--[[ The constructor takes two optional arguments, specifying whether or not transpose
any of the input matrices before perfoming the multiplication.
]]
functi... | bsd-3-clause |
Colettechan/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/qm2.lua | 13 | 1588 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: ??? (qm2)
-- Involved in Quest: Yomi Okuri
-- @pos -176 10 -60 213
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/poisonga_ii.lua | 1 | 1286 | -----------------------------------------
-- Spell: Poisonga II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
zynjec/darkstar | scripts/commands/addmission.lua | 11 | 1673 | ---------------------------------------------------------------------------------------------------
-- func: addmission <logID> <missionID> <player>
-- desc: Adds a mission to the GM or target players log.
---------------------------------------------------------------------------------------------------
require("scri... | gpl-3.0 |
zynjec/darkstar | scripts/globals/spells/earth_carol.lua | 10 | 1548 | -----------------------------------------
-- Spell: Earth Carol
-- Increases earth resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------... | gpl-3.0 |
fraxken/Craftstudio-united | class/sound3D.lua | 1 | 5275 | -- > On vérifie que la metatable United est existante
if United ~= nil then
United["Sound3D"] = {}
United["Sound3D"].Core = function()
local Sound3D = United.Sound3D
-- > Metamethode
Sound3D.__index = Sound3D
----------------------------------------------------------------------------... | gpl-3.0 |
actboy168/MoeHero | scripts/maps/hero/阿尔托莉亚/风王结界.lua | 1 | 2015 |
local mt = ac.skill['风王结界']
mt{
--初始等级
level = 0,
--技能图标
art = [[BTNsaberq.blp]],
--技能说明
title = '风王结界',
tip = [[
激活风王结界,提高%pene%点护甲穿透并持续对%slow_area%范围造成减速效果,持续%buff_time%秒
再次按下该技能解放风王结界,对%stun_area%范围造成%stun_time%秒晕眩,下次攻击额外造成%damage%(+%damage_plus%)点伤害
]],
--冷却
cool = {17, 14},
--耗蓝
cost = 100,
... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua | 9 | 6304 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Yurim
-- !pos 83.697 -25.000 3.250 26
-----------------------------------
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
-----------------------------------
-- base items
local earring = ... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Al_Zahbi/npcs/Sujyahn.lua | 13 | 1036 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Sujyahn
-- Type: Standard NPC
-- @zone: 48
-- @pos -48.213 -1 34.723
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ComController.lua | 10 | 1153 |
--------------------------------
-- @module ComController
-- @extend Component,InputDelegate
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComController] create
-- @param self
-- @return ComController#ComController ret (return value: ccs.ComController)
--------------------... | mit |
Vadavim/jsr-darkstar | scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua | 26 | 3365 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Nbu Latteh
-- Starts & Finishes Quest: Mom, The Adventurer?
-- Starts Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua | 26 | 3365 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Nbu Latteh
-- Starts & Finishes Quest: Mom, The Adventurer?
-- Starts Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Fortitude.lua | 18 | 2647 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NM: Jailer of Fortitude
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Flame_Thrower.lua | 18 | 1281 | ---------------------------------------------------
-- Flame_Thrower
-- Description:
-- Type: Magical
-- additional effect : plague
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
----------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/hailstorm.lua | 32 | 1182 | --------------------------------------
-- Spell: Hailstorm
-- Changes the weather around target party member to "snowy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/dil.lua | 18 | 1304 | -----------------------------------------
-- ID: 5457
-- Item: Dil
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 13 | 1608 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua | 13 | 1918 | -----------------------------------
-- Area: The Sanctuary of ZiTah
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos 639 -1 -151 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Nashmau/npcs/Jajaroon.lua | 12 | 1129 | -----------------------------------
-- Area: Nashmau
-- NPC: Jajaroon
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Nashmau/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
2176... | gpl-3.0 |
davidcarlisle/luaotfload | src/fontloader/runtime/fontloader-tl2014.lua | 1 | 420090 | -- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
-- merge date : 07/29/14 00:30:11
do -- begin closure to overcome local limits and interference
if not modules then modules={} end modules ['l-lua']={
version=1.001,
comment="companion to luat-lib.mkiv",
author="Hans Hagen, PRAGMA-ADE, ... | gpl-2.0 |
Colettechan/darkstar | scripts/globals/spells/absorb-agi.lua | 17 | 1366 | --------------------------------------
-- Spell: Absorb-AGI
-- Steals an enemy's agility.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/plate_of_patlican_salata.lua | 18 | 1190 | -----------------------------------------
-- ID: 5582
-- Item: plate_of_patlican_salata
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
RJRetro/mame | 3rdparty/genie/src/base/cmdline.lua | 44 | 2186 | --
-- cmdline.lua
-- Functions to define and handle command line actions and options.
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
--
--
-- Built-in command line options
--
newoption
{
trigger = "cc",
value = "VALUE",
description = "Choose a C/C++ compiler set",
allowed = {
... | gpl-2.0 |
zynjec/darkstar | scripts/zones/Western_Adoulin/npcs/Kipligg.lua | 11 | 2005 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Kipligg
-- Type: Standard NPC and Mission NPC,
-- Involved with Missions: '...Into the Fire', 'Done and Delivered'
-- !pos -32 0 22 256
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
func... | gpl-3.0 |
zhaijialong/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
abasshacker/ukown | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
amir0858/telesuper1 | plugins/write.lua | 1 | 28420 | local function run(msg, matches)
if #matches < 2 then
return "زیبا نویسی متن توسط @thisisCrazy کپی بدون ذکر منبع حرام میباشد:|"
end
if string.len(matches[2]) > 20 then
return "فقط ۲۰ حرف مجاز است! @"..msg.from.username
end
local font_base = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,... | agpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/loach_soup.lua | 18 | 1667 | -----------------------------------------
-- ID: 5671
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy % 7
-- Accuracy Cap 50
-- HP % 7
-- HP Cap 50
-- Evasion 5
-- (Did Not Add Group Food Effect)
--------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/loach_soup.lua | 18 | 1667 | -----------------------------------------
-- ID: 5671
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy % 7
-- Accuracy Cap 50
-- HP % 7
-- HP Cap 50
-- Evasion 5
-- (Did Not Add Group Food Effect)
--------------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 17 | 1234 | -----------------------------------
-- Area: Bibiki Bay
-- MOB: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-------------------------------... | gpl-3.0 |
JarnoVgr/InfectedWars | entities/effects/rico_trace_black/init.lua | 1 | 1548 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
Colettechan/darkstar | scripts/zones/RuLude_Gardens/npcs/Crooked_Arrow.lua | 13 | 1384 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Crooked Arrow
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/global... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/bluemagic/hysteric_barrage.lua | 36 | 1734 | -----------------------------------------
-- Spell: Hysteric Barrage
-- Delivers a fivefold attack. Damage varies with TP
-- Spell cost: 61 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Hand-to-Hand)
-- Blue Magic Points: 5
-- Stat Bonus: DEX+2, AGI+1
-- Level: 69
-- Casting Time: 0.5 seconds
-- Recast Time: 28... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/East_Sarutabaruta/npcs/Sama_Gohjima.lua | 13 | 1487 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Sama Gohjima
-- Involved in Mission: The Horutoto Ruins Experiment (optional)
-- @pos 377 -13 98 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
sumory/lor | lib/lor/lib/utils/utils.lua | 2 | 3411 | local type = type
local pairs = pairs
local setmetatable = setmetatable
local mrandom = math.random
local sreverse = string.reverse
local sfind = string.find
local sgsub = string.gsub
local smatch = string.match
local table_insert = table.insert
local json = require("cjson")
local _M = {}
function _M.clone(o)
loc... | mit |
zynjec/darkstar | scripts/zones/Apollyon/mobs/Earth_Elemental.lua | 9 | 2117 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Earth Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
lo... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Skin.lua | 10 | 2198 |
--------------------------------
-- @module Skin
-- @extend Sprite
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#Skin] getBone
-- @param self
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Skin] getNodeToWorldTr... | mit |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/piercing_arrow.lua | 1 | 2495 | -----------------------------------
-- Piercing Arrow
-- Archery weapon skill
-- Skill level: 40
-- Ignores enemy's defense. Amount ignored varies with TP.
-- The amount of defense ignored is 0% with 100TP, 35% with 200TP and 50% with 300TP.
-- Typically does less damage than Flaming Arrow.
-- Aligned with the Snow Gor... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Oldton_Movalpolos/npcs/Mining_Point.lua | 17 | 1092 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Oldton_Movalpolos/TextIDs");
-----... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Stone_Monument.lua | 13 | 1285 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -300.672 21.620 304.179 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
reaperrr/OpenRA | mods/ra/maps/top-o-the-world/top-o-the-world.lua | 7 | 14024 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/dia.lua | 27 | 2184 | -----------------------------------------
-- Spell: Dia
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------... | gpl-3.0 |
sumory/lor | spec/cases/path_params_spec.lua | 2 | 5244 | before_each(function()
lor = _G.lor
app = lor({
debug = true
})
Request = _G.request
Response = _G.response
req = Request:new()
res = Response:new()
end)
after_each(function()
lor = nil
app = nil
Request = nil
Response = nil
req = nil
res = nil
end)
describ... | mit |
zynjec/darkstar | scripts/zones/Mhaura/npcs/Kotan-Purutan.lua | 9 | 2147 | -----------------------------------
-- Area: Mhaura
-- NPC: Kotan-Purutan
-- Involved in Quest: Overnight Delivery
-- !pos 40.323 -8.999 44.242 249
-----------------------------------
local ID = require("scripts/zones/Mhaura/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
-----------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Waters/npcs/Upih_Khachla.lua | 12 | 2150 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Upih Khachla
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/vivacious_etude.lua | 45 | 1815 | -----------------------------------------
-- Spell: Vivacious Etude
-- Static VIT Boost, BRD 30
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
actboy168/MoeHero | scripts/maps/hero/时崎狂三/七之弹.lua | 1 | 4796 | local mt = ac.skill['七之弹']
mt{
--初始等级
level = 0,
--技能图标
art = [[model\Kurumi\BTNKurumiW.blp]],
--技能说明
title = '七之弹',
tip = [[
召唤分身,将目标区域的敌人|cffffcc00时停|r并拖入影空间,持续%pause_time%秒。随后造成%damage_base%(+%damage_plus%)伤害。
|cffff8811七之弹[刻]|r:
敌人离开影空间后会继续被时停%power_time%秒。
]],
--目标类型
target_type = function(self, he... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/dish_of_spaghetti_pescatora_+1.lua | 18 | 1656 | -----------------------------------------
-- ID: 5200
-- Item: dish_of_spaghetti_pescatora_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 160
-- Vitality 3
-- Mind -1
-- Defense % 22
-- Defense Cap 70
-- Store TP 6
-----------------------------------------
re... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/quests.lua | 20 | 45133 | require("scripts/globals/log_ids");
-----------------------------------
-- Nation IDs
-----------------------------------
NATION_SANDORIA = 0;
NATION_BASTOK = 1;
NATION_WINDURST = 2;
-----------------------------------
--
-- QUESTS ID
--
-----------------------------------
QUEST_AVAILABLE = 0;
QUEST_ACCEPTED =... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_Jeuno/npcs/qm1.lua | 14 | 2509 | -----------------------------------
-- Area: Port Jeuno
-- NPC: ???
-- Finish Quest: Borghertz's Hands (AF Hands, Many job)
-- @zone 246
-- @pos -51 8 -4
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
----------------------... | gpl-3.0 |
zynjec/darkstar | scripts/globals/weaponskills/vidohunir.lua | 10 | 1857 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage) quest... | gpl-3.0 |
hedgewars/hw | share/hedgewars/Data/Scripts/RopeKnocking.lua | 1 | 11949 | HedgewarsScriptLoad("/Scripts/Locale.lua")
HedgewarsScriptLoad("/Scripts/Utils.lua")
local hhs = {}
local deadHogs = {}
local missionWon = nil
local endTimer = 1000
local hogsKilled = 0
local totalEnemies = 0
local finishTime
local playerFail = false
local ropeGear = nil
local endGameCalled = false
local missionEndHan... | gpl-2.0 |
Colettechan/darkstar | scripts/zones/King_Ranperres_Tomb/Zone.lua | 13 | 2309 | -----------------------------------
--
-- Zone: King_Ranperres_Tomb (190)
--
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/King_Ranpe... | gpl-3.0 |
dkogan/notion-scripts | statusd/statusd_cpufreq.lua | 2 | 1189 | -- statusd_cpufreq.lua
--
-- Public domain
--
-- Use the key "cpufreq_[KMG]" to get the current CPU frequency in
-- K/M/GHz, according to /sys/devices/system/cpu/cpuX/cpufreq/. (This
-- has the advantage of being a much "rounder" number than the one in
-- /proc/cpuinfo, as provided by statusd_cpuspeed.lua.)
--
-- The... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Bibiki_Bay/npcs/qm1.lua | 13 | 1380 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: ??? (qm1)
-- Notes: Used to spawn Shen
-- @pos -115.108 0.300 -724.664 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bibiki_Bay/TextIDs");
---... | gpl-3.0 |
tsdfsetatata/xserver | config/server/Guidecondition.lua | 1 | 3437 | local Guidecondition = {
[510101] = {
['ID'] = 510101, --索引
['targetid'] = 1, --引导的id(支线触发1—50)(主线触发51—70)(等级触发71—90)(功能触发91-)
['Tasktype'] = 2, --0功能1-主线2-支线
['Level'] = 0, --等级触发引导
['EquipId'] = 0, --必需拥有装备ID
['MaterialId'] = 0, --必需拥有道具ID
['Num'] = 0, --必需拥有个数
['PartnerNum'] = 0, --上阵伙伴数量
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Metalworks/npcs/_6lg.lua | 14 | 1311 | -----------------------------------
-- Area: Metalworks
-- Door: _6lg (Cornelia's Room)
-- @pos 114 -20 -7 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalworks/TextIDs... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 11 | 2047 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- !pos -83 -9 3 238
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/quests");
loc... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Kf_ghrah_whm.lua | 23 | 1894 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
-- onMobSpawn
-- Set core Skin and m... | gpl-3.0 |
kulla/mfnf-lua-scripts | src/Node.lua | 1 | 1749 | local Node = {}
Node.__index = Node
function Node:new()
return setmetatable({parent = nil, children = {}}, Node)
end
function Node:add_child(child)
self.children[#self.children + 1] = child
child.parent = self
end
function Node:root()
if self.parent then
return self.parent:root()
else
return self
... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua | 12 | 3893 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Dominion Tactician
-----------------------------------
local ID = require("scripts/zones/Abyssea-Grauberg/IDs")
require("scripts/globals/abyssea")
-----------------------------------
function onTrade(player,npc,trade)
end
function onTrigger(play... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/crawler_egg.lua | 18 | 1180 | -----------------------------------------
-- ID: 4357
-- Item: crawler_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/persikos.lua | 18 | 1174 | -----------------------------------------
-- ID: 4274
-- Item: persikos
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Stanzilla/clink | clink/test/test.lua | 4 | 8243 | --
-- Copyright (c) 2012 Martin Ridgers
--
-- 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, publ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 14 | 1491 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ga.lua | 13 | 1357 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ga (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua | 7 | 2274 | -----------------------------------
-- Area: Qufim_Island
-- NPC: Hieroglyphics
-- Dynamis Qufim Entrance
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
adminerror/22222222 | plugins/id.lua | 17 | 4403 | do
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
local function scan_name(extra, success, result)
local f... | gpl-2.0 |
xiaq/luarocks | src/luarocks/fetch/svn.lua | 14 | 2187 |
--- Fetch back-end for retrieving sources from Subversion.
--module("luarocks.fetch.svn", package.seeall)
local svn = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local util = require("luarocks.util")
--- Download sources for building a rock, using S... | mit |
Colettechan/darkstar | scripts/zones/Metalworks/npcs/Ghemp.lua | 20 | 2071 | -----------------------------------
-- Area: Metalworks
-- NPC: Ghemp
-- Type: Smithing Guild Master
-- @pos -109 2 27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/craft... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Mahol_IM.lua | 13 | 3317 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Mahol, I.M.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
zevv/lgi | samples/console.lua | 6 | 11383 | #! /usr/bin/env lua
-- Lua console implemented using Gtk widgets.
local lgi = require 'lgi'
local Gio = lgi.Gio
local Gtk = lgi.require('Gtk', '3.0')
local Gdk = lgi.require('Gdk', '3.0')
local Pango = lgi.Pango
local GtkSource = lgi.GtkSource
-- Creates new console instance.
local function Console()
-- Define co... | mit |
Colettechan/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cq.lua | 13 | 2583 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cq (Magical Gizmo) #2
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Bastok_Mines/npcs/Aulavia.lua | 12 | 1545 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Aulavia
-- Regional Marchant NPC
-- Only sells when Bastok controls Vollbow.
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["s... | gpl-3.0 |
mortezamosavy999/otouto | plugins/hackernews.lua | 16 | 1401 | local command = 'hackernews'
local doc = [[```
Returns four (if group) or eight (if private message) top stories from Hacker News.
Alias: /hn
```]]
local triggers = {
'^/hackernews[@'..bot.username..']*',
'^/hn[@'..bot.username..']*'
}
local action = function(msg)
sendChatAction(msg.chat.id, 'typing')
local jst... | gpl-2.0 |
asmantarik/MAGIC-BOT | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
Murii/CLove | opt/examples/lua/example2.lua | 3 | 1697 | --[[
--
--Read pixel information from an image and do something with it ;)
--
--]]
--
local t = {}
function spawn(x,y)
table.insert(t,{x=x,y=y})
end
local dr = nil
function love.load()
--love.graphics.scale(2.4)
--read each pixel color and something based on that
local im = love.image.newImageData("map.png")
fo... | mit |
zynjec/darkstar | scripts/zones/Port_Jeuno/Zone.lua | 9 | 3114 | -----------------------------------
--
-- Zone: Port_Jeuno (246)
--
-----------------------------------
local ID = require("scripts/zones/Port_Jeuno/IDs")
require("scripts/globals/conquest")
require("scripts/globals/settings")
require("scripts/globals/chocobo")
require("scripts/globals/quests")
require("scripts/globals... | gpl-3.0 |
zynjec/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm2.lua | 9 | 1128 | -----------------------------------
-- Area: The Sanctuary of ZiTah
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- !pos 639 -1 -151 121
-----------------------------------
local ID = require("scripts/zones/The_Sanctuary_of_ZiTah/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Al_Zahbi/npcs/Gajaad.lua | 18 | 2556 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gajaad
-- Type: Donation Taker
-- @pos 40.781 -1.398 116.261 48
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
zeromq/lzmq | test/test_threads_sync.lua | 12 | 1090 | local TEST_FFI = ("ffi" == os.getenv("LZMQ"))
local LZMQ = "lzmq" .. (TEST_FFI and ".ffi" or "")
local zmq = require (LZMQ)
local zthreads = require (LZMQ .. ".threads" )
local ctx = zmq:context()
local thread, skt = zthreads.fork(ctx, string.dump(function(skt)
local ztimer = require "lzmq.timer"
local... | mit |
AliKhodadad/wild-man | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
Arashbrsh/cccdpay | plugins/search_youtube.lua | 674 | 1270 | do
local google_config = load_from_file('data/google.lua')
local function httpsRequest(url)
print(url)
local res,code = https.request(url)
if code ~= 200 then return nil end
return json:decode(res)
end
local function searchYoutubeVideos(text)
local url = 'https://www.googleapis.com/youtube/v3/search?'
u... | gpl-2.0 |
c10ud/CHDK | CHDK/LUALIB/binstr.lua | 5 | 1846 | --[[
module for converting between numbers and binary strings
usage:
bs=require('binstr')
wbdata=bs.unpack(get_prop_str(0x10d,0x1c)) -- return propset 3 white balance as 7 ints
]]
local binstr = {}
--[[
convert number or array of numbers into a binary string
size specifies the number of bytes to use from each number, ... | gpl-2.0 |
xiaq/luarocks | src/luarocks/build/make.lua | 17 | 3465 |
--- Build back-end for using Makefile-based packages.
--module("luarocks.build.make", package.seeall)
local make = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local util = require("luarocks.util")
local cfg = require("luarocks.cfg")
--- Call "make" with given target and variables
-- @... | mit |
dkogan/notion-scripts | scripts/bindsearch.lua | 2 | 2567 | -- bindsearch.lua
--
-- Canaan Hadley-Voth.
--
-- Bindings are spread across distant files, some are created
-- dynamically, and some are negated by others. I use this to
-- tell me exactly what is bound right now.
--
-- Search (in all sections) for bound keys or bound commands.
-- There can be multiple search terms... | gpl-3.0 |
aleksijuvani/premake-core | modules/gmake2/tests/test_gmake2_target_rules.lua | 3 | 1060 | --
-- test_gmake2_target_rules.lua
-- Validate the makefile target building rules.
-- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project
--
local p = premake
local suite = test.declare("gmake2_target_rules")
local p = premake
local gmake2 = p.modules.gmake2
local project = p.project
-... | bsd-3-clause |
tsdfsetatata/xserver | Server/dump_srv/lua/protobuf/containers.lua | 15 | 2284 | --
--------------------------------------------------------------------------------
-- FILE: containers.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-... | gpl-3.0 |
whirm/awesomerc | themes/whirm/theme.lua | 1 | 6564 | local print = print
path="/home/whirm/.config/awesome/themes"
local theme_dir=path.."/whirm"
local function rgb(red, green, blue)
if type(red) == "number" or type(green) == "number" or type(blue) == "number" then
return "#"..string.format("%02x",red)..string.format("%02x",green)..string.format("%02x",blue)
el... | unlicense |
zynjec/darkstar | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 9 | 1034 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- !pos -115.933 -4.25 109.533 240
-----------------------------------
require("scripts/globals/npc_util")
require("scripts/globals/settings")
require("scripts/globals/quests")
require("scripts/globals/magic")
----------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/PsoXja/npcs/_i99.lua | 17 | 3621 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems");
----... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm6.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm6 (???)
-- Spawns Gancanagh
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.