| #!/usr/bin/python  | 
| # -*- coding: GBK -*-  | 
| #-------------------------------------------------------------------------------  | 
| #  | 
| ##@package NPCAI.AIType_53  | 
| #  | 
| # @todo:Ëþ·ÀÀàͨÓùÖÎïAI  | 
| # @author hxp  | 
| # @date 2017-11-29  | 
| # @version 1.0  | 
| #  | 
| # ÏêϸÃèÊö: Ëþ·ÀÀàͨÓùÖÎïAI, ¹¥»÷ËùÓпɹ¥»÷¶ÔÏó£¬ÓÅÏȳðºÞ×î¸ßÄ¿±ê  | 
| #  | 
| #-------------------------------------------------------------------------------  | 
| #"""Version = 2017-11-29 18:00"""  | 
| #-------------------------------------------------------------------------------  | 
| import ChConfig  | 
| import FBDefenseCommon  | 
| #-------------------------------------------------------------------------------  | 
|   | 
| ## ³õʼ»¯  | 
| #  @param curNPC µ±Ç°npc  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def DoInit(curNPC):  | 
|     curNPC.GetNPCAngry().Init(ChConfig.Def_NormalNPCAngryCount)  | 
|     return  | 
|   | 
| def OnNPCReborn(curNPC):  | 
|     curNPC.SetIsNeedProcess(True)  | 
|     return  | 
|   | 
| ## Ö´ÐÐAI  | 
| #  @param curNPC µ±Ç°npc  | 
| #  @param tick µ±Ç°Ê±¼ä  | 
| #  @return None  | 
| #  @remarks º¯ÊýÏêϸ˵Ã÷.  | 
| def ProcessAI(curNPC, tick):  | 
|     if not FBDefenseCommon.NormalCheck(curNPC, tick):  | 
|         return  | 
|       | 
|     # ÐèÒª¸üгðºÞ  | 
|     FBDefenseCommon.NormalFight(curNPC, tick, refreshInterval=10000, isUpdAngry=False)  | 
|     return  | 
|   | 
|      |