示例#1
0
文件: CheckPoint.cs 项目: hagusen/SP1
    private void Start()
    {
        CheckPointManager cpManager = GetComponent <CheckPointManager>();
        Hellfire          hellfire  = GetComponent <Hellfire>();

        sprite = GetComponent <SpriteRenderer>();
    }
示例#2
0
文件: Mage.cs 项目: Saplu/NewRepo
        private int hellfire()
        {
            var multi    = getAttackMultiplier();
            var increase = getAttackModifier();
            var hellfire = new Hellfire();

            Cooldowns[3] = hellfire.Cooldown;
            return(hellfire.Action(SpellPower, Crit, multi, increase));
        }
示例#3
0
        public void HellfireBlastIsBasedOnCharacterStats()
        {
            var sorcerer = CharacterTestTemplates.Sorcerer();
            var hellFire = new Hellfire();

            sorcerer.Add(hellFire);

            sorcerer.SetLevel(10);
            Assert.Equal("10d6", hellFire.Damage.ToString());
            sorcerer.AbilityScores.SetScore(AbilityScoreTypes.Charisma, 16);
            Assert.Equal(18, hellFire.SaveDC);

            Assert.Equal("1/day Hellfire 10' radius (10d6 fire, DC 18)", hellFire.DisplayString());
        }
示例#4
0
文件: Mage.cs 项目: Saplu/NewRepo
 public override double setStatusEffect(string id, int targetPosition)
 {
     if (id == "Lava Field")
     {
         var multi    = getAttackMultiplier();
         var increase = getAttackModifier();
         var lava     = new LavaField();
         return(lava.Action(SpellPower, Crit, multi, increase));
     }
     if (id == "Hellfire")
     {
         var multi    = getAttackMultiplier();
         var increase = getAttackModifier();
         var hellfire = new Hellfire();
         return(hellfire.DoT(SpellPower, Crit, multi, increase));
     }
     else
     {
         return(0);
     }
 }
示例#5
0
 private void Start()
 {
     CameraController cam      = GetComponent <CameraController>();
     Hellfire         hellfire = GetComponent <Hellfire>();
 }
示例#6
0
文件: Mage.cs 项目: Saplu/NewRepo
        public override string[] Ability4()
        {
            var hellfire = new Hellfire();

            return(hellfire.Info());
        }