【GM】修改GM

dev_chengFeng
ZhangBiao 2021-11-16 11:53:19 +08:00
parent b6ea250096
commit 5eaf88defb
1 changed files with 32 additions and 11 deletions

View File

@ -45,19 +45,40 @@ GMPanel = Inherit(BasePanel)
local this = GMPanel
local heroList = {
"4#10033#11", "4#10085#11", "4#10008#11", "4#10089#11", "4#10006#11", "4#10009#11", "4#10023#11"
"4#10001#10","4#10002#10","4#10003#10","4#10004#10","4#10005#10","4#10006#10",
"4#10007#10","4#10008#10","4#10009#10","4#10010#10","4#10011#10","4#10012#10",
"4#10013#10","4#10014#10","4#10015#10","4#10016#10","4#10017#10","4#10018#10",
"4#10019#10","4#10020#10","4#10021#10","4#10022#10","4#10023#10","4#10024#10",
"4#10025#10","4#10026#10","4#10027#10","4#10028#10","4#10029#10","4#10030#10",
"4#10031#10","4#10032#10","4#10033#10","4#10034#10","4#10035#10","4#10036#10",
"4#10037#10","4#10038#10","4#10039#10","4#10041#10","4#10042#10","4#10043#10",
"4#10044#10","4#10045#10","4#10046#10","4#10087#10","4#10088#10","4#10089#10",
"4#10085#10","4#10040#10","4#10086#10","4#10001#11","4#10043#11","4#10011#11",
"4#10013#11","4#10020#11","4#10087#11","4#10012#11","4#10015#11","4#10040#11",
"4#10014#11","4#10009#11","4#10001#11","4#10022#11","4#10023#11","4#10086#11",
"4#10089#11","4#10092#11","4#10006#11","4#10008#11","4#10085#11","4#10011#11",
"4#10091#11","4#10090#11","4#10088#11","4#10041#11","4#10026#11","4#10016#11",
"4#10017#11","4#10087#11","4#10021#11","4#10004#11","4#10007#11","4#10010#11",
"4#10012#11","4#10015#11","4#10033#11","4#10020#11","4#10002#11","4#10003#11",
"4#10005#11","4#10018#11","4#10019#11","4#10024#11","4#10042#11","4#10043#11","4#10013#11",
}
local baowuList = {
"1#100005#1", "1#100010#1", "1#100015#1", "1#100020#1", "1#100025#1","1#100030#1", "1#100035#1","1#100040#1"
"1#100001#40", "1#100002#40", "1#100003#40", "1#100004#40", "1#100005#40", "1#100006#40", "1#100007#40", "1#100008#40", "1#100009#40",
"1#100010#40", "1#100011#40", "1#100012#40", "1#100013#40", "1#100014#40", "1#100015#40", "1#100016#40", "1#100017#40", "1#100018#40",
"1#100019#40", "1#100020#40", "1#100021#40", "1#100022#40", "1#100023#40", "1#100024#40", "1#100025#40", "1#100026#40", "1#100027#40",
"1#100028#40", "1#100029#40", "1#100030#40", "1#100031#40", "1#100032#40", "1#100033#40", "1#100034#40", "1#100035#40", "1#100036#40",
"1#100037#40", "1#100038#40", "1#100039#40", "1#100040#40", "1#32#9999999", "1#29#9999999",
}
local equipeList = {
"1#60158#1", "1#60183#1", "1#60193#1", "1#60198#1",
"1#60159#1", "1#60184#1", "1#60194#1", "1#60199#1",
"1#60160#1", "1#60185#1", "1#60200#1", "1#60201#1",
"1#60161#1", "1#60186#1", "1#60202#1", "1#60208#1",
"1#60162#1", "1#60187#1", "1#60203#1", "1#60209#1",
"1#60001#6","1#60002#6","1#60034#6","1#60035#6","1#60067#6","1#60068#6","1#60069#6","1#60100#6","1#60101#6","1#60102#6","1#60103#6","1#60155#6","1#60156#6",
"1#60157#6","1#60158#6","1#60159#6","1#60160#6","1#60016#6","1#60017#6","1#60049#6","1#60050#6","1#60082#6","1#60083#6","1#60084#6","1#60125#6","1#60126#6",
"1#60127#6","1#60128#6","1#60180#6","1#60181#6","1#60182#6","1#60183#6","1#60184#6","1#60185#6","1#60022#6","1#60023#6","1#60055#6","1#60056#6","1#60088#6",
"1#60089#6","1#60090#6","1#60135#6","1#60136#6","1#60137#6","1#60138#6","1#60190#6","1#60191#6","1#60192#6","1#60193#6","1#60194#6","1#60200#6","1#60025#6",
"1#60026#6","1#60058#6","1#60059#6","1#60091#6","1#60092#6","1#60093#6","1#60140#6","1#60141#6","1#60142#6","1#60144#6","1#60195#6","1#60196#6","1#60197#6",
"1#60198#6","1#60199#6","1#60201#6","1#60161#6","1#60162#6","1#60163#6","1#60164#6","1#60165#6","1#60166#6","1#60186#6","1#60187#6","1#60188#6","1#60189#6",
"1#60178#6","1#60179#6","1#60202#6","1#60203#6","1#60204#6","1#60205#6","1#60206#6","1#60207#6","1#60208#6","1#60209#6","1#60210#6","1#60211#6","1#60212#6","1#60213#6",
}
local moneyList = {"1#3#99999999", "1#4#99999999", "1#5#99999999", "1#14#999999999", "1#15#99999999", "1#16#99999999","1#1226#99999999"}
local moneyList = {"1#74#999", "1#87#999", "1#1226#99999999", "1#5000050#99", "1#20007#10", "1#1203#10000", "1#14#500000000","1#16#400000000", "1#3#500000000", "1#4#9999999", "1#20#999999",}
--初始化组件(用于子类重写)
function GMPanel:InitComponent()
this.spLoader = SpriteLoader.New()
@ -84,10 +105,10 @@ function GMPanel:InitComponent()
{type = GMType.Player, subType = GMSubType.Server, inputNum = 0, args = "8#1#1", btnTip = "通关所有关卡", inputTip = {}, callBack = nil},
-- {type = GMType.Player, subType = GMSubType.Server, inputNum = 0, args = "6#0#0", btnTip = "一键物品", inputTip = {""}, callBack = nil},
-- {type = GMType.Player, subType = GMSubType.Server, inputNum = 0, args = "22#0#0", btnTip = "一键异妖", inputTip = {""}, callBack = nil},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成五个12星英雄", inputTip = {""}, callBack = this.FiveHero},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "全10/11神将", inputTip = {""}, callBack = this.FiveHero},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "一键很多钱", inputTip = {""}, callBack = this.GetMoney},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成顶级魂灵宝", inputTip = {""}, callBack = this.Baowu},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成顶级装备", inputTip = {""}, callBack = this.GetEquipe},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成魂灵宝和材料", inputTip = {""}, callBack = this.Baowu},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成所有装备", inputTip = {""}, callBack = this.GetEquipe},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "生成很多物品", inputTip = {""}, callBack = this.GetAllItems},
{type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "鑫鹏的gm", inputTip = {""}, callBack = this.SendToXinPeng},