public AttackState(GameClient player, Robot owner, FinishStateMachine FSM) { this.owner = owner; this.FSM = FSM; this.target = player; this.owner.LockObject = player.GetObjectID(); fiveComboSkillList = owner.MonsterInfo.ToOccupation == 0 ? JingJiChangConstants.ZhanShiFiveCombotSkillList : owner.MonsterInfo.ToOccupation == 1 ? JingJiChangConstants.FaShiFiveCombotSkillList : JingJiChangConstants.GongJianShouFiveCombotSkillList; }
public AttackState(GameClient player, Robot owner, FinishStateMachine FSM) { this.owner = owner; this.FSM = FSM; this.target = player; this.owner.LockObject = player.GetObjectID(); EMagicSwordTowardType eMagicSwordType = GameManager.MagicSwordMgr.GetMagicSwordTypeByWeapon(owner.getRoleDataMini().Occupation, owner.getRoleDataMini().GoodsDataList, null); this.fiveComboSkillList = JingJiChangConstants.getJingJiChangeFiveCombatSkillList(owner.getRoleDataMini().Occupation, eMagicSwordType); }
public AttackState(GameClient player, Robot owner, FinishStateMachine FSM) { this.owner = owner; this.FSM = FSM; this.target = player; this.owner.LockObject = player.GetObjectID(); //fiveComboSkillList = owner.MonsterInfo.ToOccupation == 0 ? JingJiChangConstants.ZhanShiFiveCombotSkillList : owner.MonsterInfo.ToOccupation == 1 ? JingJiChangConstants.FaShiFiveCombotSkillList : JingJiChangConstants.GongJianShouFiveCombotSkillList; // 魔剑士分支类型 EMagicSwordTowardType eMagicSwordType = GameManager.MagicSwordMgr.GetMagicSwordTypeByWeapon(owner.getRoleDataMini().Occupation, owner.getRoleDataMini().GoodsDataList); // 竞技场5连击技能列表,魔剑士需根据武器 判断 分支 [XSea 2015/5/19] fiveComboSkillList = JingJiChangConstants.getJingJiChangeFiveCombatSkillList(owner.getRoleDataMini().Occupation, eMagicSwordType); }
public NormalState(Robot owner, FinishStateMachine FSM) { this.owner = owner; this.FSM = FSM; }
public ReturnState(Robot owner, FinishStateMachine FSM) { this.owner = owner; this.FSM = FSM; }