private void InitEnemyAttackPhases_Pumpkin() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; Vector2 v2Orig = new Vector2(13f, 28f); xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(13f, 19f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(13f, 30f); xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(22f, 25f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(13f, 28f); xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(13f, 25f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(14f, 30f); xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(8f, 25f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("Pumpkin", xThisDict); }
private void InitEnemyAttackPhases_AutumnKnight() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -14f), 15f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-8f, -14f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(16f, 8f), 15f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(18f, -15f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-15f, 11f), 15f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(13f, 13f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-16f, 8f), 15f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-18f, -15f), 15f); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; xAP = new AttackPhaseLoader(); xThisDict.Add(28, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(8f, -14f), 15f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -14f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(29, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(16f, 8f), 15f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(18f, -15f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(30, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-15f, 11f), 15f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(13f, 13f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(31, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-16f, 8f), 15f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-18f, -15f), 15f); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.Always; xStat.iBreakingPower = 8; xStat.fDamageModifier = 2f; xAP = new AttackPhaseLoader(); xThisDict.Add(44, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 30f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 30f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 30f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 30f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("AutumnKnight", xThisDict); }
public SpecialEffect(AttackStats.SpecialEffect.EffectType enType, params float[] afAlterableValues) { this.enType = enType; this.afAlterableValues = afAlterableValues; }
private void InitEnemyAttackPhases_Gift() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 40f; Vector2 v2Offset = new Vector2(11f, 22f); AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(4 - (int)v2Offset.X, 4 - (int)v2Offset.Y, 16, 17)); this.AddStandardEnemyTargets(xAP); v2Offset = new Vector2(15f, 24f); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(14 - (int)v2Offset.X, 15 - (int)v2Offset.Y, 17, 14)); this.AddStandardEnemyTargets(xAP); v2Offset = new Vector2(11f, 25f); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 24 - (int)v2Offset.Y, 16, 17)); this.AddStandardEnemyTargets(xAP); v2Offset = new Vector2(24f, 24f); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 15 - (int)v2Offset.Y, 17, 14)); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("MeleeGiftBox", xThisDict); }
private void InitEnemyAttackPhases_LivingPuzzleBlock() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; xStat.fDamageModifier = 1f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; new Vector2(13f, 28f); xAP.FillEmptyList(8, 1); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(0f, -3f), 12f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 30f; xStat.fDamageModifier = 2f; xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; new Vector2(13f, 30f); xAP.FillEmptyList(30, 1); xAP.llxAllColliders[20][0] = SphereCollider.CreateShell(new Vector2(0f, -3f), 12f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("LivingPuzzleBlock", xThisDict); }
private void InitEnemyAttackPhases_CrystalBeetle() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat = new AttackStats(); xStat.fKnockBack = 40f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.Always; xStat.iBreakingPower = 7; xStat.fDamageModifier = 1f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(16, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(17, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(18, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(19, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, 0f), 15f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("CrystalBeetle", xThisDict); }
private void InitEnemyAttackPhases_FrostlingRogue() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 25f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(13, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-6f, -7f), 12f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-4f, -14f), 12f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(6f, -7f), 12f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(13, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(7f, 6f), 12f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(14f, -4f), 12f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(7f, -6f), 12f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(13, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(6f, 7f), 12f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(4f, 14f), 12f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(-6f, 7f), 12f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(13, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-7f, 6f), 12f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-14f, -4f), 12f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(-7f, -6f), 12f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("FrostlingRogue", xThisDict); }
private void InitEnemyAttackPhases_TrickTreat() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 24f; xStat.bKnockBackOwner = false; xStat.bKnockbackShieldRedistribution = false; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; new Vector2(25f, 41f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, -16f), 12f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; new Vector2(25f, 37f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(22f, -4f), 16f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; new Vector2(26f, 37f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, 12f), 12f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; new Vector2(26f, 38f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(-22f, -4f), 16f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("TrickTreat", xThisDict); }
private void InitEnemyAttackPhases_Vilya() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 20f; xStat.bKnockbackShieldRedistribution = false; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(24, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(30f, 33f); xAP.FillEmptyList(10, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(51f, 25f) - v2Offset, 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(35f, 18f) - v2Offset, 15f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(17f, 19f) - v2Offset, 15f); xAP.llxAllColliders[4] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(25, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(27f, 36f); xAP.FillEmptyList(10, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(34f, 36f) - v2Offset, 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(46f, 33f) - v2Offset, 15f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(43f, 28f) - v2Offset, 15f); xAP.llxAllColliders[4] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(26, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(30f, 30f); xAP.FillEmptyList(10, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(17f, 26f) - v2Offset, 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(28f, 35f) - v2Offset, 15f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(42f, 30f) - v2Offset, 15f); xAP.llxAllColliders[3] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(27, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(29f, 36f); xAP.FillEmptyList(10, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(24f, 36f) - v2Offset, 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(12f, 33f) - v2Offset, 15f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(14f, 28f) - v2Offset, 15f); xAP.llxAllColliders[4] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(42, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(33f, 41f); xAP.FillEmptyList(30, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(20f, 44f) - v2Offset, 24f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(39f, 44f) - v2Offset, 24f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(49f, 32f) - v2Offset, 24f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(41f, 27f) - v2Offset, 24f); xAP.llxAllColliders[14][0] = SphereCollider.CreateShell(new Vector2(23f, 25f) - v2Offset, 24f); xAP.llxAllColliders[15][0] = SphereCollider.CreateShell(new Vector2(15f, 35f) - v2Offset, 24f); xAP.llxAllColliders[16][0] = SphereCollider.CreateShell(new Vector2(17f, 48f) - v2Offset, 24f); xAP.llxAllColliders[17][0] = SphereCollider.CreateShell(new Vector2(40f, 49f) - v2Offset, 24f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("VilyaFirst", xThisDict); }
private void InitEnemyAttackPhases_SnowGolem() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 1f; xStat.iBreakingPower = 1; xStat.enAttackElement = AttackStats.Element.Ice; xStat.enAttackType = AttackStats.Type.Magical; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, -8f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -8f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, 8f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 8f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 1.5f; xStat.iBreakingPower = 1; xStat.enAttackElement = AttackStats.Element.Ice; xStat.enAttackType = AttackStats.Type.Magical; xAP = new AttackPhaseLoader(); xThisDict.Add(12, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, -6f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -6f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(13, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(14, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(15, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("IceGolemLv1", xThisDict); xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 1.5f; xStat.iBreakingPower = 2; xStat.enAttackElement = AttackStats.Element.Ice; xStat.enAttackType = AttackStats.Type.Magical; xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, -8f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -8f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, 8f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 8f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 9f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 9f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 1.5f; xStat.iBreakingPower = 2; xStat.enAttackElement = AttackStats.Element.Ice; xStat.enAttackType = AttackStats.Type.Magical; xAP = new AttackPhaseLoader(); xThisDict.Add(12, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, -6f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -6f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(13, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -2f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(14, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(15, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(9, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 8f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -2f), 8f); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("IceGolemLv2", xThisDict); }
private void InitEnemyAttackPhases_SummerKnight() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); Vector2 v2Offset = new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; xAP = new AttackPhaseLoader(); xThisDict.Add(28, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(29, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(30, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(31, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 50f; xStat.fKnockBackOnPerfectGuard = 15f; xStat.enShieldCrush = AttackStats.ShieldCrush.AllButPerfectGuard; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 8; xStat.fDamageModifier = 4f; xAP = new AttackPhaseLoader(); xThisDict.Add(36, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 10 - (int)v2Offset.Y, 30, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(37, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(38, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 26, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(39, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[8][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("SummerKnight", xThisDict); }
private void InitEnemyAttackPhases_Shroom() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -6f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(6f, 0f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-6f, 0f), 8f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("Shroom", xThisDict); }
private void InitEnemyAttackPhases_Scarecrow() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 3; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; Vector2 v2Orig = new Vector2(25f, 45f); xAP.FillEmptyList(16, 2); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(16f, 34f), 15f); xAP.llxAllColliders[11][1] = SphereCollider.CreateShell(-v2Orig + new Vector2(37f, 34f), 15f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(26f, 29f), 15f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(23f, 45f); xAP.FillEmptyList(16, 2); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(38f, 42f), 15f); xAP.llxAllColliders[11][1] = SphereCollider.CreateShell(-v2Orig + new Vector2(38f, 35f), 15f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(45f, 43f), 15f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(26f, 44f); xAP.FillEmptyList(16, 2); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(16f, 56f), 15f); xAP.llxAllColliders[11][1] = SphereCollider.CreateShell(-v2Orig + new Vector2(37f, 56f), 15f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(26f, 61f), 15f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(37f, 45f); xAP.FillEmptyList(16, 2); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(22f, 42f), 15f); xAP.llxAllColliders[11][1] = SphereCollider.CreateShell(-v2Orig + new Vector2(22f, 35f), 15f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(15f, 43f), 15f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("Scarecrow", xThisDict); }
private void InitEnemyAttackPhases_Rabbi() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, -9f), 8f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(0f, -9f), 8f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(0f, -9f), 8f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(4f, -4f), 8f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(4f, -4f), 8f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(4f, -4f), 8f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, -2f), 8f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(0f, -2f), 8f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(0f, -2f), 8f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(-4f, -4f), 8f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-4f, -4f), 8f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(-4f, -4f), 8f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("Rabbi", xThisDict); }
private void InitEnemyAttackPhases_Boar() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 40f; xStat.bKnockbackShieldRedistribution = false; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(24, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 13f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 13f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 13f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 13f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(25, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(18f, -4f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(18f, -4f), 13f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(18f, -4f), 13f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(18f, -4f), 13f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(18f, -4f), 13f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(26, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(0f, 15f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(0f, 15f), 13f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, 15f), 13f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(0f, 15f), 13f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(0f, 15f), 13f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(27, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 13f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 13f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 13f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 13f); xAP.llxAllColliders[12][0] = null; xAP.llxAllColliders[13] = null; this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("Boar", xThisDict); }
private void InitEnemyAttackPhases_WinterKnight() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-7, -44, 13, 42)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(-7, -44, 13, 42)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(4, -6, 41, 10)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(4, -6, 41, 10)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-11, -4, 15, 42)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(-11, -4, 15, 42)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-45, -6, 41, 10)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(-45, -6, 41, 10)); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 35f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; xAP = new AttackPhaseLoader(); xThisDict.Add(28, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(-7, -44, 13, 42)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-7, -44, 13, 42)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(29, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(4, -6, 41, 10)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(4, -6, 41, 10)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(30, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(-11, -4, 15, 42)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-11, -4, 15, 42)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(31, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[5][0] = new BoxCollider(new Rectangle(-45, -6, 41, 10)); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(-45, -6, 41, 10)); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 50f; xStat.fKnockBackOnPerfectGuard = 15f; xStat.enShieldCrush = AttackStats.ShieldCrush.AllButPerfectGuard; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 8; xStat.fDamageModifier = 4f; xAP = new AttackPhaseLoader(); xThisDict.Add(36, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); for (int i = 8; i < 16; i++) { xAP.llxAllColliders[i][0] = new BoxCollider(new Rectangle(-7, -44, 13, 42)); } this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(37, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); for (int j = 8; j < 16; j++) { xAP.llxAllColliders[j][0] = new BoxCollider(new Rectangle(4, -6, 41, 10)); } this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(38, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); for (int k = 8; k < 16; k++) { xAP.llxAllColliders[k][0] = new BoxCollider(new Rectangle(-11, -4, 15, 42)); } this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(39, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); for (int l = 8; l < 16; l++) { xAP.llxAllColliders[l][0] = new BoxCollider(new Rectangle(-45, -6, 41, 10)); } this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("WinterKnight", xThisDict); }
private void InitEnemyAttackPhases_BrawlerBot() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 25f; xStat.bKnockBackOwner = false; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, -2f), 10f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(0f, -7f), 10f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 10f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, -15f), 10f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(8f, -4f), 7f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(12f, -4f), 7f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(15f, -4f), 7f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(15f, -4f), 7f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(0f, 2f), 10f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(0f, 4f), 10f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 10f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(0f, 6f), 10f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-8f, -4f), 7f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-12f, -4f), 7f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(-15f, -4f), 7f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(-15f, -4f), 7f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("BrawlerBot", xThisDict); }
private void InitEnemyAttackPhases_Yeti() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 45f; xStat.fKnockBackOnPerfectGuard = 10f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bKnockBackOwner = false; xStat.iBreakingPower = 6; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(8, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); Vector2 v2Offset = new Vector2(20f, 38f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 16 - (int)v2Offset.Y, 37, 18)); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(2 - (int)v2Offset.X, 16 - (int)v2Offset.Y, 37, 18)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(24f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(34 - (int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(21f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 37, 22)); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(3 - (int)v2Offset.X, 40 - (int)v2Offset.Y, 37, 22)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); v2Offset = new Vector2(36f, 40f); xAP.FillEmptyList(16, 1); xAP.llxAllColliders[9][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(-(int)v2Offset.X, 25 - (int)v2Offset.Y, 26, 25)); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("Yeti", xThisDict); }
private void InitEnemyAttackPhases_Freddi() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 24f; xStat.iBaseDamage = 30; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(16, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(25f, 41f); xAP.FillEmptyList(25, 2); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(14f, 27f) - v2Offset, 4f); xAP.llxAllColliders[9][1] = SphereCollider.CreateShell(new Vector2(23f, 32f) - v2Offset, 4f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(17f, 20f) - v2Offset, 4f); xAP.llxAllColliders[10][1] = SphereCollider.CreateShell(new Vector2(25f, 31f) - v2Offset, 4f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(30f, 18f) - v2Offset, 4f); xAP.llxAllColliders[11][1] = SphereCollider.CreateShell(new Vector2(25f, 31f) - v2Offset, 4f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(39f, 19f) - v2Offset, 4f); xAP.llxAllColliders[12][1] = SphereCollider.CreateShell(new Vector2(33f, 31f) - v2Offset, 4f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(44f, 27f) - v2Offset, 4f); xAP.llxAllColliders[13][1] = SphereCollider.CreateShell(new Vector2(35f, 32f) - v2Offset, 4f); xAP.llxAllColliders[14][0] = null; xAP.llxAllColliders[15] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(17, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(25f, 37f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(23f, 34f) - v2Offset, 9f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(23f, 36f) - v2Offset, 9f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(38f, 32f) - v2Offset, 9f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(36f, 26f) - v2Offset, 9f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(25f, 28f) - v2Offset, 9f); xAP.llxAllColliders[14][0] = null; xAP.llxAllColliders[15] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(18, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(26f, 37f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(39f, 33f) - v2Offset, 9f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(34f, 40f) - v2Offset, 9f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(25f, 44f) - v2Offset, 9f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(13f, 36f) - v2Offset, 9f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(16f, 32f) - v2Offset, 7f); xAP.llxAllColliders[14][0] = null; xAP.llxAllColliders[15] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(19, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(26f, 38f); xAP.FillEmptyList(25, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(24f, 38f) - v2Offset, 9f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(13f, 34f) - v2Offset, 9f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(16f, 27f) - v2Offset, 9f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(23f, 27f) - v2Offset, 9f); xAP.llxAllColliders[14][0] = null; xAP.llxAllColliders[15] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); this.xMasterList.Add("FreddiFirst", xThisDict); }
private void InitEnemyAttackPhases_Bee() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; xStat.v2AttackDirectionOverride = new Vector2(1f, 0f); AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(27, 1); xAP.llxAllColliders[14][0] = SphereCollider.CreateShell(new Vector2(4f, -5f), 6f); xAP.llxAllColliders[15][0] = SphereCollider.CreateShell(new Vector2(4f, -5f), 6f); xAP.llxAllColliders[16][0] = SphereCollider.CreateShell(new Vector2(4f, -5f), 6f); xAP.llxAllColliders[17][0] = SphereCollider.CreateShell(new Vector2(4f, -5f), 6f); xAP.llxAllColliders[18][0] = null; xAP.llxAllColliders[19] = null; this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 17f; xStat.v2AttackDirectionOverride = new Vector2(-1f, 0f); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(27, 1); xAP.llxAllColliders[14][0] = SphereCollider.CreateShell(new Vector2(-4f, -5f), 6f); xAP.llxAllColliders[15][0] = SphereCollider.CreateShell(new Vector2(-4f, -5f), 6f); xAP.llxAllColliders[16][0] = SphereCollider.CreateShell(new Vector2(-4f, -5f), 6f); xAP.llxAllColliders[17][0] = SphereCollider.CreateShell(new Vector2(-4f, -5f), 6f); xAP.llxAllColliders[18][0] = null; xAP.llxAllColliders[19] = null; this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("Bee", xThisDict); }
private void InitEnemyAttackPhases_Ghosty() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 17f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(9, xAP); xAP.xAttackStats = xStat; Vector2 v2Orig = new Vector2(12f, 29f); xAP.FillEmptyList(2, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(20f, 22f), 8f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(20f, 22f), 8f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; v2Orig = new Vector2(15f, 29f); xAP.FillEmptyList(2, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(6f, 22f), 8f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(-v2Orig + new Vector2(6f, 22f), 8f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("Ghosty", xThisDict); }
private void InitPlayerAttackPhases_ShortSword() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 6f; xStat.fDamageModifier = 1f; xStat.fSelfKnockback = 3f; xStat.sAttackHandle = "1HBasic"; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(100, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(-15f, -14f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(0f, -18f), 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(20f, -14f), 9f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(22f, -8f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(101, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(11f, -18f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(20f, -4f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(12f, 12f), 9f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(4f, 12f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(102, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(12f, 3f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(6f, 10f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(-13f, 7f), 9f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(-24f, 0f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(103, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(-11f, -17f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(-19f, -8f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(-12f, 9f), 9f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(0f, 10f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(104, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(22f, -8f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(20f, -14f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(0f, -18f), 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(-18f, -14f), 10f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(105, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(11f, -18f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(20f, -4f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(12f, 10f), 9f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(4f, 7f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(106, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(12f, 3f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(6f, 10f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(-13f, 7f), 9f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(-24f, 0f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(107, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(8, 1); xAP.llxAllColliders[0] = null; xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(-11f, -17f), 9f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(-19f, -8f), 9f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(-12f, 9f), 9f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(0f, 10f), 9f); xAP.llxAllColliders[5][0] = null; xAP.llxAllColliders[6] = null; xAP.llxAllColliders[7] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OneHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 10f; xStat.fDamageModifier = 1.1f; xAP = new AttackPhaseLoader(); xThisDict.Add(112, xAP); xThisDict.Add(156, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(15f, 42f); xAP.FillEmptyList(5, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[0][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[3][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerUp; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(113, xAP); xThisDict.Add(157, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(17f, 35f); xAP.FillEmptyList(5, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 12f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 12f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(114, xAP); xThisDict.Add(158, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(14f, 31f); xAP.FillEmptyList(5, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(14f, 43f) - v2Offset, 12f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(14f, 43f) - v2Offset, 12f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(14f, 43f) - v2Offset, 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(14f, 43f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(14f, 43f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerDown; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(115, xAP); xThisDict.Add(159, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(42f, 35f); xAP.FillEmptyList(5, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 12f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 12f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 0f; xAP = new AttackPhaseLoader(); xThisDict.Add(124, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(15f, 42f); xAP.FillEmptyList(6, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[0][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[3][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[5][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerUp; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(125, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(17f, 35f); xAP.FillEmptyList(6, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[0][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[3][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][1] = SphereCollider.CreateShell(new Vector2(35f, 28f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(126, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(21f, 33f); xAP.FillEmptyList(6, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabDown; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(127, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(42f, 35f); xAP.FillEmptyList(6, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[0][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[3][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][1] = SphereCollider.CreateShell(new Vector2(23f, 28f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 20f; xStat.iBreakingPower = 5; xAP = new AttackPhaseLoader(); xThisDict.Add(132, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(15f, 42f); xAP.FillEmptyList(6, 2); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[3][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(15f, 13f) - v2Offset, 12f); xAP.llxAllColliders[5][1] = SphereCollider.CreateShell(new Vector2(15f, 20f) - v2Offset, 12f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.StingerUp; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(133, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(17f, 35f); xAP.FillEmptyList(6, 1); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(42f, 28f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(134, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(21f, 33f); xAP.FillEmptyList(6, 1); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(20f, 48f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabDown; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(135, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(42f, 35f); xAP.FillEmptyList(6, 1); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(16f, 28f) - v2Offset, 13f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.MillionStabRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); this.xMasterList.Add("OneHanded", xThisDict); }
private void InitEnemyAttackPhases_GreenSlime() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 15f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-2f, -10f), 5f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(4f, -4f), 5f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-2f, 3f), 5f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-7f, -4f), 5f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("GreenSlime", xThisDict); }
private void InitEnemyAttackPhases_Blomma() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 27f; xStat.bKnockBackOwner = false; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(10, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(20, 1); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(Vector2.Zero, 22f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(11, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(20, 1); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(Vector2.Zero, 22f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 27f; xStat.iBaseDamage = 35; xStat.bKnockBackOwner = false; xAP = new AttackPhaseLoader(); xThisDict.Add(14, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(14, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-23f, -12f), 13f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-14f, -16f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(15f, -13f), 18f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(26f, -1f), 22f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(19f, 17f), 17f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(15, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(14, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(23f, -12f), 13f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(14f, -16f), 13f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(-15f, -13f), 18f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(-26f, -1f), 22f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-19f, 17f), 17f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); this.xMasterList.Add("Blomma", xThisDict); }
private void InitEnemyAttackPhases_Marino() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 2f; xStat.fDamageModifier = 1f; xStat.bDontTriggerPlayerInvincibility = true; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.fArmorPenetration = 0.5f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(16, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(15f, 44f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(17, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(18, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(14f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(19, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(46f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fDamageModifier = 1.5f; xStat.fKnockBack = 5f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.fArmorPenetration = 0.5f; xStat.fStrengthVersusShields = 3f; xStat.bDontTriggerPlayerInvincibility = true; xAP = new AttackPhaseLoader(); xThisDict.Add(28, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(15f, 44f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[1][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(29, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[1][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(30, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(14f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[1][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(31, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(46f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[1][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fKnockBack = 2f; xStat.bDontTriggerPlayerInvincibility = true; xStat.fDamageModifier = 1f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xAP = new AttackPhaseLoader(); xThisDict.Add(36, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(15f, 44f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(37, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(38, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(14f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(39, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(46f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fKnockBack = 30f; xStat.fDamageModifier = 3f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xAP = new AttackPhaseLoader(); xThisDict.Add(40, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(15f, 44f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(9 - (int)v2Offset.X, 3 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(41, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(33 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(42, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(14f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(10 - (int)v2Offset.X, 34 - (int)v2Offset.Y, 12, 34)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(43, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(46f, 32f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); xAP.llxAllColliders[7][0] = new BoxCollider(new Rectangle(1 - (int)v2Offset.X, 28 - (int)v2Offset.Y, 34, 12)); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fKnockBack = 2f; xStat.fDamageModifier = 1f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bDontTriggerPlayerInvincibility = true; xAP = new AttackPhaseLoader(); xThisDict.Add(44, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 48f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(30f, 36f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(45, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(38f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(46, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(27f, 53f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(47, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(52f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(23f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fKnockBack = 2f; xStat.fDamageModifier = 1f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.bDontTriggerPlayerInvincibility = true; xStat.fArmorPenetration = 0.5f; xAP = new AttackPhaseLoader(); xThisDict.Add(48, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 48f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(26f, 36f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(49, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(38f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(50, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(32f, 53f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(51, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(52f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(23f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xStat = new AttackStats(); xStat.fKnockBack = 30f; xStat.fDamageModifier = 3f; xStat.enKnockbackShieldRedistribution = AttackStats.KnockbackShieldRedistribution.NeverRedistribute; xStat.fArmorPenetration = 0.75f; xAP = new AttackPhaseLoader(); xThisDict.Add(52, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 48f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(27f, 28f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(53, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(22f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(46f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(54, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(28f, 38f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(28f, 53f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP = new AttackPhaseLoader(); xThisDict.Add(55, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(52f, 43f); xAP.FillEmptyList(12, 1); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(15f, 41f) - v2Offset, 20f); this.AddStandardEnemyTargets(xAP); xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); this.xMasterList.Add("Marino", xThisDict); }
private void InitPlayerAttackPhases_TwoHanded() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 13f; xStat.fDamageModifier = 1f; xStat.fSelfKnockback = 6.5f; xStat.iBreakingPower = 1; xStat.sAttackHandle = "2HBasic"; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(200, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 2); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(-30f, -11f), 11f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(-6f, -12f), 14f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-7f, -18f), 18f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(21f, -16f), 17f); xAP.llxAllColliders[7][0] = null; xAP.llxAllColliders[7][1] = null; xAP.llxAllColliders[8] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(201, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 2); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(7f, -30f), 11f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(7f, -15f), 11f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(22f, -10f), 19f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(15f, 13f), 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(10f, 14f), 18f); xAP.llxAllColliders[8] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(202, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 2); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(18f, 2f), 18f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(13f, 16f), 19f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-19f, 12f), 19f); xAP.llxAllColliders[6][1] = SphereCollider.CreateShell(new Vector2(-32f, 0f), 10f); xAP.llxAllColliders[8] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(203, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 2); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(-7f, -30f), 11f); xAP.llxAllColliders[4][1] = SphereCollider.CreateShell(new Vector2(-7f, -15f), 11f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(-22f, -10f), 19f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(-15f, 13f), 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(-10f, 14f), 18f); xAP.llxAllColliders[8] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 13f; xStat.fDamageModifier = 1f; xStat.fSelfKnockback = 6.5f; xStat.sAttackHandle = "2HBasic"; xAP = new AttackPhaseLoader(); xThisDict.Add(212, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(48f, 52f); xAP.FillEmptyList(15, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(69f, 39f) - v2Offset, 13f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(47f, 31f) - v2Offset, 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(28f, 34f) - v2Offset, 18f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(22f, 40f) - v2Offset, 14f); xAP.llxAllColliders[9] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(213, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(19f, 59f); xAP.FillEmptyList(15, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(34f, 72f) - v2Offset, 18f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(37f, 55f) - v2Offset, 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(41f, 38f) - v2Offset, 18f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(32f, 34f) - v2Offset, 15f); xAP.llxAllColliders[9] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(214, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(39f, 31f); xAP.FillEmptyList(15, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(25f, 37f) - v2Offset, 18f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(42f, 52f) - v2Offset, 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(56f, 36f) - v2Offset, 18f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(68f, 29f) - v2Offset, 14f); xAP.llxAllColliders[9] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedLeft; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(215, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(41f, 59f); xAP.FillEmptyList(15, 1); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(26f, 72f) - v2Offset, 18f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(23f, 55f) - v2Offset, 18f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(19f, 38f) - v2Offset, 18f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(28f, 34f) - v2Offset, 15f); xAP.llxAllColliders[9] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 30f; xStat.fDamageModifier = 3f; xStat.fSelfKnockback = 20f; xStat.iBreakingPower = 6; xAP = new AttackPhaseLoader(); xThisDict.Add(204, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(-new Vector2(40f, 50f) + new Vector2(40f, 28f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(205, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(78f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(206, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(42f, 73f) - new Vector2(40f, 56f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(207, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(28f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); AttackStats xOHStats = new AttackStats(); xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 3f; xStat.fSelfKnockback = 10f; xStat.iBreakingPower = 6; xStat.v2KnockbackDirectionOverride = new Vector2(0f, -1f); xOHStats.CopyStats(xStat); xAP = new AttackPhaseLoader(); xThisDict.Add(216, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(-new Vector2(40f, 50f) + new Vector2(40f, 28f), 16f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(-new Vector2(40f, 50f) + new Vector2(40f, 28f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(217, xAP); xStat = new AttackStats(); xStat.CopyStats(xOHStats); xStat.v2KnockbackDirectionOverride = new Vector2(1f, 0f); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(78f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(78f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(218, xAP); xStat = new AttackStats(); xStat.CopyStats(xOHStats); xStat.v2KnockbackDirectionOverride = new Vector2(0f, 1f); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(42f, 73f) - new Vector2(40f, 56f), 16f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(42f, 73f) - new Vector2(40f, 56f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(219, xAP); xStat = new AttackStats(); xStat.CopyStats(xOHStats); xStat.v2KnockbackDirectionOverride = new Vector2(-1f, 0f); xAP.xAttackStats = xStat; xAP.FillEmptyList(15, 1); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(28f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(28f, 62f) - new Vector2(53f, 62f), 16f); xAP.llxAllColliders[13] = null; xAP.enEffectEvent = HitEffectMap.HitEffectEvent.OverHead; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 15f; xStat.fDamageModifier = 1.25f; xStat.iBreakingPower = 1; xAP = new AttackPhaseLoader(); xThisDict.Add(208, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(35f, 29f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(57f, 32f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(62f, 63f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(30f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(27f, 35f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(44f, 26f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(209, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(65f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(55f, 65f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(27f, 58f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(27f, 27f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(53f, 30f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(65f, 57f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(210, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(58f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(26f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(26f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(43f, 26f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(65f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(27f, 59f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(30f, 64f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(211, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(26f, 56f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(25f, 25f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(58f, 28f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(59f, 61f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(27f, 59f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(24f, 35f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xStat = new AttackStats(); xStat.fKnockBack = 4f; xStat.fDamageModifier = 1.25f; xStat.iBreakingPower = 2; xAP = new AttackPhaseLoader(); xThisDict.Add(280, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(33f, 27f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(60f, 34f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(60f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(27f, 58f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(35f, 29f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(57f, 32f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(62f, 63f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(30f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(27f, 35f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(44f, 26f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(61f, 25f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(281, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(60f, 36f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(53f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(30f, 56f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(30f, 29f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(65f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(55f, 65f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(27f, 58f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(27f, 27f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(53f, 30f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(65f, 57f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(62f, 64f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(282, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(58f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(26f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(26f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][1] = SphereCollider.CreateShell(new Vector2(43f, 26f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(65f, 37f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(27f, 59f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(30f, 64f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(32f, 25f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(62f, 25f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(65f, 27f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[8][1] = SphereCollider.CreateShell(new Vector2(58f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(37f, 62f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(27f, 51f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); xAP = new AttackPhaseLoader(); xThisDict.Add(283, xAP); xAP.xAttackStats = xStat; xAP.FillEmptyList(18, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(26f, 55f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(27f, 28f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[2][0] = SphereCollider.CreateShell(new Vector2(58f, 30f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[3][0] = SphereCollider.CreateShell(new Vector2(57f, 60f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[4][0] = SphereCollider.CreateShell(new Vector2(26f, 56f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[5][0] = SphereCollider.CreateShell(new Vector2(25f, 25f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[6][0] = SphereCollider.CreateShell(new Vector2(58f, 28f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[7][0] = SphereCollider.CreateShell(new Vector2(59f, 61f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[8][0] = SphereCollider.CreateShell(new Vector2(27f, 59f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[9][0] = SphereCollider.CreateShell(new Vector2(24f, 35f) - new Vector2(45f, 45f), 25f); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(29f, 25f) - new Vector2(45f, 45f), 25f); xAP.enEffectEvent = HitEffectMap.HitEffectEvent.TwoHandedRight; xAP.lenLayers.Add(Collider.ColliderLayers.Enemies); xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.lenLayers.Add(Collider.ColliderLayers.StaticEnvironment); this.xMasterList.Add("TwoHanded", xThisDict); }
public void CopyStats(AttackStats xSource) { this.fDamageModifier = xSource.fDamageModifier; this.iBaseDamage = xSource.iBaseDamage; this.fKnockBack = xSource.fKnockBack; this.bKnockBackOwner = xSource.bKnockBackOwner; this.enKnockbackShieldRedistribution = xSource.enKnockbackShieldRedistribution; this.fSelfKnockback = xSource.fSelfKnockback; this.v2KnockbackDirectionOverride = xSource.v2KnockbackDirectionOverride; this.iBreakingPower = xSource.iBreakingPower; this.enShieldCrush = xSource.enShieldCrush; this.bIgnoreShield = xSource.bIgnoreShield; this.fBonusCrit = xSource.fBonusCrit; this.v2AttackDirectionOverride = xSource.v2AttackDirectionOverride; this.v2SideKnockbackOverride = xSource.v2SideKnockbackOverride; this.bNonFatal = xSource.bNonFatal; this.bDontTriggerPlayerInvincibility = xSource.bDontTriggerPlayerInvincibility; this.fArmorPenetration = xSource.fArmorPenetration; this.bFlatArmorPenetration = xSource.bFlatArmorPenetration; this.fStrengthVersusShields = xSource.fStrengthVersusShields; this.fKnockBackOnPerfectGuard = xSource.fKnockBackOnPerfectGuard; this.sAttackHandle = xSource.sAttackHandle; }
private void InitEnemyAttackPhases_BlueSlime() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 15f; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-2f, -17f), 7f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(15f, -4f), 7f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-2f, 15f), 7f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; xAP.lenLayers.Add(Collider.ColliderLayers.DynamicEnvironment); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(-18f, -4f), 7f); xAP.llxAllColliders[11][0] = null; xAP.llxAllColliders[12] = null; this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("BlueSlime", xThisDict); }
public override void Update() { this.iExistTimer++; if (this.iExistTimer % 30 == 0) { base.SendClientInstruction(1, new float[] { (float)this.iExistTimer }); } this.xTransform.v2Pos += this.v2Direction * this.fVelocity; this.xTransform.v2ServerPos = this.xTransform.v2Pos; Program.game.sErrorOutputAddon = "Staht! "; this.xTrailEffect.RegisterPAA(this.xTransform.v2Pos, 0); this.xTrailEffect.Update(); if (this.iStartup > 0) { this.iCounter++; if (this.iCounter < 60 && this.fVelocity < this.fFastVelocity) { this.fVelocity += 0.1f; } float fCurDir = Utility.Vector2ToRadiansReverse(this.v2Direction); float fTurnSpeed = 0.2f; fCurDir += fTurnSpeed; this.v2Direction = Utility.RadiansToVector2(fCurDir); this.iStartup--; if (this.iStartup == 0) { this.iCounter = 0; this.enState = _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingFromTarget; this.iInAttackFlightCounter = this.iHurtBoxDelay; } return; } if (this.enState == _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingToTarget || this.enState == _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingFromTarget) { Program.game.sErrorOutputAddon = "Attaka! "; this.iInAttackFlightCounter++; if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client && !this.bToDie && this.iInAttackFlightCounter > this.iHurtBoxDelay && this.lxAttackPhases.Count < this.iAttackPhases && this.iInAttackFlightCounter - this.iHurtBoxDelay >= this.lxAttackPhases.Count) { AttackPhase xAPA = new AttackPhase(this); SphereCollider col = new SphereCollider(this.fAttackPhaseRadius, new Vector2(0f, 8f), new TransformComponent(Vector2.Zero), 0f, this); col.xAttackPhase = xAPA; col.bIsLarge = false; xAPA.lxCurrentColliders.Add(col); xAPA.xOwner = this; AttackStats xStat = new AttackStats(); xStat.fKnockBack = 0f; xStat.iBreakingPower = -1; xStat.iBaseDamage = 5; xStat.bDontTriggerPlayerInvincibility = true; xStat.bFlatArmorPenetration = true; xAPA.lenLayers.Add(Collider.ColliderLayers.Players); xAPA.lenLayers.Add(Collider.ColliderLayers.Neutrals); xAPA.xStats = xStat; xAPA.RegisterCurrent(); this.lxAttackPhases.Add(xAPA); } } if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client) { for (int i = 0; i < this.lxAttackPhases.Count; i++) { this.lxAttackPhases[i].lxCurrentColliders[0].xLocalTransform.v2Pos = this.xTrailEffect.GetRegisteredDelay(this.iHurtBoxDelay + (i + this.iRemovedPhases) * this.iDelayBetweenPhases); } } Program.game.sErrorOutputAddon = "Adastaff! "; if (this.enState == _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingToTarget) { if (this.fVelocity < this.fFastVelocity) { this.fVelocity += 0.5f; } else { this.fVelocity = this.fFastVelocity; } if (Vector2.Distance(this.v2Target, this.xTransform.v2Pos) < this.fVelocity * 2f) { this.enState = _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingFromTarget; this.iCounter = 0; } } else if (this.enState == _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingFromTarget) { this.iCounter++; if (this.iCounter > this.iRubberBand && !this.bToDie) { this.enState = _EnemySpells_CrowSwarm_OBSOLETE.State.RecalibratingAim; this.v2Target = this.v2Origin + 50f * Utility.RandomizeVector2Direction(this.localRand); this.iCounter = 0; this.iInAttackFlightCounter = 0; } if (this.bToDie) { if (this.iCounter == this.iRubberBand + 60) { this.xTrailEffect.FadeOut(); } if (this.iCounter == this.iRubberBand + 120) { this.xTrailEffect.Destroy(); } } } else if (this.enState == _EnemySpells_CrowSwarm_OBSOLETE.State.RecalibratingAim) { Program.game.sErrorOutputAddon = "Recalibrata! "; Vector2 v2WantDir = (this.v2Target - this.xTransform.v2Pos).SafeNormalized(); float fWantDir = Utility.Vector2ToRadiansReverse(v2WantDir); float fCurDir2 = Utility.Vector2ToRadiansReverse(this.v2Direction); float fWantDirModified = fWantDir; if (fWantDirModified < 0f) { fWantDirModified += 6.28318548f; } float fCurDirModified = fCurDir2; if (fCurDirModified < 0f) { fCurDirModified += 6.28318548f; } this.iCounter++; if (CAS.NetworkRole != NetworkHelperInterface.NetworkRole.Client && this.lxAttackPhases.Count > 0 && this.iCounter > this.iHurtBoxDelay) { int iMos = this.iCounter - this.iHurtBoxDelay; if (this.iAttackPhases - iMos / this.iDelayBetweenPhases - 1 < this.lxAttackPhases.Count) { this.lxAttackPhases[0].UnregisterCurrent(); this.lxAttackPhases.RemoveAt(0); this.iRemovedPhases++; } } float fTurnSpeed2 = 0.035f; if (this.iCounter > 120) { fTurnSpeed2 += (float)(this.iCounter - 120) / 300f; } bool bFound = false; float fTurnDistance = MathHelper.Distance(fWantDirModified, fCurDirModified); if (fTurnDistance <= fTurnSpeed2) { bFound = true; fCurDir2 = fWantDir; } else { fCurDir2 += fTurnSpeed2; if (fCurDir2 > 3.14159274f) { fCurDir2 -= 6.28318548f; } } this.v2Direction = Utility.RadiansToVector2(fCurDir2); if (fTurnDistance > 0.7853982f) { this.fVelocity -= 0.1f; } else { this.fVelocity += 0.2f; } if (this.fVelocity < 2f) { this.fVelocity = 2f; } else if (this.fVelocity > this.fFastVelocity) { this.fVelocity = this.fFastVelocity; } if (bFound) { this.v2Direction = v2WantDir; this.enState = _EnemySpells_CrowSwarm_OBSOLETE.State.FlyingToTarget; this.iRemovedPhases = 0; for (int j = 0; j < this.lxAttackPhases.Count; j++) { this.lxAttackPhases[j].UnregisterCurrent(); this.lxAttackPhases.RemoveAt(j--); } } } Program.game.sErrorOutputAddon = "End! "; }
private void InitEnemyAttackPhases_PapaSlime() { Dictionary<ushort, AttackPhaseLoader> xThisDict = new Dictionary<ushort, AttackPhaseLoader>(); AttackStats xStat = new AttackStats(); xStat.fKnockBack = 40f; xStat.iBaseDamage = 35; xStat.bKnockbackShieldRedistribution = false; xStat.bIgnoreShield = true; AttackPhaseLoader xAP = new AttackPhaseLoader(); xThisDict.Add(3, xAP); xAP.xAttackStats = xStat; Vector2 v2Offset = new Vector2(30f, 33f); xAP.FillEmptyList(10, 1); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(-45, -13, 86, 22)); xAP.llxAllColliders[3][0] = new BoxCollider(new Rectangle(-45, -13, 86, 22)); xAP.llxAllColliders[4][0] = new BoxCollider(new Rectangle(-45, -13, 86, 22)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(14, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(30f, 33f); xAP.FillEmptyList(11, 1); xAP.llxAllColliders[0][0] = new BoxCollider(new Rectangle(-45, -13, 90, 26)); xAP.llxAllColliders[1][0] = new BoxCollider(new Rectangle(-45, -13, 90, 26)); xAP.llxAllColliders[2][0] = new BoxCollider(new Rectangle(-45, -13, 90, 26)); this.AddStandardEnemyTargets(xAP); xStat = new AttackStats(); xStat.fKnockBack = 40f; xStat.iBaseDamage = 65; xStat.iBreakingPower = 10; xStat.bKnockbackShieldRedistribution = false; xStat.bShieldCrush = true; xAP = new AttackPhaseLoader(); xThisDict.Add(4, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(48f, 87f); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(22 - (int)v2Offset.X, 51 - (int)v2Offset.Y, 49, 34)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(5, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(77f, 112f); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(141f, 109f) - v2Offset, 22f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(6, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(49f, 102f); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = new BoxCollider(new Rectangle(24 - (int)v2Offset.X, 98 - (int)v2Offset.Y, 49, 34)); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(7, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(79f, 112f); xAP.FillEmptyList(18, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(15f, 109f) - v2Offset, 22f); this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(27, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(29f, 36f); xAP.FillEmptyList(10, 2); xAP.llxAllColliders[0][0] = SphereCollider.CreateShell(new Vector2(24f, 36f) - v2Offset, 15f); xAP.llxAllColliders[1][0] = SphereCollider.CreateShell(new Vector2(12f, 33f) - v2Offset, 15f); xAP.llxAllColliders[1][1] = SphereCollider.CreateShell(new Vector2(14f, 28f) - v2Offset, 15f); xAP.llxAllColliders[4] = null; this.AddStandardEnemyTargets(xAP); xAP = new AttackPhaseLoader(); xThisDict.Add(42, xAP); xAP.xAttackStats = xStat; v2Offset = new Vector2(33f, 41f); xAP.FillEmptyList(30, 1); xAP.llxAllColliders[10][0] = SphereCollider.CreateShell(new Vector2(20f, 44f) - v2Offset, 24f); xAP.llxAllColliders[11][0] = SphereCollider.CreateShell(new Vector2(39f, 44f) - v2Offset, 24f); xAP.llxAllColliders[12][0] = SphereCollider.CreateShell(new Vector2(49f, 32f) - v2Offset, 24f); xAP.llxAllColliders[13][0] = SphereCollider.CreateShell(new Vector2(41f, 27f) - v2Offset, 24f); xAP.llxAllColliders[14][0] = SphereCollider.CreateShell(new Vector2(23f, 25f) - v2Offset, 24f); xAP.llxAllColliders[15][0] = SphereCollider.CreateShell(new Vector2(15f, 35f) - v2Offset, 24f); xAP.llxAllColliders[16][0] = SphereCollider.CreateShell(new Vector2(17f, 48f) - v2Offset, 24f); xAP.llxAllColliders[17][0] = SphereCollider.CreateShell(new Vector2(40f, 49f) - v2Offset, 24f); this.AddStandardEnemyTargets(xAP); this.xMasterList.Add("PapaSlime", xThisDict); }