00003 不思议迷宫.0009.10:Bug之二:免称号锻造、升级装备,合成卷轴

来源:互联网 发布:使用域名的好处企业 编辑:程序博客网 时间:2024/04/28 17:55

00003 不思议迷宫.0009.10Bug之二:免称号锻造、升级装备,合成卷轴

         今天玩德古拉城堡,想击杀100Boss完成“首领礼包”。平时我都是用双大地,但一直听说啥主流套路传奇毁灭大铸剑师,今天就突然来了兴趣想试试。结果发现我想多了——探索点缺得太厉害。在感叹句“还没脱离新人阶段搞毛的爬塔组合”之余,我就想,学习大铸剑师称号不就是为了升级物理套装么,那能不能不学称号直接升级呢?当然,升级、锻造都是需要淬火精华的,不过这个东西完全可以通过让炼金出战或者链接获得解决。我就抱着试试看的心态捣鼓了一下,没想到的是,居然完全可行。

         local function tiewen_onButton_openRisker_Magic()

                        --升级魔法系装备

                        require "game/ui/form/risker_equip/UIMagicAnvil";

                        UIMgr.getCurrentScene():removeFormByName("UIMagicAnvil");

                        local uiForm = UIMagicAnvil.create(8513, EQUIP_STYLE_MAGIC);

                        UIMgr.getCurrentScene():addForm(uiForm);

         end

         local function tiewen_onButton_openRisker_Physic()

                        --升级物理系装备

                        require "game/ui/form/risker_equip/UIMagicAnvil";

                        UIMgr.getCurrentScene():removeFormByName("UIMagicAnvil");

                        local uiForm = UIMagicAnvil.create(8514, EQUIP_STYLE_PHYSIC);

                        UIMgr.getCurrentScene():addForm(uiForm);

         end

         local function tiewen_onButton_openRisker_Forging()

                        --锻造宝物

                        require "game/ui/form/risker_equip/UIChooseEquip";

                        UIMgr.getCurrentScene():removeFormByName("UIChooseEquip");

                        local uiForm = UIChooseEquip.create(8515);

                        UIMgr.getCurrentScene():addForm(uiForm);

         end

         local function tiewen_onButton_openRisker_Compound()

                        --合成卷轴

                        require "game/ui/form/risker_equip/UIChooseSpell";

                        UIMgr.getCurrentScene():removeFormByName("UIChooseSpell");

                        local uiForm = UIChooseSpell.create(8509);

                        UIMgr.getCurrentScene():addForm(uiForm);

         end

 

         local button_tiewen_openRisker_Magic = TieWen_UI.createButton(self, "升魔法装", tiewen_onButton_openRisker_Magic);

         local button_tiewen_openRisker_Physic = TieWen_UI.createButton(self, "升物理装", tiewen_onButton_openRisker_Physic);

         local button_tiewen_openRisker_Forging = TieWen_UI.createButton(self, "锻造宝物", tiewen_onButton_openRisker_Forging);

         local button_tiewen_openRisker_Compound = TieWen_UI.createButton(self, "合成卷轴", tiewen_onButton_openRisker_Compound);

         代码相当简单,就是将相应的界面显示出来。合成卷轴是不能用的——我的意思是说,界面可以正常显示,但缺少符文,所以合成不了卷轴。如果有个和炼金类似的、能得到符文的冈布奥多好……

         如有需要,可进群161355323下载补丁或安装程序。

0 0
原创粉丝点击