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 |
|---|---|---|---|---|---|
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c121200016.lua | 2 | 3356 | --Ynershia Armaments
-- By Shad3
local function getID()
local str=string.match(debug.getinfo(2,'S')['source'],"c%d+%.lua")
str=string.sub(str,1,string.len(str)-4)
local scard=_G[str]
local s_id=tonumber(string.sub(str,2))
return scard,s_id
end
local scard,s_id=getID()
local sc_id=0x73d
function scard.initial_e... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c103950005.lua | 2 | 4257 | --Possessed Shadow
function c103950005.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(103950005,0))
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_... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/Details/frames/window_classcolor.lua | 1 | 8734 |
local Details = _G.Details
local DF = _G.DetailsFramework
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")
--config class colors
function Details:OpenClassColorsConfig()
if (not _G.DetailsClassColorManager) then
DF:CreateSimplePanel(UIParent, 300, 425, Loc ["STRING_OPTIONS_CLASSCOLOR_MODIFY"]... | gpl-3.0 |
RisingPhoenixYGOPRO/YGOPro-Custom-Cards | script/c12310721.lua | 2 | 3827 | --Black Knight - Sword
--lua script by SGJin
function c12310721.initial_effect(c)
--XYZ summon
aux.AddXyzProcedure(c,nil,4,3)
c:EnableReviveLimit()
-- Chip Damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12310721,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:S... | gpl-3.0 |
Markismus/koreader | frontend/optmath.lua | 4 | 2028 | --[[--
Simple math helper functions
]]
local bit = require("bit")
local Math = {}
local band = bit.band
--[[--
Rounds a percentage.
@tparam float percent
@treturn int rounded percentage
]]
function Math.roundPercent(percent)
return math.floor(percent * 10000) / 10000
end
--[[--
Rounds away from zero.
@tparam... | agpl-3.0 |
qyh214/wow_addons_private_use | AddOns/DejaCharacterStats/Localization/localization.esMX.lua | 1 | 6363 | local ADDON_NAME, namespace = ... --localization
local L = namespace.L --localization
--local LOCALE = GetLocale()
if namespace.locale == "esMX" then
-- The EU English game client also
-- uses the US English locale code.
--[[Translation missing --]]
--[[ L[" /dcstats config: Opens the DejaCharacterStats addon... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/XLoot_Options/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... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WindDungeonHelper/Libraries/Ace3/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... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/RSA/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... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WeakAuras/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... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/WorldQuestTracker/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... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/MythicDungeonTools/Modules/EnemyInfo.lua | 1 | 24989 | local MDT = MDT
local L = MDT.L
local AceGUI = LibStub("AceGUI-3.0")
local db
local tconcat, tinsert = table.concat, table.insert
--test
local function CreateDispatcher(argCount)
local code = [[
local xpcall, eh = ...
local method, ARGS
local function call() return method(ARGS) end
lo... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI/Wrath/Modules/Skins/Misc.lua | 1 | 11326 | local E, L, V, P, G = unpack(ElvUI)
local S = E:GetModule('Skins')
local _G = _G
local ipairs = ipairs
local pairs, unpack = pairs, unpack
local CreateFrame = CreateFrame
local UnitIsUnit = UnitIsUnit
local hooksecurefunc = hooksecurefunc
local function SkinNavBarButtons(self)
local parentName = self:GetParent():Ge... | gpl-3.0 |
qyh214/wow_addons_private_use | AddOns/ElvUI_WindTools/Modules/Skins/Addons/WeakAuras.lua | 1 | 8195 | local W, F, E, L = unpack(select(2, ...))
local S = W.Modules.Skins
local ES = E.Skins
local _G = _G
local hooksecurefunc = hooksecurefunc
local pairs = pairs
local strfind = strfind
local unpack = unpack
function S:WeakAuras_PrintProfile()
local frame = _G.WADebugEditBox.Background
if frame and not frame.__... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_544.lua | 1 | 1207 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Door opens when you trade Delkfutt Key to it
-- !pos 345 0.1 20 184
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
local ID = require("scripts/zones/Lower_Del... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Cloister_of_Frost/bcnms/class_reunion.lua | 2 | 1357 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Class Reunion
-----------------------------------
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
end;
-- Physically entering the BCNM via bcnmEnter(bcnmid)
f... | gpl-3.0 |
tangyiyang/v3quick-classic | quick/samples/coinflip/src/app/scenes/PlayLevelScene.lua | 8 | 1890 |
local Levels = import("..data.Levels")
local Board = import("..views.Board")
local AdBar = import("..views.AdBar")
local PlayLevelScene = class("PlayLevelScene", function()
return display.newScene("PlayLevelScene")
end)
function PlayLevelScene:ctor(levelIndex)
local bg = display.newSprite("#PlayLevelSceneBg.... | mit |
m3rlin87/darkstar | scripts/zones/Lower_Jeuno/npcs/Vhana_Ehgaklywha.lua | 12 | 1970 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vhana Ehgaklywha
-- Lights lamps in Lower Jeuno if nobody accepts Community Service by 1AM.
-- !pos -122.853 0.000 -195.605 245
-----------------------------------
require("scripts/zones/Lower_Jeuno/globals");
local ID = require("scripts/zones/Lower_Jeun... | gpl-3.0 |
borisfom/cudnn.torch | SpatialConvolution.lua | 1 | 12065 | local SpatialConvolution, parent =
torch.class('cudnn.SpatialConvolution', 'nn.SpatialConvolution')
local ffi = require 'ffi'
local find = require 'cudnn.find'
local errcheck = find.errcheck
function SpatialConvolution:__init(nInputPlane, nOutputPlane,
kW, kH, dW, dH, padW, padH, groups... | bsd-2-clause |
tangyiyang/v3quick-classic | quick/bin/mac/jit/dis_x86.lua | 61 | 29376 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
m3rlin87/darkstar | scripts/globals/items/slice_of_grilled_black_hare.lua | 1 | 1046 | -----------------------------------------
-- ID: 4516
-- Item: slice_of_grilled_black_hare
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 2
-- Intelligence -1
-- Attack % 20
-- Attack Cap 30
-----------------------------------------
require("scripts/globals/status")
------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Kazham/npcs/Dodmos.lua | 1 | 2618 | -----------------------------------
-- Area: Kazham
-- NPC: Dodmos
-- Starts Quest: Trial Size Trial By Fire
-- !pos 102.647 -14.999 -97.664 250
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/telep... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/PsoXja/Zone.lua | 1 | 3649 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
local ID = require("scripts/zones/PsoXja/IDs");
require("scripts/globals/conquest");
require("scripts/globals/missions");
require("scripts/globals/settings");
require("scripts/globals/treasure")
require("scripts/globals/st... | gpl-3.0 |
borisfom/cudnn.torch | Pooling.lua | 2 | 4243 | local Pooling, parent = torch.class('cudnn._Pooling', 'nn.Module')
local ffi = require 'ffi'
local errcheck = cudnn.errcheck
function Pooling:__init(kW, kH, dW, dH, padW, padH)
parent.__init(self)
self.kW = kW
self.kH = kH
self.dW = dW or kW
self.dH = dH or kH
self.padW = padW or 0
self.padH = pad... | bsd-2-clause |
tangyiyang/v3quick-classic | quick/framework/cc/ui/UIButton.lua | 2 | 13278 |
--[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
m3rlin87/darkstar | scripts/globals/weaponskills/brainshaker.lua | 1 | 1567 | -----------------------------------
-- Brainshaker
-- Club weapon skill
-- Skill level: 70
-- Stuns enemy. Duration of stun varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
-- 1.00 1... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua | 3 | 1132 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Ahriman
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
-----------------------------------
-- onMobEngaged
--------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Mamool_Ja_Training_Grounds/IDs.lua | 12 | 4708 | -----------------------------------
-- Area: Mamool_Ja_Training_Grounds
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.MAMOOL_JA_TRAINING_GROUNDS] =
{
text = {
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain t... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/slice_of_marinara_pizza.lua | 1 | 1258 | -----------------------------------------
-- ID: 6211
-- Item: slice of marinara pizza
-- Food Effect: 30 minutes, all Races
-----------------------------------------
-- HP +20
-- Accuracy +10% (54)
-- Attack +20% (cap 50 @ 250 base attack)
-- Undead Killer
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Kuftal_Tunnel/Zone.lua | 1 | 3350 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
local ID = require("scripts/zones/Kuftal_Tunnel/IDs");
require("scripts/globals/conquest");
require("scripts/globals/treasure")
require("scripts/globals/weather");
require("scripts/globals/status");
--------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Riverne-Site_B01/npcs/Spatial_Displacement.lua | 2 | 1064 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Spacial Displacement
-----------------------------------
local ID = require("scripts/zones/Riverne-Site_B01/IDs");
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local offset = npc:getID() - ID.npc.DISPLACEMENT_OFFSET;... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Cloister_of_Gales/IDs.lua | 12 | 1094 | -----------------------------------
-- Area: Cloister_of_Gales
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.CLOISTER_OF_GALES] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <i... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola.lua | 1 | 1478 | -----------------------------------------
-- ID: 5192
-- Item: dish_of_spaghetti_boscaiola
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 120
-- Magic 35
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Store TP +6
-- Magic Regen While Healing 1
--------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Northern_San_dOria/npcs/Ailbeche.lua | 1 | 7324 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ailbeche
-- Starts and Finishes Quest: Father and Son, Sharpening the Sword, A Boy's Dream (start)
-- !pos 4 -1 24 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/keyitem... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/abilities/modus_veritas.lua | 3 | 1739 | -----------------------------------
-- Ability: Modus Veritas
-- Increases damage done by helix spells while lowering spell duration by 50%.
-- Obtained: Scholar Level 65
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
r... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Abyssea-La_Theine/mobs/Piasa.lua | 1 | 1193 | -----------------------------------
-- Area: Abyssea - La Theine
-- NM: Piasa
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(dsp.mobMod.ADD_EFFECT... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/distract_ii.lua | 12 | 1617 | -----------------------------------------
-- Spell: Distract II
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
require("scripts/globals/utils")
-----------------------------------------
function onMagicCastingCheck(caster, tar... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/yellow_curry_bun_+1.lua | 1 | 1870 | -----------------------------------------
-- ID: 5763
-- Item: yellow_curry_bun_+1
-- Food Effect: 60 min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health Points 30
-- Strength 5
-- Vitality 2
-- Agility 3
-- Intelligence -2
-- Attack 22% (caps @ 85)
-- Ranged Attack 22% (caps @ 85)... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Southern_San_dOria/npcs/Exoroche.lua | 1 | 2492 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Exoroche
-- Involved in Quests: Father and Son, A Boy's Dream
-- !pos 72 -1 60 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
tangyiyang/v3quick-classic | quick/cocos/cocostudio/CocoStudio.lua | 39 | 9065 |
if not json then
require "cocos.cocos2d.json"
end
ccs = ccs or {}
require "cocos.cocostudio.StudioConstants"
function ccs.sendTriggerEvent(event)
local triggerObjArr = ccs.TriggerMng.getInstance():get(event)
if nil == triggerObjArr then
return
end
for i = 1, table.getn(triggerObjArr) d... | mit |
tangyiyang/v3quick-classic | quick/lib/lua_bindings/auto/api/MenuItem.lua | 2 | 1666 |
--------------------------------
-- @module MenuItem
-- @extend Node
-- @parent_module cc
--------------------------------
-- enables or disables the item
-- @function [parent=#MenuItem] setEnabled
-- @param self
-- @param #bool value
-- @return MenuItem#MenuItem self (return value: cc.MenuItem)
---------... | mit |
m3rlin87/darkstar | scripts/zones/Cloister_of_Tremors/mobs/Titan_Prime.lua | 3 | 2446 | -----------------------------------
-- Area: Cloister of Tremors
-- MOB: Titan Prime
-- Involved in Quest: Trial by Earth
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
local ID = require("scripts/zones/Cloister_of_Tremors/IDs")
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/bluemagic/sound_blast.lua | 12 | 1314 | -----------------------------------------
-- Spell: Sound Blast
-- Lowers Intelligence of enemies within range.
-- Spell cost: 25 MP
-- Monster Type: Birds
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 32
-- Casting Time: 4 seconds
-- Recast Time: 30 seconds
-- Magic Bursts on: Liq... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Serjeant_Tombstone.lua | 4 | 3043 | -----------------------------------
-- Area: Dynamis San d'Oria
-- MOB: Serjeant Tombstone
-- Map1 Position: http://www.dynamislounge.com/html/zone/frame_san1.htm
-- Map2 Position: http://www.dynamislounge.com/html/zone/frame_san2.htm
-----------------------------------
require("scripts/globals/dynamis");
require("scr... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/behemoth_steak.lua | 1 | 1679 | -----------------------------------------
-- ID: 6464
-- Item: behemoth_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- HP +40
-- STR +7
-- DEX +7
-- INT -3
-- Attack +23% (cap 160)
-- Ranged Attack +23% (cap 160)
-- Triple Attack +1%
-- Lizard Killer +4
-- hHP +4
------------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Metalworks/npcs/Romero.lua | 6 | 1258 | -----------------------------------
-- Area: Metalworks
-- NPC: Romero
-- Type: Smithing Synthesis Image Support
-- !pos -106.336 2.000 26.117 237
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Metalworks/IDs");
------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Newton_Movalpolos/npcs/Sleakachiq.lua | 1 | 1178 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Sleakachiq
-- !pos 162.504 14.999 136.901 12
-----------------------------------
local ID = require("scripts/zones/Newton_Movalpolos/IDs")
-----------------------------------
function onTrade(player,npc,trade)
local Ypos = player:getYPos();
... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Xarcabard/npcs/Trail_Markings.lua | 3 | 2148 | -----------------------------------
-- Area: Xarcabard
-- NPC: Trail Markings
-- Dynamis-Xarcabard Enter
-- !pos 570 0 -272 112
-----------------------------------
local ID = require("scripts/zones/Xarcabard/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/settings")
require("scripts/globals/dynamis"... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/bcnm.lua | 1 | 40311 | require("scripts/globals/status")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/quests")
-- NEW SYSTEM BCNM NOTES
-- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the function.
-- ... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 1 | 1573 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: STR:... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/bluemagic/wild_carrot.lua | 12 | 1602 | -----------------------------------------
-- Spell: Wild Carrot
-- Restores HP for the target party member
-- Spell cost: 37 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: HP+5
-- Level: 30
-- Casting Time: 2.5 seconds
-- Recast Time: 6 seconds
--
-- Combos: Resist Slee... | gpl-3.0 |
tangyiyang/v3quick-classic | quick/samples/bytearray/src/MainScene.lua | 8 | 2777 | cc.utils = require("framework.cc.utils.init")
local ByteArray = cc.utils.ByteArray
local ByteArrayVarint = cc.utils.ByteArrayVarint
local MainScene = class("MainScene", function()
return display.newScene("MainScene")
end)
function MainScene:ctor()
cc.ui.UIPushButton.new()
:setButtonLabel(cc.ui.UILabel.ne... | mit |
m3rlin87/darkstar | scripts/globals/spells/fire_carol.lua | 2 | 1545 | -----------------------------------------
-- Spell: Fire Carol
-- Increases fire resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/black_prawn.lua | 1 | 1164 | -----------------------------------------
-- ID: 5948
-- Item: Black Prawn
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- DEX -5
-- VIT +3
-- DEF +16% (cap 50)
-----------------------------------------
require("scripts/globals/status")
-----------------------------------------
function ... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/whale_staff_+1.lua | 12 | 1081 | -----------------------------------------
-- ID: 17534
-- Item: Whale Staff +1
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(p... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/La_Theine_Plateau/npcs/Cavernous_Maw.lua | 1 | 1339 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Cavernous Maw
-- !pos -557.9 0.001 637.846 102
-- Teleports Players to Abyssea - La Theine
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/abilities/manifestation.lua | 12 | 1097 | -----------------------------------
-- Ability: Manifestation
-- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled.
-- Obtained: Scholar Level 40
-- Recast Time: Stratagem Charge
-- Duration: 1 compatible black magic spell or 60 seconds, whichev... | gpl-3.0 |
m3rlin87/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 |
m3rlin87/darkstar | scripts/zones/Metalworks/npcs/Ayame.lua | 1 | 2424 | -----------------------------------
-- Area: Metalworks
-- NPC: Ayame
-- Involved in Missions
-- Starts and Finishes Quest: True Strength
-- !pos 133 -19 34 237
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/titles");
require("script... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/weaponskills/expiacion.lua | 1 | 1709 | -----------------------------------
-- Expiacion
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twofold attack. Damage varies with TP. Tizona: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Blue Mage) quest.
-- Aligned with the Aqua Gorget, Snow Gorget & Soil Gorget.
... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/Zone.lua | 12 | 1098 | -----------------------------------
--
-- Zone: Fort_Karugo-Narugo_[S] (96)
--
-----------------------------------
local ID = require("scripts/zones/Fort_Karugo-Narugo_[S]/IDs");
require("scripts/globals/weather");
require("scripts/globals/status");
require("scripts/globals/helm")
-----------------------------------
f... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Full_Moon_Fountain/bcnms/moonlit_path.lua | 1 | 2161 | -----------------------------------
-- Area: Full Moon Fountain
-- Name: The Moonlit Path
-----------------------------------
local ID = require("scripts/zones/Full_Moon_Fountain/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/quests")
-----------------------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Mandragora_Warden.lua | 1 | 1677 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Mandragora Warden
-- Type: Mission NPC
-- !pos 81.981 7.593 139.556 153
-----------------------------------
local ID = require("scripts/zones/The_Boyahda_Tree/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
------------... | gpl-3.0 |
tangyiyang/v3quick-classic | quick/bin/win32/lua/jit/dis_x86.lua | 99 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
tangyiyang/v3quick-classic | quick/lib/lua_bindings/auto/api/ProgressFromTo.lua | 1 | 1291 |
--------------------------------
-- @module ProgressFromTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- Creates and initializes the action with a duration, a "from" percentage and a "to" percentage
-- @function [parent=#ProgressFromTo] create
-- @param self
-- @param #float du... | mit |
tangyiyang/v3quick-classic | quick/samples/tests/src/game.lua | 8 | 3945 |
require("config")
require("framework.init")
-- define global module
game = {}
function game.startup()
cc.FileUtils:getInstance():addSearchPath("res/")
game.enterMainScene()
end
function game.createMenu(items, callback)
local menu = cc.ui.UIListView.new {
viewRect = cc.rect(display.cx - 200, dis... | mit |
m3rlin87/darkstar | scripts/zones/Fort_Ghelsba/npcs/@3x0.lua | 3 | 1044 | -----------------------------------
-- Area: Fort Ghelsba
-- NPC: Elevator Platform
-- !pos 6.912 -52.135 97.998 141
-- 17354992 @3x0 Elevator platform
-- 17354993 _3x3 Elevator stationary lower door
-- 17354994 _3x4 Elevator stationary upper door
-- 17354995 _3xb Elevator moving lower door
-- 17354996 _3xa ... | gpl-3.0 |
tangyiyang/v3quick-classic | quick/samples/towerdefense/src/app/map/Map.lua | 2 | 13157 |
--[[--
Map 对象的生命周期
Map.new() 创建 Map 对象实例
Map:init() 初始化 Map 对象
Map:createView() 创建 Map 对象的视图
Map:removeView() 删除 Map 对象的视图
Map:updateView() 更新 Map 对象的视图
Map:destroy() 销毁 Map 对象
Map:newObject() 创建新的地图子对象,并绑定行为
如果此时视图已经创建,则调用子对象的 createView()
]]
local MapConstants = require("app.map.MapConstants")
... | mit |
m3rlin87/darkstar | scripts/zones/Jugner_Forest/mobs/Knight_Crab.lua | 3 | 1184 | -----------------------------------
-- Area: Jugner Forest
-- MOB: Knight Crab
-----------------------------------
local ID = require("scripts/zones/Jugner_Forest/IDs")
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/status")
-----------------------------------
function onMobSpawn(mob)
-- If re... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/aspir_ii.lua | 12 | 1473 | -----------------------------------------
-- Spell: Aspir
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,ta... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/QuBia_Arena/IDs.lua | 3 | 2176 | -----------------------------------
-- Area: QuBia_Arena
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.QUBIA_ARENA] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back ... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Toraimarai_Canal/IDs.lua | 1 | 1269 | -----------------------------------
-- Area: Toraimarai_Canal
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.TORAIMARAI_CANAL] =
{
text =
{
SEALED_SHUT = 3, -- It's sealed shut with incredibly stron... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Behemoths_Dominion/npcs/qm2.lua | 12 | 1210 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: qm2 (???)
-- Spawns Behemoth or King Behemoth
-- !pos -267 -19 74 127
-----------------------------------
local ID = require("scripts/zones/Behemoths_Dominion/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/settings")
require("... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua | 12 | 1083 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- !pos -60 -23 60 27
-----------------------------------
require("scripts/globals/missions");
local ID = require("scripts/zones/Phomiuna_Aqueducts/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
funct... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Tavnazian_Safehold/Zone.lua | 1 | 2449 | -----------------------------------
--
-- Zone: Tavnazian_Safehold (26)
--
-----------------------------------
local ID = require("scripts/zones/Tavnazian_Safehold/IDs");
require("scripts/globals/conquest");
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
f... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Lebros_Cavern/instances/wamoura_farm_raid.lua | 12 | 3455 | -----------------------------------
--
-- Assault: Wamoura Farm Raid
--
-----------------------------------
local ID = require("scripts/zones/Lebros_Cavern/IDs")
-----------------------------------
function afterInstanceRegister(player)
local instance = player:getInstance();
player:messageSpecial(ID.text.ASSAU... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua | 1 | 3385 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: Ebon_Panel
-- !pos 100.000 -5.180 -337.661 35 | Mithra Tower
-- !pos 740.000 -5.180 -342.352 35 | Elvaan Tower
-- !pos 257.650 -5.180 -699.999 35 | Tarutaru Tower
-- !pos 577.648 -5.180 -700.000 35 | Galka Tower
---------------------------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Temenos/mobs/Orichalcum_Quadav.lua | 3 | 1438 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/mobskills/gospel_of_the_lost.lua | 12 | 1050 | ---------------------------------------------
-- Gospel_of_the_Lost
--
-- Description: Self-heal (~1000 HP) and erase.
-- Type: Healing
-- Can be dispelled: N/A
-- Utsusemi/Blink absorb: N/A
-- Range: Self
-- Notes: Accompanied by text
-- "Bask in my glory..."
-- "Mine existence...stretches into infinity..."
----------... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/bluemagic/cimicine_discharge.lua | 12 | 1471 | -----------------------------------------
-- Spell: Cimicine Discharge
-- Reduces the attack speed of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+1, AGI+2
-- Level: 78
-- Casting Time: 3 seconds
-- Recast Time: 20 seconds
--... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Castle_Oztroja/npcs/_m75.lua | 12 | 1225 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m75 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- !pos -139.643 -72.113 -62.682 151
-----------------------------------
local ID = require("scripts/zones/Castle_Oztroja/IDs")
require("scripts/globals/settings")
----------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/hypno_staff.lua | 12 | 1059 | -----------------------------------------
-- ID: 17117
-- Item: Hypno Staff
-- Additional Effect: Sleep
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,targ... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Dynamis-Tavnazia/bcnms/dynamis_tavnazia.lua | 5 | 1235 | -----------------------------------
-- Area: dynamis_Tavnazia
-- Name: dynamis_Tavnazia
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaTavnazia]UniqueID",os.time());
SetServerVariable("[DynaTavnazia]... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Port_San_dOria/npcs/Arminibit.lua | 1 | 1098 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Arminibit
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
-- "Flyers for R... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/mobskills/enervation.lua | 12 | 1332 | ---------------------------------------------
-- Enervation
--
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical (Dark)
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/stat... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua | 1 | 4887 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Mainchelite
-- !pos -16 1 -30 80
-- CS IDs:
-- 5 = Generic Greeting for Iron Ram members
-- 6 = Mid Initiation of other nation
-- 7 = Ask player to Join Iron Rams
-- 8 = Ask if changed mind about joining Iron rams (after player has declined)
--... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua | 12 | 1782 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Dereck
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Bastok-Jeuno_Airship/IDs");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/spells/armys_paeon_ii.lua | 12 | 1373 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Naja_Salaheem.lua | 1 | 10015 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Naja Salaheem
-- Type: Standard NPC
-- !pos 22.700 -8.804 -45.591 50
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/Shared");
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs");
require("scripts/globals... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/mobskills/bomb_toss_suicide.lua | 1 | 1240 | ---------------------------------------------------
-- Bomb Toss - Suicide
-- Throws a bomb at an enemy. Sometimes backfires.
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
------------------------------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 1 | 1142 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- !pos 99 0 116 231
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
fu... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Qulun_Dome/npcs/Magicite.lua | 3 | 1124 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Magicite
-- Involved in Mission: Magicite
-- !pos 11 25 -81 148
-----------------------------------
require("scripts/globals/keyitems");
local ID = require("scripts/zones/Qulun_Dome/IDs");
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/abilities/allies_roll.lua | 12 | 2852 | -----------------------------------
-- Ability: Allies's Roll
-- Enhances skillchain damage and skillchain accuracy for party members within area of effect.
-- Optimal Job: None
-- Lucky Number: 3
-- Unlucky Number: 10
-- Level: 89
-- Phantom Roll +1 Value: 1
--
-- Die Roll | Skillchain Bonus
-- -------- -------
... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j0.lua | 2 | 1150 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: Web of Recollections
-- !pos 0.000 -2.0 247.992 19
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missions");
local ID = require("scripts/zones/Spire_of_Dem/IDs");
funct... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/abilities/pets/attachments/mana_converter.lua | 1 | 1078 | -----------------------------------
-- Attachment: Mana Converter
-----------------------------------
require("scripts/globals/status")
function onEquip(pet)
pet:addListener("AUTOMATON_ATTACHMENT_CHECK", "ATTACHMENT_MANA_CONVERTER", function(automaton, target)
local master = automaton:getMaster()
l... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Western_Adoulin/Zone.lua | 1 | 1216 | -----------------------------------
--
-- Zone: Western Adoulin
-- !zone 256
--
-----------------------------------
local ID = require("scripts/zones/Western_Adoulin/IDs")
require("scripts/globals/quests")
-----------------------------------
function onInitialize(zone)
end;
function onZoneIn(player,prevZone)
loca... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/mobskills/optic_induration.lua | 1 | 1337 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- No... | gpl-3.0 |
m3rlin87/darkstar | scripts/globals/items/chunk_of_homemade_cheese.lua | 1 | 1551 | -----------------------------------------
-- ID: 5225
-- Item: chunk_of_homemade_cheese
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
------------------------------... | gpl-3.0 |
m3rlin87/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rodin-Comidin.lua | 1 | 1210 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rodin-Comidin
-- Standard Info NPC
-- Involved in Missions: TOAU-41
-- !pos 17.205 -5.999 51.161 50
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
l... | gpl-3.0 |
m3rlin87/darkstar | scripts/commands/mobhere.lua | 22 | 1600 | ---------------------------------------------------------------------------------------------------
-- func: mobhere <mobId>
-- desc: Spawns a MOB and then moves it to the current position, if in same zone.
-- Errors will despawn the MOB unless "noDepop" was specified (any value works).
--------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.