private static int ReloadXmlFile_config_bossAI() { int ret = GameManager.SystemBossAI.ReloadLoadFromXMlFile(); int result; if (ret < 0) { result = ret; } else { GameManager.SystemMagicActionMgr.ParseBossAIActions(GameManager.SystemBossAI); BossAICachingMgr.LoadBossAICachingItems(GameManager.SystemBossAI); result = ret; } return(result); }
/// <summary> /// 加载BossAI文件 /// </summary> /// <returns></returns> private static int ReloadXmlFile_config_bossAI() { int ret = GameManager.SystemBossAI.ReloadLoadFromXMlFile(); if (ret < 0) { return(ret); } //初始化BossAI的公式列表 GameManager.SystemMagicActionMgr.ParseBossAIActions(GameManager.SystemBossAI); //使用双键值缓存boss AI项 BossAICachingMgr.LoadBossAICachingItems(GameManager.SystemBossAI); return(ret); }