protected override void ProcessAction_Injured(GameStruct.Action act)
{
BaseObject target = act.GetObject(0) as BaseObject;
uint value = (uint)act.GetObject(1);
if (!IsDie())
{
//亡灵巫师- 被攻击后如果有召唤巫环状态- 就同时召唤出三个亡灵攻击对方。
if (this.GetTimerSystem().QueryStatus(GameStruct.RoleStatus.STATUS_ZHAOHUANWUHUAN) != null &&
this.GetTimerSystem().QueryStatus(GameStruct.RoleStatus.STATUS_HUASHENWANGLING) != null && mZhaoHuanWuHuanObj == null)
{
int nNewX = target.GetCurrentX() - DIR._DELTA_X[this.GetDir()];
int nNewY = target.GetCurrentY() - DIR._DELTA_Y[this.GetDir()];
MonsterObject Object_CALL = null;
uint[] CallObj_ID = { GameBase.Config.Define.DIYUXIEFU_MONSTER_ID, GameBase.Config.Define.SHIHUNWULING_MONSTER_ID, GameBase.Config.Define.SHENYUANELING_MONSTER_ID };
for (int i = 0; i < CallObj_ID.Length; i++)
{
GameStruct.MonsterInfo monster_info = ConfigManager.Instance().GetMonsterInfo(CallObj_ID[i]);
if (monster_info != null)
{
Object_CALL = new DiYuXieFu(this, target, (short)nNewX, (short)nNewY, this.GetDir(), monster_info.id, monster_info.ai);
this.GetGameMap().AddObject(Object_CALL, null);
Object_CALL.Alive(false);
}
}
SetZhaoHuanWuHuanObj(target);
}
}
mTarget = target;
}