试玩功能属性加成
This commit is contained in:
parent
cbbccaaa63
commit
5112645d9d
@ -13,6 +13,30 @@ function BattleControllerFullMoonSkin:getChapterId()
|
|||||||
return DataManager.FullMoonData:getCurSkinChallengeId()
|
return DataManager.FullMoonData:getCurSkinChallengeId()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function BattleControllerFullMoonSkin:initOther()
|
||||||
|
local chapterId = DataManager.ChapterData:getMaxChapterId()
|
||||||
|
if chapterId <= 0 then
|
||||||
|
chapterId = DataManager.ChapterData.MIN_CHAPTER_ID
|
||||||
|
end
|
||||||
|
local cfg = ConfigManager:getConfig("chapter")[chapterId]
|
||||||
|
self.monsterAtkAddition = 0
|
||||||
|
self.monsterHpAddition = 0
|
||||||
|
if cfg and cfg.daily_challenge_difficulty then
|
||||||
|
self.monsterAtkAddition = cfg.daily_challenge_difficulty[2]
|
||||||
|
self.monsterHpAddition = cfg.daily_challenge_difficulty[1]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- 怪物攻击力加成
|
||||||
|
function BattleControllerFullMoonSkin:getMonsterAtkAddition()
|
||||||
|
return self.monsterAtkAddition
|
||||||
|
end
|
||||||
|
|
||||||
|
-- 怪物血量加成
|
||||||
|
function BattleControllerFullMoonSkin:getMonsterHpAddition()
|
||||||
|
return self.monsterHpAddition
|
||||||
|
end
|
||||||
|
|
||||||
function BattleControllerFullMoonSkin:controllBattleEnd()
|
function BattleControllerFullMoonSkin:controllBattleEnd()
|
||||||
self.combatReport = {
|
self.combatReport = {
|
||||||
battleType = GConst.BattleConst.BATTLE_TYPE.FULL_MOON_SKIN,
|
battleType = GConst.BattleConst.BATTLE_TYPE.FULL_MOON_SKIN,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user