// Token: 0x06000052 RID: 82 RVA: 0x00003A34 File Offset: 0x00001C34
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "War Cry",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200110,
                New_ItemID             = 2502025,
                SLPackName             = "Juggernaut",
                SubfolderName          = "WarCry",
                Description            = string.Format("Unleash a terrifying roar that staggers nearby enemies.\n\n{0}: Applies confusion to affected enemies.\n\n{1}: Applies pain to affected enemies.", "Unyielding", "Vengeful"),
                CastType               = Character.SpellCastType.Rage,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = 0f,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0],
                    }
                },
                Cooldown    = 100f,
                StaminaCost = 0f,
                ManaCost    = 0f
            };
            Skill skill = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);

            skill.transform.Find("Effects").gameObject.AddComponent <WarCryEffect>();
            return(skill);
        }
Example #2
0
        // Token: 0x0600000D RID: 13 RVA: 0x00002744 File Offset: 0x00000944
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Divine Favour",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502026,
                SLPackName             = "Templar",
                SubfolderName          = "Divine Favour",
                Description            = "Augments Divine Light Imbue to cause a Radiating effect, which damages the victim and those in its proximity over time.",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                Cooldown               = 0f,
                StaminaCost            = 0f,
                ManaCost               = 0f,
            };
            Skill skill = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);

            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <HasStatusEffectEffectCondition>());
            return(skill);
        }
Example #3
0
        // Token: 0x06000054 RID: 84 RVA: 0x00003B78 File Offset: 0x00001D78
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Juggernaughty",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8100120,
                New_ItemID             = 2502023,
                Description            = "Trainer Hax",
                CastType               = Character.SpellCastType.Sit,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = true,
                MobileCastMovementMult = -1f,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0],
                    }
                },
                Cooldown = 1f,
            };
            Skill     skill     = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);
            Transform transform = skill.transform.Find("Effects");

            transform.gameObject.AddComponent <JuggernaughtyEffect>();
            return(skill);
        }
Example #4
0
        // Token: 0x06000013 RID: 19 RVA: 0x00002C78 File Offset: 0x00000E78
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Shield of Faith",
                EffectBehaviour        = 0,
                Target_ItemID          = 8100360,
                New_ItemID             = 2502009,
                SLPackName             = "Templar",
                SubfolderName          = "Shield of Faith",
                Description            = "Blocks an attack, restores your stability and protects you against damage for a brief moment.",
                CastType               = new Character.SpellCastType?(Character.SpellCastType.Brace),
                CastModifier           = new Character.SpellCastModifier?(Character.SpellCastModifier.Immobilized),
                CastLocomotionEnabled  = new bool?(false),
                MobileCastMovementMult = new float?((float)-1),
                CastSheatheRequired    = new int?(0),
                Cooldown               = new float?((float)15),
                StaminaCost            = new float?(0f),
                ManaCost               = new float?((float)7)
            };
            Skill skill = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);

            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <AddBoonEffect>());
            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <AutoKnock>());
            GameObject gameObject = skill.transform.Find("HitEffects").gameObject;

            gameObject.AddComponent <AddStatusEffect>().Status = ResourcesPrefabManager.Instance.GetStatusEffectPrefab("Force Bubble");
            GameObject gameObject2 = skill.transform.Find("BlockEffects").gameObject;

            gameObject2.AddComponent <CasualStagger>();
            return(skill);
        }
        // Token: 0x06000009 RID: 9 RVA: 0x00002460 File Offset: 0x00000660
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Restoration",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200180,
                New_ItemID             = 2502003,
                SLPackName             = "Templar",
                SubfolderName          = "Restoration",
                Description            = "Cures you from all hexes, bleeding and slowing effects.",
                CastType               = Character.SpellCastType.CallElements,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = 0f,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[]
                        {
                            new SL_RemoveStatusEffect
                            {
                                Status_Tag  = "Hex",
                                CleanseType = RemoveStatusEffect.RemoveTypes.StatusType
                            },
                            new SL_RemoveStatusEffect
                            {
                                Status_Name = "Slow Down",
                                CleanseType = RemoveStatusEffect.RemoveTypes.StatusSpecific
                            },
                            new SL_RemoveStatusEffect
                            {
                                Status_Name = "Cripple",
                                CleanseType = RemoveStatusEffect.RemoveTypes.StatusSpecific
                            },
                            new SL_RemoveStatusEffect
                            {
                                Status_Tag  = "Bleeding",
                                CleanseType = RemoveStatusEffect.RemoveTypes.StatusType
                            }
                        }
                    }
                },
                Cooldown    = 30f,
                StaminaCost = 0f,
                ManaCost    = 14f,
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
        // Token: 0x06000060 RID: 96 RVA: 0x000041F4 File Offset: 0x000023F4
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Relentless",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502018,
                Description            = "Reduces armor movement penalties and gives bonus physical resistance equal to your armor protection.",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
        // Token: 0x06000058 RID: 88 RVA: 0x00003EC0 File Offset: 0x000020C0
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Ruthless",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502022,
                SLPackName             = "Juggernaut",
                SubfolderName          = "Ruthless",
                Description            = string.Format("{0}: Armor stamina and movement penalties are reduced. Damaging enemies causes confusion among their allies, and may even cause them to stagger in fear.\n\n{1}: While enraged, weapon damage is increased and the attack stamina cost is reduced, but you can't be affected by boons other than Rage.", "Unyielding", "Vengeful"),
                CastType               = Character.SpellCastType.Rage,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = 0f
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #8
0
        // Token: 0x06000017 RID: 23 RVA: 0x00002F38 File Offset: 0x00001138
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Prayer of Healing",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200180,
                New_ItemID             = 2502014,
                Description            = "WIP",
                CastType               = Character.SpellCastType.CallElements,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                CastSheatheRequired    = 2,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "ActivationEffects",
                        Effects       = new SL_Effect[0]
                    },
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0]
                    }
                },
                Cooldown    = 30f,
                ManaCost    = 600f,
                StaminaCost = 0f
            };
            Skill      skill      = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);
            Transform  transform  = skill.transform.Find("Effects");
            HealingAoE healingAoE = transform.gameObject.AddComponent <HealingAoE>();

            healingAoE.RestoredHealth    = 30f;
            healingAoE.Range             = 30f;
            healingAoE.CanRevive         = true;
            healingAoE.AmplificationType = DamageType.Types.Electric;
            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <AddStatusEffect>());
            return(skill);
        }
Example #9
0
        // Token: 0x0600005A RID: 90 RVA: 0x00003F90 File Offset: 0x00002190
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Fortified",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502021,
                SLPackName             = "Juggernaut",
                SubfolderName          = "Fortified",
                Description            = "Gives resistance bonuses equal to your armor protection.",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #10
0
        // Token: 0x06000050 RID: 80 RVA: 0x0000396C File Offset: 0x00001B6C
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Bastard",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502015,
                SLPackName             = "Juggernaut",
                SubfolderName          = "Bastard",
                Description            = "Increases the speed and damage bonuses from two-handing a bastard sword.",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #11
0
        // Token: 0x0600005C RID: 92 RVA: 0x00004064 File Offset: 0x00002264
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Vengeful",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502020,
                SLPackName             = "Juggernaut",
                SubfolderName          = "Vengeful",
                Description            = "Being damaged causes rage to build up.\n\nBe aware that learning this skill has impact on most other Juggernaut skills!",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
        // Token: 0x0600005E RID: 94 RVA: 0x0000412C File Offset: 0x0000232C
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Unyielding",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502019,
                SLPackName             = "Juggernaut",
                SubfolderName          = "Unyielding",
                Description            = "Enables you to block incoming attacks sooner after attacking.\n\nBe aware that learning this skill has impact on most other Juggernaut skills!",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #13
0
        // Token: 0x06000048 RID: 72 RVA: 0x00004BE4 File Offset: 0x00002DE4
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Prayer",
                EffectBehaviour        = EffectBehaviours.DestroyEffects,
                Target_ItemID          = 8100120,
                New_ItemID             = 2502012,
                SLPackName             = "Templar",
                SubfolderName          = "Prayer",
                Description            = "Pray to Elatt.\n\nDo not expect him to reply though!",
                CastType               = Character.SpellCastType.EnterInnBed,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                CastSheatheRequired    = 1,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "ActivationEffects",
                        Effects       = new SL_Effect[]
                        {
                            new SL_AddStatusEffectBuildUp
                            {
                                StatusEffect = "Prayer",
                                Buildup      = 100f,
                                Delay        = 0f
                            }
                        }
                    }
                },
                Cooldown    = 1f,
                StaminaCost = 0f,
                ManaCost    = 0f
            };
            Skill skill = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);

            EmptyOffHandCondition.AddToSkill(skill, true, true);
            return(skill);
        }
Example #14
0
        // Token: 0x06000005 RID: 5 RVA: 0x000021B8 File Offset: 0x000003B8
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Blessed Determination",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8205030,
                New_ItemID             = 2502002,
                SLPackName             = "Templar",
                SubfolderName          = "Blessed Determination",
                Description            = "While under the effect of the Blessed boon, all spent mana is regained as stamina, and spending stamina builds up a Burst of Divinity effect that reduces the mana cost of the next spell you cast.",
                IsUsable               = false,
                CastType               = Character.SpellCastType.NONE,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                Cooldown               = 0f,
                StaminaCost            = 0f,
                ManaCost               = 0f
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #15
0
        // Token: 0x06000006 RID: 6 RVA: 0x00002244 File Offset: 0x00000444
        private Skill Sit()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Sit",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8100120,
                New_ItemID             = 2502011,
                SLPackName             = "SkilledAtSitting",
                SubfolderName          = "Sit",
                Description            = "Sit down to regain health, burnt health and burnt stamina.",
                CastType               = new Character.SpellCastType?(Character.SpellCastType.Sit),
                CastModifier           = new Character.SpellCastModifier?(Character.SpellCastModifier.Immobilized),
                CastLocomotionEnabled  = new bool?(true),
                MobileCastMovementMult = new float?(-1f),
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[]
                        {
                            new SL_AddStatusEffect
                            {
                                StatusEffect     = SkilledAtSitting.SITTING_EFFECT_NAME,
                                ChanceToContract = 100,
                                Delay            = 2f
                            }
                        }
                    }
                },
                Cooldown    = new float?((float)1),
                StaminaCost = new float?(0f)
            };

            return((Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill));
        }
Example #16
0
        // Token: 0x06000015 RID: 21 RVA: 0x00002DDC File Offset: 0x00000FDC
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Channel Divinity",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200180,
                New_ItemID             = 2502010,
                SLPackName             = "Templar",
                SubfolderName          = "Channel Divinity",
                Description            = "Heals you and your allies, or produces combo effects when casted in combination with a Rune spell.",
                CastType               = Character.SpellCastType.CallElements,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                CastSheatheRequired    = 1,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0],
                    }
                },
                Cooldown    = 300f,
                ManaCost    = 14f,
                StaminaCost = 0f
            };
            Skill skill = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);

            EmptyOffHandCondition.AddToSkill(skill, true, true);
            Transform transform = skill.transform.Find("Effects");

            transform.gameObject.AddComponent <ChannelDivinity>();
            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <AddStatusEffect>());
            return(skill);
        }
        // Token: 0x06000003 RID: 3 RVA: 0x00002068 File Offset: 0x00000268
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Celestial Surge",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200180,
                New_ItemID             = 2502013,
                Description            = "WIP",
                CastType               = Character.SpellCastType.CallElements,
                CastModifier           = Character.SpellCastModifier.Immobilized,
                CastLocomotionEnabled  = false,
                MobileCastMovementMult = -1f,
                CastSheatheRequired    = 2,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "ActivationEffects",
                        Effects       = new SL_Effect[0]
                    },
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0]
                    }
                },
                Cooldown = 30f,
                ManaCost = 600f,
            };
            Skill     skill     = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);
            Transform transform = skill.transform.Find("Effects");

            transform.gameObject.AddComponent <CelestialSurge>();
            UnityEngine.Object.Destroy(skill.gameObject.GetComponentInChildren <AddStatusEffect>());
            return(skill);
        }
Example #18
0
        // Token: 0x0600000B RID: 11 RVA: 0x000025F0 File Offset: 0x000007F0
        public static Skill Init()
        {
            SL_Skill sl_Skill = new SL_Skill
            {
                Name                   = "Cure Wounds",
                EffectBehaviour        = EffectBehaviours.OverrideEffects,
                Target_ItemID          = 8200180,
                New_ItemID             = 2502000,
                SLPackName             = "Templar",
                SubfolderName          = "Cure Wounds",
                Description            = "Restores some health for you and your nearby allies.",
                CastType               = Character.SpellCastType.Fast,
                CastModifier           = Character.SpellCastModifier.Mobile,
                CastLocomotionEnabled  = true,
                MobileCastMovementMult = 0.5f,
                EffectTransforms       = new SL_EffectTransform[]
                {
                    new SL_EffectTransform
                    {
                        TransformName = "Effects",
                        Effects       = new SL_Effect[0],
                    }
                },
                Cooldown    = 5f,
                StaminaCost = 0f,
                ManaCost    = 14f,
            };
            Skill      skill      = (Skill)CustomItems.CreateCustomItem(sl_Skill.Target_ItemID, sl_Skill.New_ItemID, sl_Skill.Name, sl_Skill);
            HealingAoE healingAoE = skill.transform.Find("Effects").gameObject.AddComponent <HealingAoE>();

            healingAoE.Range             = 30f;
            healingAoE.RestoredHealth    = 7f;
            healingAoE.AmplificationType = DamageType.Types.Electric;
            healingAoE.CanRevive         = false;
            return(skill);
        }