예제 #1
0
    /// <summary>
    /// Populates the spells datas.
    /// </summary>
    public static void PopulateSpellsDatas()
    {
        var spell = new SpellsData();

        spell.Name                 = "Fire ball";
        spell.Description          = "Send a fireball on your ennemies";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Fire03";
        spell.ManaAmount           = 5;
        spell.Attack               = 10;
        spell.ParticleEffect       = "FireBall";
        spell.SoundEffect          = "foom_0";
        SpellsData[1]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "Ice ball";
        spell.Description          = "Send an ice ball on your ennemies";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Ice06";
        spell.ManaAmount           = 7;
        spell.Attack               = 15;
        spell.ParticleEffect       = "IceCold";
        spell.SoundEffect          = "spell3";
        SpellsData[2]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "Shadow ball";
        spell.Description          = "Send a shadow ball on your ennemies";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Shadow01";
        spell.ManaAmount           = 15;
        spell.Attack               = 20;
        spell.ParticleEffect       = "IceWave";
        spell.SoundEffect          = "foom_0";
        SpellsData[3]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "Earth quak";
        spell.Description          = "Shake the ground";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Earth01";
        spell.ManaAmount           = 20;
        spell.Attack               = 30;
        spell.ParticleEffect       = "IceWave";
        spell.SoundEffect          = "spell3";
        SpellsData[4]              = spell;


        spell                      = new SpellsData();
        spell.Name                 = "Fire wall";
        spell.Description          = "Invok a firewall";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Fire02";
        spell.ManaAmount           = 30;
        spell.Attack               = 35;
        spell.ParticleEffect       = "FireFlamish";
        spell.SoundEffect          = "foom_0";
        SpellsData[5]              = spell;


        spell                      = new SpellsData();
        spell.Name                 = "Ice mirror";
        spell.Description          = "Freeze your ennemies inside";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Ice07";
        spell.ManaAmount           = 40;
        spell.Attack               = 45;
        spell.ParticleEffect       = "IceCold";
        SpellsData[6]              = spell;



        spell                      = new SpellsData();
        spell.Name                 = "Death shadow";
        spell.Description          = "Open the gate for dead souls";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Shadow06";
        spell.ManaAmount           = 60;
        spell.Attack               = 60;
        spell.ParticleEffect       = "IceStars";
        spell.SoundEffect          = "spell3";
        SpellsData[7]              = spell;



        spell                      = new SpellsData();
        spell.Name                 = "Thunder storm";
        spell.Description          = "A big thunder storm";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Thunder07";
        spell.ManaAmount           = 150;
        spell.Attack               = 150;
        spell.ParticleEffect       = "IceStars";
        spell.SoundEffect          = "spell3";
        SpellsData[8]              = spell;



        spell                      = new SpellsData();
        spell.Name                 = "Fire sword";
        spell.Description          = "A fire attack with sword";
        spell.AllowedCharacterType = EnumCharacterType.Warrior;
        spell.PicturesName         = "S_Sword01";
        spell.ManaAmount           = 20;
        spell.Attack               = 30;
        spell.ParticleEffect       = "FireExplosion";
        spell.SoundEffect          = "spell3";
        SpellsData[9]              = spell;


        spell                      = new SpellsData();
        spell.Name                 = "Ice sword";
        spell.Description          = "An ice sword attack";
        spell.AllowedCharacterType = EnumCharacterType.Warrior;
        spell.PicturesName         = "S_Sword02";
        spell.ManaAmount           = 30;
        spell.Attack               = 40;
        spell.ParticleEffect       = "IceCold";
        spell.SoundEffect          = "spell3";
        SpellsData[10]             = spell;


        spell                      = new SpellsData();
        spell.Name                 = "Deadly sword";
        spell.Description          = "A deadly attack";
        spell.AllowedCharacterType = EnumCharacterType.Warrior;
        spell.PicturesName         = "S_Sword07";
        spell.ManaAmount           = 50;
        spell.Attack               = 80;
        spell.ParticleEffect       = "IceWave";
        spell.SoundEffect          = "spell3";
        SpellsData[11]             = spell;
    }
예제 #2
0
 /// <summary>
 /// Starts this instance.
 /// </summary>
 void Start()
 {
     SelectedWeapon = null;
     SelectedSpell  = null;
     SelectedItem   = null;
 }
예제 #3
0
    /// <summary>
    /// Populates the spells datas.
    /// </summary>
    public static void PopulateSpellsDatas()
    {
        var spell = new SpellsData();

        spell.Name                 = "ファイヤ";
        spell.Description          = "Send a fireball on your ennemies";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Fire03";
        spell.ManaAmount           = 10;
        spell.Attack               = 40;
        spell.ParticleEffect       = "FireBall";
        spell.SoundEffect          = "foom_0";
        SpellsData[1]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "アイス";
        spell.Description          = "Send an ice ball on your ennemies";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Ice06";
        spell.ManaAmount           = 10;
        spell.Attack               = 40;
        spell.ParticleEffect       = "IceCold";
        spell.SoundEffect          = "spell3";
        SpellsData[2]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "サンダー";
        spell.Description          = "A big thunder storm";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Thunder07";
        spell.ManaAmount           = 10;
        spell.Attack               = 40;
        spell.ParticleEffect       = "IceStars";
        spell.SoundEffect          = "spell3";
        SpellsData[3]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "攻撃アップ";
        spell.Description          = "power up";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Buff01";
        spell.ManaAmount           = 15;
        spell.Attack               = 0;
        spell.ParticleEffect       = "Magic_Aura";
        spell.SoundEffect          = "spell3";
        SpellsData[4]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "防御アップ";
        spell.Description          = "difensive up";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Buff03";
        spell.ManaAmount           = 15;
        spell.Attack               = 0;
        spell.ParticleEffect       = "Magic_Aura";
        spell.SoundEffect          = "spell3";
        SpellsData[5]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "攻撃ダウン";
        spell.Description          = "enemy power down";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Death01";
        spell.ManaAmount           = 15;
        spell.Attack               = 0;
        spell.ParticleEffect       = "Magic_Aura";
        spell.SoundEffect          = "spell3";
        SpellsData[6]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "防御ダウン";
        spell.Description          = "enemy difensive down";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Death02";
        spell.ManaAmount           = 15;
        spell.Attack               = 0;
        spell.ParticleEffect       = "Magic_Aura";
        spell.SoundEffect          = "spell3";
        SpellsData[7]              = spell;

        spell                      = new SpellsData();
        spell.Name                 = "ヒール";
        spell.Description          = "Recover HP";
        spell.AllowedCharacterType = EnumCharacterType.Wizard;
        spell.PicturesName         = "S_Death02";
        spell.ManaAmount           = 30;
        spell.Attack               = 0;
        spell.ParticleEffect       = "Magic_Aura";
        spell.SoundEffect          = "spell3";
        SpellsData[8]              = spell;

        //spell = new SpellsData();
        //spell.Name = "ヒール";
        //spell.Description = "A big potion that add 60 Hp points";
        //spell.PicturesName = "P_Red03";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.HealthPoint = 60;
        //spell.SoundEffect = "spell3";
        //SpellsData[4] = spell;


        //spell = new SpellsData();
        //spell.Name = "ダーク";
        //spell.Description = "Send a shadow ball on your ennemies";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Shadow01";
        //spell.ManaAmount = 15;
        //spell.Attack = 20;
        //      spell.ParticleEffect = "IceWave";
        //      spell.SoundEffect = "foom_0";
        //      SpellsData[3]= spell;

        //spell = new SpellsData();
        //spell.Name = "じしん";
        //spell.Description = "Shake the ground";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Earth01";
        //spell.ManaAmount = 20;
        //spell.Attack = 30;
        //      spell.ParticleEffect = "IceWave";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[4]= spell;


        //spell = new SpellsData();
        //spell.Name = "炎の壁";
        //spell.Description = "Invok a firewall";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Fire02";
        //spell.ManaAmount = 30;
        //spell.Attack = 35;
        //      spell.ParticleEffect = "FireFlamish";
        //      spell.SoundEffect = "foom_0";
        //      SpellsData[5]= spell;


        //spell = new SpellsData();
        //spell.Name = "氷の鏡";
        //spell.Description = "Freeze your ennemies inside";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Ice07";
        //spell.ManaAmount = 40;
        //spell.Attack = 45;
        //      spell.ParticleEffect = "IceCold";
        //      SpellsData[6]= spell;



        //spell = new SpellsData();
        //spell.Name = "デス";
        //spell.Description = "Open the gate for dead souls";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Shadow06";
        //spell.ManaAmount = 60;
        //spell.Attack = 60;
        //      spell.ParticleEffect = "IceStars";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[7]= spell;



        //      spell = new SpellsData();
        //spell.Name = "サンダー";
        //spell.Description = "A big thunder storm";
        //spell.AllowedCharacterType = EnumCharacterType.Wizard;
        //spell.PicturesName  = "S_Thunder07";
        //spell.ManaAmount = 150;
        //spell.Attack = 150;
        //      spell.ParticleEffect = "IceStars";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[8]= spell;



        // 主人公の特技をとりあえず封印!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        //      spell = new SpellsData();
        //spell.Name = "火炎斬り";
        //spell.Description = "A fire attack with sword";
        //spell.AllowedCharacterType = EnumCharacterType.Warrior;
        //spell.PicturesName  = "S_Sword01";
        //spell.ManaAmount = 20;
        //spell.Attack = 30;
        //      spell.ParticleEffect = "FireExplosion";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[9]= spell;


        //spell = new SpellsData();
        //spell.Name = "氷結斬り";
        //spell.Description = "An ice sword attack";
        //spell.AllowedCharacterType = EnumCharacterType.Warrior;
        //spell.PicturesName  = "S_Sword02";
        //spell.ManaAmount = 30;
        //spell.Attack = 40;
        //      spell.ParticleEffect = "IceCold";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[10]= spell;


        //spell = new SpellsData();
        //spell.Name = "死の剣";
        //spell.Description = "A deadly attack";
        //spell.AllowedCharacterType = EnumCharacterType.Warrior;
        //spell.PicturesName  = "S_Sword07";
        //spell.ManaAmount = 50;
        //spell.Attack = 80;
        //      spell.ParticleEffect = "IceWave";
        //      spell.SoundEffect = "spell3";
        //      SpellsData[11]= spell;
    }