战斗逻辑

back_recharge
lvxinran 2019-10-30 18:59:11 +08:00
parent 6a302847f0
commit fb67d6253a
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ function Skill:Cast()
if not self.isTeamSkill then
local type = BattleLogic.Type
local isPVEMonster = self.owner.camp == 1 and (type == 1 or type == 2 or type == 4 or type == 5)
local isPVEMonster = self.owner.camp == 1 and (type == 1 or type == 2 or type == 4 or type == 5 or type == 8)
local time = 0
if isPVEMonster then
if self.owner.superSkill == self then

View File

@ -12,7 +12,7 @@ local curFrame
local playerSkillUsable
local enemySkillUsable
BattleLogic.Type = 0 --1 故事副本 2 地图探索 3 竞技场 4 秘境boss 5 解锁秘境 6 公会战 7 血战
BattleLogic.Type = 0 --1 故事副本 2 地图探索 3 竞技场 4 秘境boss 5 解锁秘境 6 公会战 7 血战 8 兽潮
BattleLogic.IsEnd = false
BattleLogic.Result = -1
BattleLogic.Event = BattleEvent.New()
@ -28,7 +28,7 @@ local record
local optionRecord
--是否开启战斗日志
BattleLogic.IsOpenBattleRecord = false
BattleLogic.IsOpenBattleRecord = true
--逻辑帧频
BattleLogic.GameFrameRate = 30
BattleLogic.GameDeltaTime = 1 / BattleLogic.GameFrameRate