|
本帖最后由 jzw2935 于 2016-3-21 08:50 编辑
- function script caika {
- if (#caika >= 3 ) {
- mes "[会员拆卡]";
- mes "你今天已经使用3次拆卡服务了";
- close;
- } else {
- mes "会员每天可以使用3次拆卡服务";
- mes "您现在还能使用"+(3-#caika)+"次";
- next;
- menu "好啊!看来真不错。",REMOVEMENU,
- "不了,谢谢。",CLOSEOUT;
- REMOVEPRICE:
- mes "[会员拆卡]";
- mes "嗯....卸除一件装备需要支付^4040FF零^000000Zeny。";
- mes "需要卸除卡片吗?";
- next;
- menu "好啊,那帮我卸除吧。",REMOVEMENU,
- "想想还是算了。",CLOSEOUT;
- REMOVEMENU:
- mes "[会员拆卡]";
- mes "HOO~你想我帮你卸除哪一件装备呢?";
- next;
- menu "我要卸除。",CLOSEOUT,
- getequipname(1),SLOT1,
- getequipname(2),SLOT2,
- getequipname(3),SLOT3,
- getequipname(4),SLOT4,
- getequipname(5),SLOT5,
- getequipname(6),SLOT6,
- getequipname(7),SLOT7,
- getequipname(8),SLOT8,
- getequipname(9),SLOT9,
- getequipname(10),SLOT10;
- SLOT1:
- set @part,1;
- goto CARDNUMCHECK;
- SLOT2:
- set @part,2;
- goto CARDNUMCHECK;
- SLOT3:
- set @part,3;
- goto CARDNUMCHECK;
- SLOT4:
- set @part,4;
- goto CARDNUMCHECK;
- SLOT5:
- set @part,5;
- goto CARDNUMCHECK;
- SLOT6:
- set @part,6;
- goto CARDNUMCHECK;
- SLOT7:
- set @part,7;
- goto CARDNUMCHECK;
- SLOT8:
- set @part,8;
- goto CARDNUMCHECK;
- SLOT9:
- set @part,9;
- goto CARDNUMCHECK;
- SLOT10:
- set @part,10;
- goto CARDNUMCHECK;
- CARDNUMCHECK:
- if(getequipcardcnt(@part) == 0) goto DENYCARDCOUNT;
- set @cardcount,getequipcardcnt(@part);
- mes "[会员拆卡]";
- mes "这件装备的插槽上已经插上了" + @cardcount + "张卡片。";
- next;
- menu "帮我拆掉吧。",REMOVECARDWARNING,
- "我还没有准备好。",CLOSEOUT;
- REMOVECARDWARNING:
- mes "[会员拆卡]";
- mes "在开始之前我得先告诉你。";
- mes "我使用这种魔法保证100%成功,";
- mes "^FF4040装备也不会损坏^000000。";
- mes "肯定不会损坏";
- next;
- mes "[会员拆卡]";
- mes "^FF4040保证100%成功^000000、";
- next;
- menu "想想还是算了。",CLOSEOUT,
- "开始拆卡。",REMOVECARD;
- REMOVECARD:
- mes "[会员拆卡]";
- mes "很好!那我开始了~~。";
- next;
- // Replace the constants in the next 3 lines with failure chance values defined in refine_db.txt
- // First value = Total failure chance (item and cards destroyed)
- // Second value = Partial failure chance (one or the other is destroyed, player decides which one is safe)
- // Third value = Harmless failure chance (all that's lost is your investment)
- /t @failchance,rand(100);
- emotion 18;
- successremovecards @part;
- mes "[会员拆卡]";
- mes "大功告成啦!";
- mes "这是你的卡片和你的道具,再见!";
- set #caika, #caika+1;
- close;
- DENYCARDCOUNT:
- emotion 5;
- mes "[会员拆卡]";
- mes "年轻人...。";
- mes "这件装备上面并没有卡片呀~~~。";
- close;
- DENYMATERIAL:
- mes "[会员拆卡]";
- mes "你并没有把我需要的材料带来呀。";
- mes "还是把东西都带齐了再来找我吧!";
- mes "再说,我的付出也应该得要有所收获嘛!";
- close;
- CLOSEOUT:
- mes "[会员拆卡]";
- mes "很好,如果需要。";
- mes "我愿意随时为你服务。";
- close;
- }
复制代码 |
温馨提示:
1. 本站模拟器源于网络,经 99Max.mE 二次开发,仅供个人学习娱乐使用,切勿用于商业用途,否则后果自负!
2. 如需更好体验游戏内容,请前往官方游戏!不具备合法的运营模式,都是强盗,请勿擅自搭建私服!
3. 如本站内容有侵犯您的权益,请发送信息至QQ:372607220 或 EMAIL:372607220@qq.com ,我们会及时删除。
|