override public void Use(Characters character) { HeroCharacter.PlayEffect("Способность - рассечь"); print("Slash применен!!!"); character.TakeDamage(power * damage); HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Способность - рассечь"); print("Slash применен!!!"); character.TakeDamage(Information.GetSpellStates("Рассечь", level, power)[0]); HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { var st = Instantiate(VS, character.transform); st.character = character; st.mult = 1.6f; st.lifetime = 10f; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { HeroCharacter.PlayEffect("Блок"); print("Прикрытие"); var st = Instantiate(status, character.transform); st.lifetime = 8f * power; st.character = character; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { print("Зелье Дьявола"); var st = Instantiate(status, character.transform); st.lifetime = 8f * power; st.character = character; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Шприц"); var st = Instantiate(status, character.transform); st.level = level; st.power = power; st.lifetime = Information.GetEffectStates("Эйфория", level, power)[1]; st.character = character; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("бинт"); character.TakeHeal(Information.GetSpellStates("Нестандартная медицина", level, power)[0]); var st = Instantiate(status, character.transform); st.level = level; st.power = power; st.lifetime = 50; st.character = character; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { print("Отравили"); var st = Instantiate(PS, character.transform); st.damage = damage * power; st.lifetime = 7f; st.period = 1f; st.character = character; //character.StatusList.Add() character.TakeDamage(power * damage); HeroCharacter.SetReload(reloadtime); }
override public void Use() { weekPercent += (int)(Math.Min(50f, 20f * (power - 1f))); fightController = HeroCharacter.fightController; foreach (var enemy in fightController.enemies) { var st = Instantiate(WS, enemy.transform); st.weekPercent = weekPercent; st.lifetime = 15f; st.character = enemy; } HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { character.TakeDamage(power * damage); HeroCharacter.SetReload(reloadtime); fightController = character.fightController; foreach (var enemy in fightController.enemies) { if (enemy != character) { enemy.TakeDamage(damage / 3 * power); } } }
override public void Use(Characters character) { print("Наложили кровотечение"); var st = Instantiate(PS, character.transform); st.damage = damage * power / 3; st.lifetime = 10f; st.period = 2f; st.character = character; //character.StatusList.Add() character.TakeDamage(power * damage); HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Блок"); print("Прикрытие"); var st = Instantiate(status, character.transform); st.koef = Information.GetEffectStates("Под защитой", level, power)[0]; st.lifetime = Information.GetEffectStates("Под защитой", level, power)[1]; st.character = character; st.level = level; st.power = power; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Яд"); print("Отравили"); var st = Instantiate(PS, character.transform); st.damage = Information.GetEffectStates("Отравление", level, power)[0]; st.lifetime = Information.GetEffectStates("Отравление", level, power)[1]; st.period = 1f; st.character = character; st.level = level; st.power = power; HeroCharacter.SetReload(reloadtime); }
override public void Use() { HeroCharacter.PlayEffect("Выпад-вар2"); //weekPercent += (int)(Math.Min(50f, 20f * (power - 1f))); fightController = HeroCharacter.fightController; foreach (var enemy in fightController.enemies) { var st = Instantiate(VS, enemy.transform); //st.weekPercent = weekPercent; st.lifetime = 12f; enemy.TakeDamage(damage * power); st.character = enemy; } HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Метка"); var st = Instantiate(VS, character.transform); st.GetComponent <SpriteRenderer>().sprite = spr; st.koef = Information.GetEffectStates("Пробитие", level, power)[0]; st.lifetime = Information.GetSpellStates("Красная метка", level, power)[0]; st.character = character; st.Name = "Пробитие"; st.level = level; st.power = power; HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("очередь2"); character.TakeDamage(Information.GetSpellStates("Стрельба на поражение", level, power)[0]); HeroCharacter.SetReload(reloadtime); fightController = character.fightController; foreach (var enemy in fightController.enemies) { if (enemy != character) { enemy.TakeDamage(Information.GetSpellStates("Стрельба на поражение", level, power)[0] / 4); } } }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Зелье дьявола"); print("Зелье Дьявола"); var st = Instantiate(status, character.transform); st.koef = Information.GetEffectStates("Одержимость", level, power)[0]; st.lifetime = Information.GetEffectStates("Одержимость", level, power)[1]; st.character = character; st.damage = Information.GetEffectStates("Одержимость", level, power)[2]; st.level = level; st.power = power; HeroCharacter.SetReload(reloadtime); }
override public void Use() { base.Use(); HeroCharacter.PlayEffect("слезоточивый газ"); fightController = HeroCharacter.fightController; foreach (var enemy in fightController.enemies) { var st = Instantiate(WS, enemy.transform); st.percent = Information.GetEffectStates("Ослабление", level, power)[0]; st.lifetime = Information.GetSpellStates("Слезоточивый газ", level, power)[0]; st.character = enemy; st.level = level; st.power = power; } HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { base.Use(character); HeroCharacter.PlayEffect("Кровь"); print("Наложили кровотечение"); var st = Instantiate(PS, character.transform); float[] states = Information.GetEffectStates("Кровотечение", level, power); st.damage = states[0]; st.lifetime = states[1]; st.period = 1f; st.character = character; st.level = level; st.power = power; character.TakeDamage(Information.GetSpellStates("Скальпель", level, power)[0]); HeroCharacter.SetReload(reloadtime * (1 - HeroCharacter.CooldownReduction)); }
override public void Use() { base.Use(); HeroCharacter.PlayEffect("Выпад-вар2"); //weekPercent += (int)(Math.Min(50f, 20f * (power - 1f))); fightController = HeroCharacter.fightController; foreach (var enemy in fightController.enemies) { var st = Instantiate(VS, enemy.transform); //st.weekPercent = weekPercent; st.koef = Information.GetEffectStates("Уязвимость", level, power)[0]; st.lifetime = Information.GetEffectStates("Уязвимость", level, power)[1]; enemy.TakeDamage(Information.GetSpellStates("Стремительный выпад", level, power)[0]); st.character = enemy; st.level = level; st.power = power; } HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { character.TakeHeal(heal * power); HeroCharacter.SetReload(reloadtime); }
override public void Use(Characters character) { character.TakeDamage(power * damage); HeroCharacter.SetReload(reloadtime); }