Medieval Total War Italia

PROBLEMA NELLA CREAZIONE DI UN TRATTO

  • Messaggi
  • OFFLINE
    Lucio.12
    Post: 291
    Registrato il: 18/07/2012
    Città: MILANO
    Età: 38
    Scudiero
    00 17/07/2013 10:42
    Sto cercando di creare un tratto da assegnare in caso di assedio (effettuato o subito), ma non mi funziona e non ne capisco il motivo!
    Premetto che ho fattole stringhe di testo e le ho controllate e che non mi segnala nessun errore sul .log!

    Di seguito

    ;------------------------------------------
    Trait InAssedio
    Characters family
    ;Hidden
    ;AntiTraits InTerreAmiche SottoAssedio

    Level InAssedio
    Description InAssedio_desc
    EffectsDescription InAssedio_effects_desc
    Threshold 1

    Effect TroopMorale -3
    Effect Command -1
    Effect SiegeAttack -1

    ;------------------------------------------
    Trait SottoAssedio
    Characters family
    ;Hidden
    ;AntiTraits InTerreNemiche InAssedio

    Level SottoAssedio
    Description SottoAssedio_desc
    EffectsDescription SottoAssedio_effects_desc
    Threshold 1

    Effect TroopMorale 3
    Effect Command 1
    Effect SiegeDefence 1

    TRIGGER START HERE ;)
    PS: ho anche inserito la rimozione del tratto a condizioni esaurite

    ;------------------------------------------
    Trigger V001_inassedio
    WhenToTest CharacterTurnEnd

    Condition IsGeneral
    and IsBesieging

    Affects InAssedio 1 Chance 100

    ;------------------------------------------
    Trigger V001_sottoassedio
    WhenToTest CharacterTurnEnd

    Condition IsGeneral
    and IsUnderSiege

    Affects SottoAssedio 1 Chance 100

    ;------------------------------------------
    Trigger V000_adelante
    WhenToTest CharacterTurnStart

    Condition IsGeneral
    and not IsUnderSiege
    and Trait InAssedio > 0

    Affects InAssedio -1 Chance 100
    ;Affects SottoAssedio -1 Chance 100

    ;------------------------------------------
    Trigger V001_adelante
    WhenToTest CharacterTurnStart

    Condition IsGeneral
    and not IsUnderSiege
    and Trait SottoAssedio > 0

    ;Affects InAssedio -1 Chance 100
    Affects SottoAssedio -1 Chance 100
  • OFFLINE
    Karadjordjevic
    Post: 817
    Registrato il: 27/08/2011
    Barone
    00 17/07/2013 11:00
    Re:
    Prova a cambiare i seguenti triggers

    ;------------------------------------------
    Trigger V001_inassedio
    WhenToTest CharacterTurnStart

    Condition IsGeneral
    and IsBesieging

    Affects InAssedio 1 Chance 100

    ;------------------------------------------
    Trigger V001_sottoassedio
    WhenToTest CharacterTurnStart

    Condition IsGeneral
    and IsUnderSiege

    Affects SottoAssedio 1 Chance 100




  • OFFLINE
    Lucio.12
    Post: 291
    Registrato il: 18/07/2012
    Città: MILANO
    Età: 38
    Scudiero
    00 17/07/2013 11:11
    Provo, anche se mi pare di averlo già provato

    PS: grazie mille!!!!!!!!
  • OFFLINE
    The Housekeeper
    Post: 21.194
    Registrato il: 10/02/2007
    Principe

    00 17/07/2013 12:29


    qui c'è un errorino


    ;------------------------------------------
    Trigger V000_adelante
    WhenToTest CharacterTurnStart

    Condition IsGeneral
    and not IsUnderSiege
    and Trait InAssedio > 0

    Affects InAssedio -1 Chance 100
    ;Affects SottoAssedio -1 Chance 100




    dovrebbe essere
    and not IsBesieging






    Per il resto mi sembra a posto

    [Modificato da The Housekeeper 17/07/2013 12:30]








  • OFFLINE
    Lucio.12
    Post: 291
    Registrato il: 18/07/2012
    Città: MILANO
    Età: 38
    Scudiero
    00 17/07/2013 12:36
    Hai ragione.... dici che potrebbe essere quello il problema???
    appena torno a casa lo provo
  • OFFLINE
    Lucio.12
    Post: 291
    Registrato il: 18/07/2012
    Città: MILANO
    Età: 38
    Scudiero
    00 18/07/2013 11:18
    Grande ragà: Ho applicato fedelmente i vostri consigli ed ora FUNZIONA!!!

    Grazie mille ancora!!!