Results 1 to 3 of 3

Thread: Faulty witch trigger

  1. #1
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Faulty witch trigger

    Trigger witchinit2
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill = 1

    Affects NaturalWitchSkill 1 Chance 100

    ;------------------------------------------
    Trigger witchinit3
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 2

    Affects NaturalWitchSkill 1 Chance 50

    ;------------------------------------------
    Trigger witchinit4
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 3

    Affects NaturalWitchSkill 1 Chance 33

    ;------------------------------------------
    Trigger witchinit5
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 4

    Affects NaturalWitchSkill 1 Chance 33

    ***********************************

    These are the trigger from export_descr_character_traits that give a created witch her ranks in magic, and I think the first is faulty: the witchinit2 is supposed to give a witch the first born-rank, as a starting point to eventually make her gain the 2nd and the 3rd.

    But the line "and Trait NaturalWitchSkill = 1" should be removed from it, otherwise they will remain rank 0 (they cannot become rank 1 because they have not received a rank yet, and the following triggers can work only if she gets the first rank

    As an example, these are the trigger for heretics when they appear:

    **************************************************
    Trigger hereticinit7
    WhenToTest AgentCreated

    Condition AgentType = heretic

    Affects NaturalHereticSkill 1 Chance 100

    ;------------------------------------------
    Trigger hereticinit8
    WhenToTest AgentCreated

    Condition Trait NaturalHereticSkill >= 1

    Affects NaturalHereticSkill 1 Chance 33

    ;------------------------------------------
    Trigger hereticinit9
    WhenToTest AgentCreated

    Condition Trait NaturalHereticSkill >= 2

    Affects NaturalHereticSkill 1 Chance 33

    *************************************************

    If you check all the other agents'creation triggers youll'notice they are similar to the heretic's.

    The correct triggers for the witch should be these (you'll notice the lines "and Trait NaturalWitchSkill >= x" should be lowered by 1 each for it to work properly:

    *************************************************
    Trigger witchinit2
    WhenToTest AgentCreated

    Condition AgentType = witch

    Affects NaturalWitchSkill 1 Chance 100

    ;------------------------------------------
    Trigger witchinit3
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 1

    Affects NaturalWitchSkill 1 Chance 50

    ;------------------------------------------
    Trigger witchinit4
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 2

    Affects NaturalWitchSkill 1 Chance 33

    ;------------------------------------------
    Trigger witchinit5
    WhenToTest AgentCreated

    Condition AgentType = witch
    and Trait NaturalWitchSkill >= 3

    Affects NaturalWitchSkill 1 Chance 33

    ***********************************************

    I used the search function but I didn't see anyone reporting this, so I wrote it (I hope I'm right about the fault of the trigger).

  2. #2
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Faulty witch trigger

    You are right about the trigger being faulty. Most VnV fix mods out there already take care of it too though already. Sometimes people just fix their files and don't report it.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  3. #3
    Member Member madalchemist's Avatar
    Join Date
    Dec 2006
    Location
    Bologna
    Posts
    84

    Default Re: Faulty witch trigger

    Yup :)

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