public MPAbilityEvadeMixin_RemoteNoRecveive(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this._mixinArg = new MixinArg_Evade(); }
public AbilityGlobalSubShieldMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this._shieldEffectPatternIx = -1; this.config = (GlobalSubShieldMixin)config; }
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; }
public AbilityOnKillEnemyMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (OnKillEnemyMixin)config; }
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; }
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>(); }
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; }
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); }
public AbilityAttachModifierToOffStageMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (AttachModifierToOffStageMixin)config; }
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; }
public AbilityAvatarComboBeyondMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (AvatarComboBeyondMixin)config; this._avatarActor = base.actor as AvatarActor; }
public AbilityReflectBulletMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (ReflectBulletMixin)config; }
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)); } }
public AbilityHitExplodeShotgunBulletMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (HitExplodeShotgunBulletMixin)config; }
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; }
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>(); }
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); }
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; }
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); }
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; }
public AbilitySuddenTeleportMixin(ActorAbility instancedAbility, ActorModifier instancedModifier, ConfigAbilityMixin config) : base(instancedAbility, instancedModifier, config) { this.config = (SuddenTeleportMixin)config; }