抽卡:500抽逻辑完成
This commit is contained in:
@@ -8,7 +8,6 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
case 'activity.gachaHandler.getGachaList':
|
||||
case 'activity.gachaHandler.getVisitedHero':
|
||||
case 'activity.gachaHandler.getGuideGachaData':
|
||||
case 'activity.gachaHandler.guidePull':
|
||||
case 'activity.selfServiceShopHandler.getSelfServiceShopActivity':
|
||||
case "battle.comBattleHandler.cancelSearch":
|
||||
case "battle.comBattleHandler.getTeamRec":
|
||||
@@ -205,10 +204,15 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
if(!checkNaturalNumbers(msg.hid)) return false
|
||||
break;
|
||||
}
|
||||
case 'activity.gachaHandler.guidePull':
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.activityId)) return false;
|
||||
break;
|
||||
}
|
||||
case 'activity.gachaHandler.saveToCandidates':
|
||||
case 'activity.gachaHandler.decide':
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.id)) return false;
|
||||
if(!checkNaturalNumbers(msg.activityId, msg.id)) return false;
|
||||
break;
|
||||
}
|
||||
case 'activity.growthFundHandler.getGrowthFundCellReward':
|
||||
@@ -1622,6 +1626,7 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
case "battle.ladderHandler.setMyRank":
|
||||
case "battle.ladderHandler.setMyOpp":
|
||||
case "guild.raceActivityHandler.debugAddHorse":
|
||||
case "activity.gachaHandler.debugClearGachaRecord":
|
||||
{
|
||||
if (msg.magicWord !== DEBUG_MAGIC_WORD) return false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user