fix(LogicServer): 修复转生等级检查逻辑
- 修改了 NpcTeleport.txt 文件中的转生等级检查逻辑 - 将原有的逻辑改为条件判断,确保只在 zsLevel 存在时进行检查 - 这个修改可以修复转生功能相关的 bug
This commit is contained in:
		| @@ -123,7 +123,7 @@ if NetmsgDispatcher then | ||||
| 			end | ||||
|  | ||||
| 		    -- 检查转生 | ||||
| 		    local zs = config.zsLevel or Actor.checkActorLevel(actor, 0, config.zsLevel) | ||||
| 		    local zs = config.zsLevel and Actor.checkActorLevel(actor, 0, config.zsLevel) | ||||
| 			--local tips = string.format(Lang.TisMsg.xxx, config.nLevel) | ||||
| 			--Actor.sendTipmsg(actor, "等级不足!", ttFlyTip) | ||||
| 			if editionConf.suit == System.getServerId() and config.suit then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user