这次马桶的紧急更新,运营方其实想用最快的方式提高马桶的强度,过程应该是这样的:
策划联系开发和测试,大家一起商量,如何改能最快,最少出错,还能提升马桶,赶紧给用户一个交代。
策划和程序员GG+测试最后觉得,把8星的加成效果代码移动到大招效果代码块,也比较容易。
程序员GG说好,找一找八星被动的代码在哪里,好久没看了呢,最近在测试钢龙,哦,在这呢:
//星级大于等八级且回合数大于等于4
if(pokeMatong.StatLevel >=8 && currentFight.roundNumber >=4) {
pokeMatong.basePAttack = pokeMatong.preBasePAttack;
pokeMatong.basePAttack *= 1.25;//物攻提升1.25倍
pokeMatong.isDisperse = false;//不可驱散
..............
}
翻到马桶被动的代码:
if(currentFight.roundNumber <4) {
pokeMatong.basePAttack *= 0.5;
pokeMatong.baseMAttack *= 0.5;
pokeMatong.pAttackPunish *= xx
..............
}
再加一下下面的代码,又快,又不出错,还能加强,应该不用测试也能行的:
if(currentFight.roundNumber >=4) {
pokeMatong.basePAttack = pokeMatong.preBasePAttack;
//新加的被动判断,星级小于8也提高攻击
if (pokeMatong.StatLevel < 8 ) {
pokeMatong.basePAttack *= 1.15;//物攻提升15%
} else if (pokeMatong.StatLevel >= 8){//星级大于提高30%
pokeMatong.basePAttack *= 1.3;//物攻提升30%
}
}
策划:今晚我们要改完,测试完,并且要发布新版本!
程序GG和测试:改动量其实有点大(。。程序员都这么说)
策划:改完今晚请大家吃好的夜宵 .emmm
程序GG和测试:好,我们尽量吧。
策划:这样最保险,技能机制,如果大改这一块代码你们全要重写吧,成本和时间比较高的,今晚先发布,有什么问题明天再看。
策划联系开发和测试,大家一起商量,如何改能最快,最少出错,还能提升马桶,赶紧给用户一个交代。
策划和程序员GG+测试最后觉得,把8星的加成效果代码移动到大招效果代码块,也比较容易。
程序员GG说好,找一找八星被动的代码在哪里,好久没看了呢,最近在测试钢龙,哦,在这呢:
//星级大于等八级且回合数大于等于4
if(pokeMatong.StatLevel >=8 && currentFight.roundNumber >=4) {
pokeMatong.basePAttack = pokeMatong.preBasePAttack;
pokeMatong.basePAttack *= 1.25;//物攻提升1.25倍
pokeMatong.isDisperse = false;//不可驱散
..............
}
翻到马桶被动的代码:
if(currentFight.roundNumber <4) {
pokeMatong.basePAttack *= 0.5;
pokeMatong.baseMAttack *= 0.5;
pokeMatong.pAttackPunish *= xx
..............
}
再加一下下面的代码,又快,又不出错,还能加强,应该不用测试也能行的:
if(currentFight.roundNumber >=4) {
pokeMatong.basePAttack = pokeMatong.preBasePAttack;
//新加的被动判断,星级小于8也提高攻击
if (pokeMatong.StatLevel < 8 ) {
pokeMatong.basePAttack *= 1.15;//物攻提升15%
} else if (pokeMatong.StatLevel >= 8){//星级大于提高30%
pokeMatong.basePAttack *= 1.3;//物攻提升30%
}
}
策划:今晚我们要改完,测试完,并且要发布新版本!
程序GG和测试:改动量其实有点大(。。程序员都这么说)
策划:改完今晚请大家吃好的夜宵 .emmm
程序GG和测试:好,我们尽量吧。
策划:这样最保险,技能机制,如果大改这一块代码你们全要重写吧,成本和时间比较高的,今晚先发布,有什么问题明天再看。