Ver Fonte

幽暗禁地红点相关代码

gitxsm há 5 meses atrás
pai
commit
60e6c350ec

+ 5 - 0
script/module/darkForbiddenarea/DarkForbiddenAreaLogic.lua

@@ -13,6 +13,8 @@ local DarkConf = require("excel.darkForbiddenara")
 local CombatDefine = require("combat.CombatDefine")
 local CombatLogic = require("combat.CombatLogic")
 local MonsterGrid = require("monster.MonsterGrid")
+local RoleSystemLogic = require("roleSystem.RoleSystemLogic")
+local RoleSystemDefine = require("roleSystem.RoleSystemDefine")
 
 
 local DARKFORBIDDENAREA_OPEN_LV = 100  -- 可参与活动等级
@@ -221,6 +223,7 @@ function DarkForAreaLogic_SaoDang(human, nID)
         
         BagLogic.addItemList(human, tItem, "darkforarea")
 
+        RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_1215)
         --DarkForAreaLogic_Query(human,  tMonsterConf.nDifficulty)
     end
 end
@@ -268,6 +271,8 @@ function fight(human, args, combatType)
     -- 删除挑战消耗物品
     BagLogic.delItem(human, nUseGood, nUseNum, "darkforarea")
 
+    RoleSystemLogic.onDot(human, RoleSystemDefine.ROLE_SYS_ID_1215)
+
     print("[arkForbiddenAreaLogic_fight] 开始进入战斗")
 	CombatLogic.combatBegin(human, 1001, args, CombatDefine.COMBAT_TYPE31, nID)