Beispiel #1
0
 public AerospaceEngineer()
 {
     health       = 15; maxHP = 15; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 16; accuracy = 16; dexterity = 3; evasion = 0; type = "Aerospace Engineering Major"; passive = new Airstrike(this);
     quirk        = Quirk.GetQuirk(this); special = new Drone(); special2 = new Rocket();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "gain 1 charge";
 }
 public Administrator()
 {
     health       = 22; maxHP = 22; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 13; accuracy = 13; dexterity = 2; evasion = 0; type = "Administrator"; passive = new Leader(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     cycle        = 0; CreateDrops();
 }
Beispiel #3
0
 public void RegisterQuirkActive(Quirk quirk)
 {
     if (!mActiveQuirks.Contains(quirk))
     {
         mActiveQuirks.Add(quirk);
     }
 }
Beispiel #4
0
    void OnFollowerChanged()
    {
        // Remove any spells & quirks currently attached
        Spell spell = GetComponentInChildren <Spell>();

        if (spell != null)
        {
            Destroy(spell.gameObject);
        }

        Quirk quirk = GetComponentInChildren <Quirk>();

        if (quirk != null)
        {
            Destroy(quirk.gameObject);
        }

        if (!HasFollower())
        {
            return;
        }

        Follower follower = GameObject.FindObjectOfType <Follower>();

        follower.commonComponents.characterModel.ChangeModel(Game.instance.followerData);

        AttachFollowerComponents();
        PlaceFollowerInCorrectPosition();

        Game.instance.RefreshInventory();
    }
Beispiel #5
0
 public Representative()
 {
     health       = 16; maxHP = 16; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 11; accuracy = 11; dexterity = 3; evasion = 0; type = "Representative"; passive = new Profit(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     cycle        = 0; CreateDrops();
 }
Beispiel #6
0
        public void Setup()
        {
            #region quirks
            oneForAll = new Quirk("One For All", 100, true);
            allForOne = new Quirk("All For One", 100, true);

            hellFlame       = new Quirk("Hell Flame", 300, false);
            aplastaPerritos = new Quirk("aplasta perritos", 34, false);
            horizon         = new Quirk("event horizon", 10, true);
            papaias         = new Quirk("papaias intensas", 6, true);
            hackerHTML      = new Quirk("Hackear la nasa con HTML", 600, true);

            #endregion

            #region villanos
            v0 = new Villano(true, false, false, aplastaPerritos);
            v1 = new Villano(true, true, true, horizon);
            v2 = new Villano(true, false, false, papaias);

            v3       = new Villano(true, true, true, hackerHTML);
            pandilla = new Pandilla(new List <Villano>()
            {
                v0, v1, v2
            });
            pandillaYJefe = new Pandilla(new List <Villano>()
            {
                v0, v1, v2, v3
            });
            #endregion

            romelio         = new Persona(allForOne);
            endeavor        = new Heroe(hellFlame);
            oruMaito        = new Heroe(oneForAll);
            arturoMirodilla = new Heroe(papaias);
        }
Beispiel #7
0
        public SubMonster(SubMonster copy)
        {
            Name            = copy.Name;
            Number          = copy.Number;
            Type            = copy.Type;
            avghealth       = copy.avghealth;
            maxhealth       = copy.maxhealth;
            curhealth       = copy.curhealth;
            speed           = copy.speed;
            ATK             = copy.ATK;
            compatmovetypes = copy.compatmovetypes;
            imagepath       = copy.imagepath;
            discovered      = copy.discovered;
            moves           = copy.moves;
            fingerprint     = "";
            status          = copy.status;
            thequirk        = new Quirk(copy.thequirk);
            desc            = copy.desc;
            statlen         = 0;
            kills           = copy.kills;

            poison   = copy.poison;
            paralyze = copy.paralyze;
            burn     = copy.burn;
            high     = copy.high;
            doubled  = copy.doubled;
            halved   = copy.halved;
            annoyed  = copy.annoyed;
            frozen   = copy.frozen;
            cold     = copy.cold;
            evading  = copy.evading;
            asleep   = copy.asleep;
            mixedup  = copy.mixedup;
        }
Beispiel #8
0
 public EnglishMajor()
 {
     health       = 19; maxHP = 19; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 14; accuracy = 14; dexterity = 4; evasion = 0; type = "English Major"; passive = new Reading(this);
     quirk        = Quirk.GetQuirk(this); special = new Quote(); special2 = new Read();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "switch out";
 }
 public HistoryMajor()
 {
     health       = 22; maxHP = 22; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 11; accuracy = 11; dexterity = 1; evasion = 0; type = "History Major"; passive = new Armored(this);
     quirk        = Quirk.GetQuirk(this); special = new Joust(); special2 = new Tactics();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "gain 1 guard";
 }
Beispiel #10
0
 public Robber()
 {
     health               = 50; maxHP = 50; strength = 5; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy         = 13; accuracy = 13; dexterity = 5; evasion = 0; type = "Robber"; passive = new Passive(this);
     quirk                = Quirk.GetQuirk(this); special = null; player = false; champion = true; recruitable = false;
     CreateDrops(); cycle = 0; briefcase = false;
 }
Beispiel #11
0
 public Heroe(int victorias, int derrotas, Quirk quirk)
 {
     this.victorias = victorias;
     this.derrotas  = derrotas;
     this.quirk     = quirk;
     this.licencia  = "licencia para luchar contra el crimen";
 }
 public FootballPlayer()
 {
     health       = 20; maxHP = 20; strength = 5; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 10; accuracy = 10; dexterity = 2; evasion = 0; type = "Football Player"; passive = new PepTalk(this);
     quirk        = Quirk.GetQuirk(this); special2 = new Rally(); special = new Charge();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "deal 2 more damage";
 }
 public MathMajor()
 {
     health       = 18; maxHP = 18; strength = 2; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 20; accuracy = 20; dexterity = 3; evasion = 0; type = "Math Major"; passive = new Observant(this);
     quirk        = Quirk.GetQuirk(this); special = new Factorial(); special2 = new Pi(); player = false; champion = false; recruitable = true;
     factorial    = 0; answer = 1; CreateDrops(); attackEffect = "gain 1 accuracy";
 }
 public Watermelon()
 {
     health            = 7; maxHP = 7; strength = 1; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy      = 0; accuracy = 0; dexterity = 0; evasion = 0; type = "Watermelon"; passive = new Passive(this);
     quirk             = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     status.goopImmune = true; CreateDrops();
 }
Beispiel #15
0
 public CEO()
 {
     health       = 100; maxHP = 100; strength = 5; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 14; accuracy = 14; dexterity = 2; evasion = 0; type = "CEO"; passive = new Passive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = true; recruitable = false;
     cycle        = 0; summonCount = -1; monopoly = 0; horiz = false; vert = false; CreateDrops();
 }
 public MechanicalEngineer()
 {
     health       = 14; maxHP = 14; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 16; accuracy = 16; dexterity = 3; evasion = 0; type = "Mechanical Engineering Major"; passive = new Car(this);
     quirk        = Quirk.GetQuirk(this); special2 = new TeamAttack(); special = new OilDump();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "enemy loses 1 guard";
 }
    //bool attacked;

    public Cop()
    {
        health       = 18; maxHP = 18; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
        baseAccuracy = 12; accuracy = 12; dexterity = 2; evasion = 0; type = "Cop"; passive = new Outgun(this);
        quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false; CreateDrops();
        //attacked = false;
    }
 public Politician()
 {
     health       = 60; maxHP = 60; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 12; accuracy = 12; dexterity = 4; evasion = 0; type = "The Politician"; passive = new Passive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = true; recruitable = false;
     cycle        = 0; broken = false; CreateDrops();
 }
Beispiel #19
0
    public void BuildCheatCompanionSet()
    {
        Game.instance.playerData.followerUid = null;

        List <Quirk> quirks = QuirksInLevel(90, -1, 90, -1);
        List <Spell> spells = SpellsInLevel(90, -1, 90, -1);

        int numCharacters = Mathf.Max(quirks.Count, spells.Count);

        CharacterData[] characters = new CharacterData[numCharacters];
        for (int i = 0; i < numCharacters; ++i)
        {
            Spell spell = spells[i % spells.Count];
            Quirk quirk = quirks[i % quirks.Count];

            CharacterData character = Game.instance.companionBuilder.BuildRandomCharacter(quirk, spell);
            characters[i] = character;
        }

        Game.instance.characterDataList.characterData = characters;

        Follower currentFollower = GameObject.FindObjectOfType <Follower>();

        if (currentFollower != null)
        {
            currentFollower.GetComponentInChildren <CharacterModel>().RemoveModel();
        }
    }
 public DanceMajor()
 {
     health       = 16; maxHP = 16; strength = 2; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 14; accuracy = 14; dexterity = 5; evasion = 0; type = "Dance Major"; passive = new Footwork(this);
     quirk        = Quirk.GetQuirk(this); special = new Tumble(); special2 = new Lunge();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "gain 3 evasion";
 }
Beispiel #21
0
        public SubMonster()
        {
            Name            = "";
            Number          = 0;
            Type            = Types.Type.none;
            avghealth       = 0;
            maxhealth       = 0;
            curhealth       = 0;
            speed           = 10;
            ATK             = 10;
            compatmovetypes = new Types.Type[3];
            imagepath       = "";
            discovered      = false;
            moves           = new Move.SubMove[3];
            fingerprint     = "";
            status          = new List <Status>();
            thequirk        = new Quirk();
            desc            = "";
            statlen         = 0;
            kills           = 0;

            poison   = 0;
            paralyze = 0;
            burn     = 0;
            high     = 0;
            doubled  = 0;
            halved   = 0;
            annoyed  = 0;
            frozen   = 0;
            cold     = 0;
            evading  = 0;
            asleep   = 0;
            mixedup  = 0;
        }
Beispiel #22
0
 public PreMed()
 {
     health       = 16; maxHP = 16; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 16; accuracy = 16; dexterity = 2; evasion = 0; type = "Pre-Med Student"; passive = new Precision(this);
     quirk        = Quirk.GetQuirk(this); special = new Triage(); special2 = new Prescribe();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "pierce defense";
 }
Beispiel #23
0
    private void AttachFollowerComponents()
    {
        Spell oldSpell = GetComponentInChildren <Spell>();

        if (oldSpell != null)
        {
            Destroy(oldSpell.gameObject);
        }

        Quirk oldQuirk = GetComponentInChildren <Quirk>();

        if (oldQuirk != null)
        {
            Destroy(oldQuirk.gameObject);
        }

        if (Game.instance.playerData.followerUid != null)
        {
            CharacterData followerData = Game.instance.characterDataList.CharacterWithUID(Game.instance.playerData.followerUid);
            if (followerData.spell != null)
            {
                GameObject spell = GameObject.Instantiate(followerData.spell.gameObject, transform);
                spell.SetLayerRecursive(LayerMask.NameToLayer("Player"));
            }

            if (followerData.quirk != null)
            {
                GameObject quirk = GameObject.Instantiate(followerData.quirk.gameObject, transform);
                quirk.SetLayerRecursive(LayerMask.NameToLayer("Player"));
            }
        }
    }
Beispiel #24
0
 public Conductor()
 {
     health       = 19; maxHP = 19; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 12; accuracy = 12; dexterity = 4; evasion = 0; type = "Conductor"; passive = new Directive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     cycle        = 0; CreateDrops();
 }
 public Instructor()
 {
     health       = 14; maxHP = 14; strength = 1; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 15; accuracy = 15; dexterity = 3; evasion = 0; type = "Instructor"; passive = new Passive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     cycle        = false; turn1 = true; CreateDrops();
 }
Beispiel #26
0
 public Chef()
 {
     health       = 25; maxHP = 25; strength = 4; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 11; accuracy = 11; dexterity = 2; evasion = 0; type = "Chef"; passive = new Passive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false;
     cycle        = 0; CreateDrops();
 }
Beispiel #27
0
 public General()
 {
     health       = 80; maxHP = 80; strength = 7; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 15; accuracy = 15; dexterity = 0; evasion = 0; type = "The General"; passive = new Airstrike(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = true; recruitable = false;
     phase        = 0; CreateDrops();
 }
Beispiel #28
0
 public PizzaCultist()
 {
     health       = 20; maxHP = 20; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 11; accuracy = 11; dexterity = 3; evasion = 0; type = "Pizza Cultist"; passive = new Passive(this);
     quirk        = Quirk.GetQuirk(this); special = null; player = false; champion = false; recruitable = false; CreateDrops();
     pizzas       = 3; sequence = 0;
 }
Beispiel #29
0
 public PsychMajor()
 {
     health       = 16; maxHP = 16; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 16; accuracy = 16; dexterity = 4; evasion = 0; type = "Psychology Major"; passive = new Persuasive(this);
     quirk        = Quirk.GetQuirk(this); special = new Hypnotize(); special2 = new Encouragement();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "cause apathy";
 }
Beispiel #30
0
 public PoliticalScientist()
 {
     health       = 21; maxHP = 21; strength = 3; power = 0; charge = 0; defense = 0; guard = 0;
     baseAccuracy = 13; accuracy = 13; dexterity = 4; evasion = 0; type = "Political Science Major"; passive = new Democracy(this);
     quirk        = Quirk.GetQuirk(this); special = new Campaign(); special2 = new Filibuster();
     player       = false; champion = false; recruitable = true; CreateDrops(); attackEffect = "chance to stun";
 }