public MPAbilityEvadeMixin_RemoteNoRecveive(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._mixinArg = new MixinArg_Evade();
 }
예제 #2
0
 public AbilityGlobalSubShieldMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._shieldEffectPatternIx = -1;
     this.config = (GlobalSubShieldMixin)config;
 }
예제 #3
0
 public AbilityAvatarSkillButtonHoldChargeMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config           = (AvatarSkillButtonHoldChargeAnimatorMixin)config;
     this._chargeTimer     = new EntityTimer();
     base._chargeTimeRatio = instancedAbility.Evaluate(this.config.ChargeTimeRatio);
 }
 public AbilityHitExplodeTracingMultiBulletsMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (HitExplodeTracingMultiBulletsMixin)config;
 }
예제 #5
0
 public AbilityOnKillEnemyMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (OnKillEnemyMixin)config;
 }
예제 #6
0
 public AbilityDynamicDistanceMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config  = (DynamicDistanceMixin)config;
     this._entity = base.entity;
 }
 public AbilityAvatarShareRecoverMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (AvatarShareRecoverMixin)config;
 }
예제 #8
0
 public AbilityGrenadeMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config        = (GrenadeMixin)config;
     this._traceBullets = new List <TraceDelay>();
 }
 public AbilityHitExplodeRandomPosBulletMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config          = (HitExplodeRandomPosBulletMixin)config;
     this.randPosIx       = 0;
     this._bulletInfoList = new List <BulletInfo>();
 }
예제 #10
0
 public AbilityPositionDirectionHitMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._backHitRange         = 1f;
     this.config                = (PositionDirectionHitMixin)config;
     this._forwardAngleRangeMax = instancedAbility.Evaluate(this.config.ForwardAngleRangeMax);
     this._forwardAngleRangeMin = instancedAbility.Evaluate(this.config.ForwardAngleRangeMin);
     this._posAngleRangeMin     = instancedAbility.Evaluate(this.config.PosAngleRangeMin);
     this._posAngleRangeMax     = instancedAbility.Evaluate(this.config.PosAngleRangeMax);
     this._backHitRange         = instancedAbility.Evaluate(this.config.HitRange);
     this._animEventIDs         = this.config.AnimEventIDs;
 }
예제 #11
0
 public MPAbilityEvadeMixin_RemoteRecveive(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._mixinArg   = new MixinArg_Evade();
     this._recvStates = new PeerReceiveState[Singleton <MPManager> .Instance.peer.totalPeerCount + 1];
 }
 public AbilityLimitLoopTransitionMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config    = (LimitLoopTransitionMixin)config;
     this._maxCount = instancedAbility.Evaluate(this.config.LoopLimitCount);
 }
예제 #13
0
 public AbilityAttachModifierToOffStageMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (AttachModifierToOffStageMixin)config;
 }
예제 #14
0
 public AbilityMonsterSuicideAttack(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._basicBrightness        = 1f;
     this._brightnessPropertyName = "_Emission";
     this.config              = (MonsterSuicideAttackMixin)config;
     this._suicideTimer       = new EntityTimer(instancedAbility.Evaluate(this.config.SuicideCountDownDuration));
     this._warningTimer       = new EntityTimer(instancedAbility.Evaluate(this.config.SuicideCountDownDuration) * 0.15f);
     this._isTouchExplode     = this.config.IsTouchExplode;
     this._onTouchTriggerID   = this.config.OnTouchTriggerID;
     this._skinedMeshRenderer = base.actor.gameObject.GetComponentInChildren <SkinnedMeshRenderer>();
     if (this._skinedMeshRenderer != null)
     {
         this._basicBrightness = this._skinedMeshRenderer.sharedMaterial.GetFloat(this._brightnessPropertyName);
     }
 }
 public AbilityLimitLoopWithNormalizedTimeMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (LimitLoopWithNormalizedTime)config;
 }
예제 #16
0
 public AbilityAvatarComboBeyondMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config       = (AvatarComboBeyondMixin)config;
     this._avatarActor = base.actor as AvatarActor;
 }
예제 #17
0
 public AbilityReflectBulletMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (ReflectBulletMixin)config;
 }
예제 #18
0
        public AbilityDefendModeMonsterMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
        {
            this._hatredAIAreaSections = new List <float>();
            this._hatredAIValues       = new List <int>();
            this.config            = (DefendModeMonsterMixin)config;
            this._monsterActor     = base.actor as MonsterActor;
            this._monster          = base.entity as BaseMonoMonster;
            this._monsterHatredDic = new Dictionary <uint, float>();
            this._monsterHatredDic.Clear();
            this._hatredDecreaseTimer = new EntityTimer(instancedAbility.Evaluate(this.config.HatredDecreaseInterval));
            this._hatredDecreaseTimer.Reset(false);
            this._minAISwitchTimer = new EntityTimer(instancedAbility.Evaluate(this.config.MinAISwitchDuration));
            this._minAISwitchTimer.Reset(false);
            for (int i = 0; i < this.config.hatredAIAreaSections.Length; i++)
            {
                this._hatredAIAreaSections.Add(this.config.hatredAIAreaSections[i]);
            }
            this._hatredAIAreaSections.Add(1f);
            for (int j = 0; j < this.config.hatredAIValues.Length; j++)
            {
                this._hatredAIValues.Add(this.config.hatredAIValues[j]);
            }
            this._defaultHatredAIValue = this.config.DefaultAIValue;
            this._currentHatredAIValue = this._defaultHatredAIValue;
            BTreeMonsterAIController activeAIController = (BTreeMonsterAIController)this._monster.GetActiveAIController();

            if (activeAIController != null)
            {
                activeAIController.OnAIActive = (Action <bool>)Delegate.Combine(activeAIController.OnAIActive, new Action <bool>(this.OnMonsterAIActive));
            }
        }
예제 #19
0
 public AbilityHitExplodeShotgunBulletMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (HitExplodeShotgunBulletMixin)config;
 }
예제 #20
0
 public AbilityAvatarSkillButtonClickedMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (AvatarSkillButtonClickedMixin)config;
 }
 public AbilityModifiyDamageWithMultiMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (ModifyDamageWithMultiMixin)config;
 }
예제 #22
0
 public AbilitySmokeBombMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config     = (SmokeBombMixin)config;
     this._buffTimer = new EntityTimer(instancedAbility.Evaluate(this.config.Duration), base.entity);
     this._buffTimer.SetActive(false);
     this._isSmokeOn          = false;
     this._isSmokeAvaliable   = false;
     this._insideAlliedActors = new List <BaseAbilityActor>();
     this._insideEnemyActors  = new List <BaseAbilityActor>();
 }
예제 #23
0
 public AbilityHPThresholdMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (HPThresholdMixin)config;
 }
 public AbilityMonsterListenEvadeMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (MonsterListenEvadeMixin)config;
     Singleton <EventManager> .Instance.RegisterEventListener <EvtEvadeSuccess>(base.actor.runtimeID);
 }
예제 #25
0
 public AbilityGlobalComboClearResistMixin(ActorAbility instancedAbility, ActorModifier instancedModifer, ConfigAbilityMixin config) : base(instancedAbility, instancedModifer, config)
 {
     this.config       = (GlobalComboClearResistMixin)config;
     this._resumeTimer = new EntityTimer(instancedAbility.Evaluate(this.config.ResumeTimeSpan));
     this._levelActor  = Singleton <LevelManager> .Instance.levelActor;
 }
 public AbilityModifyAnimEventAttackMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (ModifyAnimEventAttackMixin)config;
 }
예제 #27
0
 public AbilityMonsterSkillIDChargeAnimatorMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config                = (MonsterSkillIDChargeAnimatorMixin)config;
     this._monster              = (BaseMonoMonster)base.entity;
     this._chargeTimer          = new EntityTimer();
     this._triggeredChargeTimer = new EntityTimer();
     this._switchTimer          = new EntityTimer(this.config.ChargeSwitchWindow, base.entity);
     this._loopCount            = this.config.ChargeLoopSkillIDs.Length;
     this._chargeTimeRatio      = instancedAbility.Evaluate(this.config.ChargeTimeRatio);
 }
예제 #28
0
 public AbilityBlackHoleMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this._addedVelocityActorsAndIndexDic = new Dictionary <BaseAbilityActor, int>();
     this.config          = (BlackHoleMixin)config;
     this._blackHoleTimer = new EntityTimer(instancedAbility.Evaluate(this.config.Duration));
     this._blackHoleTimer.SetActive(false);
     this._pullVelocity = instancedAbility.Evaluate(this.config.PullVelocity);
     this._insideActors = new List <BaseAbilityActor>();
 }
 public AbilityDefendWithDirectionMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (DefendWithDirectionMixin)config;
 }
예제 #30
0
 public AbilitySuddenTeleportMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config)
 {
     this.config = (SuddenTeleportMixin)config;
 }