Results 1 to 3 of 3

Thread: export_decr_character_trait isssues

  1. #1

    Default export_decr_character_trait isssues

    I'll be posting my findings regarding possible logical errors regarding certain traits and triggers in this thread.

    Here is the first one (copy-paste from 1.1 file)

    Code:
    ;------------------------------------------
    Trigger temple_of_battle_GoodLeader_low_charisma
      WhenToTest CharacterTurnEnd
    
        Condition EndedInSettlement
              and RemainingMPPercentage = 100
              and SettlementBuildingExists >= temple_of_battle_temple
              and Trait NaturalCharisma < 3
              and Trait GoodLeader < 1
    
      Affects GoodLeader  1  Chance  2
    
    ;------------------------------------------
    Trigger temple_of_battle_GoodLeader_med_charisma
      WhenToTest CharacterTurnEnd
    
        Condition EndedInSettlement
              and RemainingMPPercentage = 100
              and SettlementBuildingExists >= temple_of_battle_temple
              and Trait CharismaRating = 2
              and Trait GoodLeader < 1
    
      Affects GoodLeader  1  Chance  4
    
    ;------------------------------------------
    Trigger temple_of_battle_GoodLeader_high_charisma
      WhenToTest CharacterTurnEnd
    
        Condition EndedInSettlement
              and RemainingMPPercentage = 100
              and SettlementBuildingExists >= temple_of_battle_temple
              and Trait NaturalCharisma > 4
              and Trait GoodLeader < 1
    
      Affects GoodLeader  1  Chance  8
    Shouldn't it be ...

    Code:
    ...
    
    ;------------------------------------------
    Trigger temple_of_battle_GoodLeader_med_charisma
      WhenToTest CharacterTurnEnd
    
        Condition EndedInSettlement
              and RemainingMPPercentage = 100
              and SettlementBuildingExists >= temple_of_battle_temple
              and Trait NaturalCharisma > 2  ;;; instead of 'CharismaRating = 2'
              and Trait NaturalCharisma < 5  
              and Trait GoodLeader < 1
    
      Affects GoodLeader  1  Chance  4
    
    ...
    ?

  2. #2
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: export_decr_character_trait isssues

    No, it's good as is. CharismaRating is a derived trait from NaturalCharisma, as ICERating is (the latter from all three base stats). The reason why CharismaRating is used in the mid trigger you put forward is because it's then only one conditional instead of two.

    Code:
    Trigger Worthy_Of_Adoption_1_VnV_Trigger
      WhenToTest OfferedForAdoption
    
      Affects NaturalIntelligence  1  Chance  100
      Affects NaturalCharisma  1  Chance  100
      Affects NaturalEnergy  1  Chance  100
      Affects IntellectRating  1  Chance  100
      Affects CharismaRating  1  Chance  100
      Affects EnergyRating  1  Chance  100
    
    Trigger Worthy_Of_Adoption_CharismaRating_VnV_Trigger
      WhenToTest OfferedForAdoption
    
        Condition Trait NaturalCharisma > 2
    
      Affects CharismaRating  1  Chance  100
    
    Trigger Worthy_Of_Adoption_CharismaRating2_VnV_Trigger
      WhenToTest OfferedForAdoption
    
        Condition Trait NaturalCharisma > 4
    
      Affects CharismaRating  1  Chance  100

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  3. #3

    Default Re: export_decr_character_trait isssues

    Yay, of course. I should have done more than superficial research on CharismaRating beforehand. Thanks for clearing that up despite my apparent lack of thoroughness.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO