//定义自己的道具领取成功的方法,传入内容为callBackObj,加入末日狂欢抽奖
function myGiftSuccessCallBack(callbackObj){
var packageMap = {
'24918':1,
'24919':2,
'24920':3,
'24921':4,
'24922':5,
'24923':6,
'24924':7,
'24925':8,
'24926':9,
'24927':10,
'24928':11,
'24929':12,
'24930':9,
'24931':1,
'24932':2,
'24933':3,
'24934':4,
'24935':5,
'24936':6,
'24937':7,
'24938':8,
'24939':9,
'24940':10,
'24941':11,
'24942':12,
'24943':11,
'24944':1,
'24945':2,
'24946':3,
'24947':4,
'24948':5,
'24949':6,
'24950':7,
'24951':8,
'24952':9,
'24953':10,
'24954':11,
'24955':12,
'24956':9
}
var packageId = callbackObj.iPackageId;
openCard(CARDID,packageMap[packageId]);
}
//定义自己的抽奖成功方法,杀敌抽奖
function myGiftSuccessCallBackForKillNum(callbackObj){
var packageMap = {
'24824':0,
'24961':1,
'24962':2,
'24963':3,
'24964':4,
'24965':5,
'24992':6,
'24994':7,
'24993':8,
'24996':9,
'24971':10,
'24995':11,
'24966':12,
'24967':13,
'24968':14,
'24969':15,
'24970':16,
'24997':12,
'24998':0,
'24999':1,
'25000':2,
'25001':3,
'25002':4,
'25003':5,
'25010':6,
'25012':7,
'25011':8,
'25014':9,
'25009':10,
'25013':11,
'25004':12,
'25005':13,
'25006':14,
'25007':15,
'25008':16,
'25015':14,
'25016':0,
'25017':1,
'25018':2,
'25019':3,
'25020':4,
'25021':5,
'25028':6,
'25030':7,
'25029':8,
'25032':9,
'25027':10,
'25031':11,
'25022':12,
'25023':13,
'25024':14,
'25025':15,
'25026':16,
'25033':16
}
var packageId = callbackObj.iPackageId;
killCountPackageName = callbackObj.sPackageName;
callFlashToRoll(packageMap[packageId]);
}
</script>
表示不懂,还有,前面有句话是防止再次刷新提交。防止多开? 别喷,真心没懂
PS;火麒麟别买了,