Esempio n. 1
0
    protected override void ExtractTriggers()
    {
        switch (effectCode)
        {
        case EFFECT_CODE_HP_DAMAGE:
            triggerObjects    = triggerSourceComponent.GetAdversaryObjects();
            triggerComponents = triggerSourceComponent.GetAdversaryComponents();
            break;

        case EFFECT_CODE_HP_RECOVERY:
            /*halmeida - gotta implement a way to get the allies of an agent.*/
            triggerObjects    = null;
            triggerComponents = null;
            break;

        default:
            triggerObjects    = null;
            triggerComponents = null;
            break;
        }
    }