Пример #1
0
    public Attack(IA ia) : base(ia)
    {
        aggressivity = (Aggressivity)ia.desires [typeof(Aggressivity)];
        cowardice    = (Cowardice)ia.desires [typeof(Cowardice)];
        art          = ia.player.team.teamSlot.artefact;

        weapon        = ia.GetComponent <StdIAWeapon> ();
        weapon.barrel = ia.barrel;

        timer = 0f;
    }