コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: AttackState.cs プロジェクト: songxiaopeng/mu_server
        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);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
 public NormalState(Robot owner, FinishStateMachine FSM)
 {
     this.owner = owner;
     this.FSM   = FSM;
 }
コード例 #5
0
 public ReturnState(Robot owner, FinishStateMachine FSM)
 {
     this.owner = owner;
     this.FSM   = FSM;
 }