Example #1
0
    public void SetServant_Basic(string servant_Name, int Basic_HP, int Basic_Atk, SERVANTCLASS ServantClass,
                                 CARDTYPE[] fivecardType, ACTIVESKILL[] setActiveSkill, Sprite face, Sprite card, Sprite illust, Sprite selectfriend_, Sprite formation_, List <Sprite> ingameImg_, Material matCard_)
    //Sprite[] illustSprite, Sprite[] faceSprite, Sprite[] ingameSprite, Animation[] animation, TextAsset[] dialogue)
    {
        m_name         = servant_Name;
        m_hp           = Basic_HP;
        m_atk          = Basic_Atk;
        m_servantLevel = 1;
        m_servantClass = ServantClass;

        m_fiveCardType = fivecardType;
        m_activeSkill  = setActiveSkill;

        m_sprite_Face         = face;
        m_sprite_Card         = card;
        m_sprite_Illust       = illust;
        m_sprite_Selectfriend = selectfriend_;
        m_sprite_Formation    = formation_;
        m_sprite_IngameImage  = ingameImg_;
        m_mat_card            = matCard_;
        //m_image_illust = illustSprite;
        //m_image_face = faceSprite;
        //m_image_ingame = ingameSprite;
        //m_servantAnim = animation;
        //m_dialogue = dialogue;
    }
Example #2
0
    //Sprite[] m_image_face = new Sprite[4];
    //Sprite[] m_image_ingame;

    //Animation[] m_servantAnim;
    //TextAsset[] m_dialogue;
    //GameObject[] m_servantModel;

    //float[] m_fortuneRate =  new float[6];

    public Servant()
    {
        m_name         = "default";
        m_hp           = 0;
        m_atk          = 0;
        m_exp          = 0;
        m_servantLevel = 0;
        m_servantClass = SERVANTCLASS.DEFAULT;

        for (int i = 0; i < 6; i++)
        {
            m_fiveCardType[i] = CARDTYPE.DEFAULT;
            m_activeSkill[i]  = ACTIVESKILL.DEFAULT;
            //m_image_illust[i] = null;
            //m_image_face[i] = null;
            //m_image_ingame[i] = null;
            //m_servantAnim[i] = null;
            //m_dialogue[i] = null;
            //m_servantModel[i] = null;
            //m_fortuneRate[i] = 0f;
        }
    }
Example #3
0
 public void IsWeekClass(SERVANTCLASS input)
 {
 }