예제 #1
0
    public float HealingMultiplier()
    {
        float       _value     = 1f;
        BuffHandler buffSystem = core.buffSystem;

        if (buffSystem.FindBuff(CASTERBUFF.VISIONS_OF_ANCIENT_KINGS) != null)
        {
            _value *= (1.3f + myAura[(int)AURA.VISIONS_OF_ANCIENT_KINGS].stacks * VALUES.VOAK_INCREASE);
        }
        if (buffSystem.FindBuff(CASTERBUFF.DIVINE_INTERVENTION) != null)
        {
            _value *= 1.5f;
        }
        if (myTalentTree.GetTalentByName("Trauma") != null)
        {
            _value *= 1 + (ManaMax - ManaCurrent) / ManaMax * 0.5f;
        }
        if (myTalentTree.GetTalentByName("Book of Prime Shadows") != null)
        {
            CasterBuff myb = buffSystem.FindBuff(CASTERBUFF.BOOK_OF_PRIME_SHADOWS);
            if (myb != null)
            {
                _value *= 1 + myb.stacks * 0.01f;
            }
        }
        return(_value);
    }
예제 #2
0
    private void ApplyAurasFromTree(TalentTree _tree)
    {
        switch (_tree.classID)
        {
        case CHAMPION.PALADIN:
        {
            myAura[(int)AURA.HAND_OF_LIGHT]            = new Aura(_tree.GetTalentByName("Hand of Light"));
            myAura[(int)AURA.IRON_FAITH]               = new Aura(_tree.GetTalentByName("Iron Faith"));
            myAura[(int)AURA.SPIRIT_BOND]              = new Aura(_tree.GetTalentByName("Spirit Bond"));
            myAura[(int)AURA.AURA_OF_LIGHT]            = new Aura(_tree.GetTalentByName("Aura of Light"));
            myAura[(int)AURA.CONSECRATION]             = new Aura(_tree.GetTalentByName("Consecration"));
            myAura[(int)AURA.ROYALTY]                  = new Aura(_tree.GetTalentByName("Royalty"));
            myAura[(int)AURA.DIVINITY]                 = new Aura(_tree.GetTalentByName("Divinity"));
            myAura[(int)AURA.EMPATHY]                  = new Aura(_tree.GetTalentByName("Empathy"));
            myAura[(int)AURA.GENEROUSITY]              = new Aura(_tree.GetTalentByName("Generousity"));
            myAura[(int)AURA.MODESTY]                  = new Aura(_tree.GetTalentByName("Modesty"));
            myAura[(int)AURA.VISIONS_OF_ANCIENT_KINGS] = new Aura(_tree.GetTalentByName("Visions of Ancient Kings"));
            myAura[(int)AURA.GUIDANCE_OF_RAELA]        = new Aura(_tree.GetTalentByName("Guidance of Raela"));
            myAura[(int)AURA.FLASH_OF_FUTURE]          = new Aura(_tree.GetTalentByName("Flash of Future"));
        } break;

        case CHAMPION.SHADOWMANCER:
        {
        }
        break;
        }
    }