From 9f374c1cd5507cccc484b604d3369b272c9d4962 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Mon, 22 Nov 2021 14:39:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=E5=B1=9E=E6=80=A7=E6=8F=8F=E8=BF=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Debug/RoleProperty.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Assets/Scripts/Debug/RoleProperty.cs b/Assets/Scripts/Debug/RoleProperty.cs index cc396d1623..998f5d2da2 100644 --- a/Assets/Scripts/Debug/RoleProperty.cs +++ b/Assets/Scripts/Debug/RoleProperty.cs @@ -22,15 +22,15 @@ public class RoleProperty : MonoBehaviour "抗暴率(%)", "治疗加成系数(%)", "受到治疗加成系数(%)", - "队伍伤害加成系数(%)", - "队伍伤害减免系数(%)", - "火系伤害减免系数(%)", - "风系伤害减免系数(%)", - "冰系伤害减免系数(%)", - "地系伤害减免系数(%)", - "光系伤害减免系数(%)", - "暗系伤害减免系数(%)", - "属性伤害加成系数(%)", + "人系伤害加成(%)", + "佛系伤害加成(%)", + "妖系伤害加成(%)", + "道系伤害加成(%)", + "人系伤害减免(%)", + "佛系伤害减免(%)", + "妖系伤害减免(%)", + "道系伤害减免(%)", + "暴击伤害减免(%)", "初始怒气值", }; private Dictionary _dic = new Dictionary(); From 1c7de24da1486858b37de9cb2ea8c93e49bb5d01 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Mon, 22 Nov 2021 14:42:39 +0800 Subject: [PATCH 2/3] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=E4=BA=BA=E7=89=A9=E5=B1=9E=E6=80=A7=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Debug/RoleProperty.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Debug/RoleProperty.cs b/Assets/Scripts/Debug/RoleProperty.cs index 998f5d2da2..86e764f4ea 100644 --- a/Assets/Scripts/Debug/RoleProperty.cs +++ b/Assets/Scripts/Debug/RoleProperty.cs @@ -15,8 +15,8 @@ public class RoleProperty : MonoBehaviour "速度", "伤害加成系数(%)", "伤害减免系数(%)", - "施法率(%)", - "后期基础施法率(%)", + "命中lv(%)", + "闪避率(%)", "暴击率(%)", "暴击伤害系数(%)", "抗暴率(%)", From 2428034e9d7b67467d6f95599b28f4a05ccd1702 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 22 Nov 2021 15:00:46 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E3=80=90GM=E3=80=91=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E9=94=AE=E6=B3=95=E5=AE=9D=E7=A2=8E=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Main/GMPanel.lua | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/GMPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/GMPanel.lua index fa616acde6..7231d5bac1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/GMPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/GMPanel.lua @@ -78,7 +78,7 @@ local this = GMPanel "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#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",} +local moneyList = {"1#14#2000000000","1#16#2000000000","1#74#99999", "1#87#99999", "1#1226#99999999", "1#5000050#99", "1#20007#10", "1#1203#10000", "1#3#500000000", "1#4#9999999", "1#20#999999",} --初始化组件(用于子类重写) function GMPanel:InitComponent() this.spLoader = SpriteLoader.New() @@ -111,6 +111,8 @@ function GMPanel:InitComponent() {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}, + {type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "一键法宝碎片", inputTip = {""}, callBack = this.GetFaBaoSuiPian}, + {type = GMType.Player, subType = GMSubType.Func, inputNum = 0, args = "", btnTip = "一键变身卡", inputTip = {""}, callBack = this.GetBianshenka}, {type = GMType.Function, subType = GMSubType.Server, inputNum = 1, args = "16#%s#0", btnTip = "跳转", inputTip = {"输入兽潮层数"}, callBack = nil}, {type = GMType.Function, subType = GMSubType.Server, inputNum = 1, args = "15#%s#0", btnTip = "获取", inputTip = {"孙龙秘宝积分"}, callBack = this.SetSunLongScroe}, @@ -354,9 +356,37 @@ function this.GetMoney() local time = Timer.New(function () NetManager.GMEvent(moneyList[index]) index = index + 1 - end, 1, 10, true) + end, 0.5, 10, true) time:Start() end +-- 一键法宝碎片 +function this.GetFaBaoSuiPian() + local ic = ConfigManager.GetConfig(ConfigName.ItemConfig) + local i = 0 + coroutine.start(function() + for _, configInfo in ConfigPairs(ConfigManager.GetConfig(ConfigName.ItemConfig)) do + if ItemType.talismanSoulChip == configInfo.ItemType then + NetManager.GMEvent("1#"..configInfo.Id.."#1000") + coroutine.wait(0.01) + end + end + end) +end + +-- 一键变身卡 +function this.GetBianshenka() + local ic = ConfigManager.GetConfig(ConfigName.ItemConfig) + local i = 0 + coroutine.start(function() + for _, configInfo in ConfigPairs(ConfigManager.GetConfig(ConfigName.ItemConfig)) do + if ItemType.Incarnation == configInfo.ItemType then + NetManager.GMEvent("1#"..configInfo.Id.."#1") + coroutine.wait(0.01) + end + end + end) +end + -- 测试跳转 function this.TestJump(text) JumpManager.GoJump(tonumber(text))