public void IntimidatingGaze() { PlayingCard(7, intimidatingGazeDescription, intimidatingGazeName); battleManager.PrintLog("Placeholder used IntimidatingGaze", "red"); GameObject newEffect = (GameObject)Instantiate(preventType, transform.position, transform.rotation); Sc_EffectPreventType neweffectScript = newEffect.GetComponent <Sc_EffectPreventType>(); neweffectScript.type = "Melee"; neweffectScript.duration = 1; }
public void NullMagic() { PlayingCard(0, nullMagicDescription, nullMagicName); battleManager.PrintLog("Placeholder used NullMagic", "red"); GameObject newEffect = (GameObject)Instantiate(preventType, transform.position, transform.rotation); Sc_EffectPreventType neweffectScript = newEffect.GetComponent <Sc_EffectPreventType>(); neweffectScript.type = "Utility"; neweffectScript.duration = 2; }
public void FrenzyRay() { PlayingCard(9, frenzyRayDescription, frenzyRayName); battleManager.PrintLog("Placeholder used FrenzyRay", "red"); GameObject newEffect = (GameObject)Instantiate(preventType, transform.position, transform.rotation); Sc_EffectPreventType neweffectScript = newEffect.GetComponent <Sc_EffectPreventType>(); neweffectScript.type = "Armor"; neweffectScript.duration = 2; GameObject newEffect2 = (GameObject)Instantiate(doubleDamage, transform.position, transform.rotation); Sc_EffectDoubleDamage neweffectScript2 = newEffect2.GetComponent <Sc_EffectDoubleDamage>(); neweffectScript2.extraAttaks = 1; neweffectScript2.duration = 1; }