Exemplo n.º 1
0
    public ShadowbeastMOB() : base()
    {
        maxHealth  = 800f;
        currHealth = maxHealth;
        name       = "The Shadowbeast";
        mobClass   = MOBCLASS.BOSS;

        myPortrait = LoadMobPortrait(MOB.SHADOWBEAST);

        AddSpell(HOSTILESPELL.SHADOWFANG);
        AddSpell(HOSTILESPELL.BRUTAL_BITE);
        AddSpell(HOSTILESPELL.ROAR_OF_TERROR);
        AddSpell(HOSTILESPELL.CURSED_SWIPE);
        AddSpell(HOSTILESPELL.SUMMON_SPAWNLING);

        timerHandler.AddTimer(mySpell[0], true);
        timerHandler.AddTimer(mySpell[1], true);
        timerHandler.AddTimer(mySpell[2], true);
        timerHandler.AddTimer(mySpell[4], true);

        spellQueue.SetFillerSpell(mySpell[3]);

        myBossTalk = new BossTalk(2);

        myBossTalk.AddText("Roar!", Color.blue);
        myBossTalk.SetDeathTalk("Master...", Color.yellow);
    }
Exemplo n.º 2
0
    public VoidmistressUmbarrMOB() : base()
    {
        maxHealth  = 900f;
        currHealth = maxHealth;
        name       = "Voidmistress Umbarr";

        myPortrait = LoadMobPortrait(MOB.UMBARR);

        AddSpell(HOSTILESPELL.BLOODBOIL);
        AddSpell(HOSTILESPELL.DARK_ROSE);
        AddSpell(HOSTILESPELL.VOIDFLAME);
        AddSpell(HOSTILESPELL.SCRATCH);

        timerHandler.AddTimer(mySpell[0], true);
        timerHandler.AddTimer(mySpell[1], true);
        timerHandler.AddTimer(mySpell[2], true);
        spellQueue.SetFillerSpell(mySpell[3]);

        myBossTalk = new BossTalk(4);

        myBossTalk.AddText("You're making me hot!", Color.red);
        myBossTalk.AddText("A rose? For me?", Color.red);
        myBossTalk.AddText("Can you feel my... void?", Color.red);
        myBossTalk.AddText("You know what? Or never mind. Nothing.", Color.red);
        myBossTalk.SetDeathTalk("We shall meet again hotty...", Color.yellow);
    }
Exemplo n.º 3
0
 void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
 }
Exemplo n.º 4
0
    public SoolTheWarlockMOB() : base()
    {
        maxHealth  = 400f;
        currHealth = maxHealth;
        name       = "Sool the Warlock";

        myPortrait = LoadMobPortrait(MOB.SOOL);

        AddSpell(HOSTILESPELL.SOUL_TOMB);
        AddSpell(HOSTILESPELL.MIND_BOMB);
        AddSpell(HOSTILESPELL.SHADOWBOLT);

        timerHandler.AddTimer(mySpell[0], true);
        timerHandler.AddTimer(mySpell[1], true);
        spellQueue.SetFillerSpell(mySpell[2]);

        myBossTalk = new BossTalk(4);

        myBossTalk.AddText("Don't interfere with our plans!", Color.blue);
        myBossTalk.AddText("The void is the only answer!", Color.cyan);
        myBossTalk.AddText("Power produces darkness. Darkness consumes shadows!", Color.blue);
        myBossTalk.SetDeathTalk("<Sool disappears>", Color.white);
    }