Example #1
0
    public void PassiveHover(Passive passive)
    {
        hoverBox.SetActive(true);
        hoverBox.transform.position = Input.mousePosition + new Vector3(10, 0);
        hoverText.text  = "<u>" + passive.passiveName + "</u>\n";
        hoverText.text += passive.GetDescription();

        SetHoverBoxSize();
    }
 public string StatusText()
 {
     if (alive)
     {
         return(name + "(" + quirk.GetName() + " " + type + ")  - HP: " + health.ToString() + "/" + maxHP.ToString() + " SP: " + Party.GetSP()
                + "\nStrength: " + strength.ToString() + " Power: " + power.ToString() + " Charge: " + charge.ToString()
                + " Defense: " + defense.ToString() + " Guard: " + guard.ToString() + "\nAccuracy: " + accuracy.ToString()
                + " Evasion: " + evasion.ToString() + " Dexterity: " + dexterity.ToString() + "\nPrimary Special: "
                + special.GetName() + " - " + special.ToString() + "\nSupport Special: "
                + special2.GetName() + " - " + special2.ToString() + "\nPassive: " + passive.GetName() + " - "
                + passive.GetDescription() + "\nTrait: " + quirk.GetName() + " - " + quirk.GetDescription() + "\n"
                + "On basic attack: " + attackEffect + "\n" + status.DescriptorText());
     }
     else
     {
         return(quirk.GetName() + " " + name + ". This character is at 0 hp ");
     }
 }