コード例 #1
0
    public void SetCharacter(PC_Character c)
    {
        myChar = c;

        currActionPoints = myChar.actionPoints;

        Debug.Log(myChar.Name + " initialized!");
        Debug.Log("HP: " + myChar.charStats.Hitpoints);
    }
コード例 #2
0
    public void SetCharacter(PC_Character c)
    {
        myChar = c;

        currActionPoints = myChar.actionPoints;

        Debug.Log(myChar.Name + " initialized!");
        Debug.Log("HP: " + myChar.charStats.Hitpoints);
    }
コード例 #3
0
    void InitPlayerSquad()
    {
        playerSquad = new PC_Character[]
        {
            new PC_Character("Chess", PCClass.Wildshot),
            new PC_Character("Iza", PCClass.Technobrat)
        };

        playerSquad[0].InitStats(20, 6, 7, 5, 9, 6);
        playerSquad[1].InitStats(20, 5, 10, 5, 7, 8);
    }
コード例 #4
0
ファイル: Battle_Loader.cs プロジェクト: cesarrac/AwayTeam
    void InitPlayerSquad()
    {
        playerSquad = new PC_Character[]
        {
            new PC_Character("Chess", PCClass.Wildshot),
            new PC_Character("Iza", PCClass.Technobrat)
        };

        playerSquad[0].InitStats(20, 6, 7, 5, 9, 6);
        playerSquad[1].InitStats(20, 5, 10, 5, 7, 8);

    }