Results 1 to 5 of 5

Thread: Trait Affect Chance

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Trait Affect Chance

    I was wondering, just to make sure, if the affect chance is 1 to 100 does it mean 1 in 100 chance of the character getting the trait or does it mean 100% chance of the character getting the trait?




  2. #2

    Default Re: Trait Affect Chance

    It's the Percentage that is always a whole number (i.e. no decimals, no fractions, etc) between 1 and 100.

  3. #3
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Re: Trait Affect Chance

    So when it says chance 3 it means 3% chance every turn that the character will get the trait?




  4. #4
    Civis
    Join Date
    Apr 2010
    Location
    France
    Posts
    130

    Default Re: Trait Affect Chance

    So when it says chance 3 it means 3% chance every turn that the character will get the trait?
    No quite not, it means, if the conditions are fulfiled, there is a 3% chance that the character can gain the trait(s).

    example :

    Code:
    ;------------------------------------------
    Trigger sitting_around_town_with_taverns
        WhenToTest CharacterTurnEnd
    
        Condition EndedInSettlement
              and RemainingMPPercentage = 100
              and SettlementBuildingExists >= brothel
    
        Affects Drink  1  Chance  5 
        Affects Gambling  1  Chance  2 
        Affects Girls  1  Chance  3 
    
    ;------------------------------------------

    Read this :
    -when the turn end (TurnEnd), the character (Character)
    -if ended in setllement (EndedInSettlement), and didn't move during the turn (RemainingMPPercentage = 100), and a brothel or a superior building exist (SettlementBuildingExists >= brothel)
    -then there a 5 % chance he get 1 point in the drink trait, 2% in gambling and 3% in girls.

    It also can be quite different from just end turn :

    Code:
    ;------------------------------------------
    Trigger V0010_Standard_Battle_Attacker_Crushing_Victory_VnV_Trigger
        WhenToTest PostBattle
    
        Condition WasAttacker
              and IsGeneral
              and WonBattle
              and BattleSuccess = crushing
              and I_ConflictType Normal
              and BattleOdds >= 0.5
              and BattleOdds < 1.5
    
        Affects GoodAttacker  2  Chance  100 
        Affects TacticalSkill  1  Chance  10
    ;------------------------------------------
    Here, the game "test" the condition after every battle (WhenToTest PostBattle), if all conditions are fulfiled, then he character gain 2 points in Good attacker and have 10% chance to have the a point in tactical skill.
    Read this

  5. #5
    TMK's Avatar BC Local Moderator
    Join Date
    Jun 2010
    Location
    England
    Posts
    1,606

    Default Re: Trait Affect Chance

    Thanks! + rep




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •