Use wildfire in siege

For specific technical issues and questions.

Use wildfire in siege

PostPosted by Galrun » Sat Jul 15, 2017 12:37

Hi all,

I was just wondering if I miss something to trigger the event of using wildfire in a siege.
Currently I'm a grand master of the alchemists guild, have a guild house in my capital, have a court full of alchemists, have a level 3 stock pile of wildfire, but when sieging an enemy castle the event to use the wildfire does not trigger.
Anything else that needs to be done?
Galrun
 
Posts: 219
Joined: Sun May 04, 2014 21:23
Location: Germany

Re: Use wildfire in siege

PostPosted by chosenbyfew » Fri Jul 28, 2017 13:42

Here's the trigger requirements for using wildfire in an offensive siege.
Code: Select all
   trigger = {
      society_member_of = alchemists_guild
      siege = { is_attacker = yes }
      capital_scope = {
         owner = { character = ROOT }
         has_province_modifier = alchemist_guild
         NOT = { has_province_modifier = wildfire_outbreak }
         OR = {
            has_province_modifier = wildfire_1
            has_province_modifier = wildfire_2
            has_province_modifier = wildfire_3
            has_province_modifier = wildfire_4
            has_province_modifier = wildfire_5
         }
      }      
      has_society_currency_minor_trigger = yes
      OR = {
         society_rank >= 2
         any_courtier = {
            society_rank >= 2
            society_member_of = alchemists_guild
         }
      }
      NOT = { has_character_flag = flag_transporting_wildfire_slow }
      NOT = { has_character_flag = flag_transporting_wildfire_normal }
      NOT = { has_character_flag = flag_transporting_wildfire_fast }
      NOT = { has_character_modifier = used_wildfire_in_siege }
   }

So:
You need to be leading the siege.
Must be member of alchemist's guild.
Your capital must be where the alchemist's guild is built.
Your capital must not be on fire from wildfire.
Your capital must have a stockpile of wildfire.
You must have 150 society currency for the alchemist's guild.
Either you or any of your courtiers needs to be rank 2 in the alchemist's guild.
You can't already be transporting wildfire to blow someone up.
You can't have blown someone up with wildfire in the past 200 days. (the 200 days thing is set elsewhere)

Once you meet those conditions, it's a 0.47% chance per game day of it happening (based on the on_siege_pulse chances in the file 00_on_actions.txt), with modifiers:
*2 for each of: fire_obsessed, genius, possessed
*1.25 for each of: smart, lunatic, level 2 wildfire stockpile
*1.66 for level 3 wildfire stockpile
*2.5 for level 4 wildfire stockpile
*5 for level 5 wildfire stockpile

You haven't said anything about what traits you have, so assuming you're not fire obsessed, genius, possessed, smart, or lunatic, you have a 0.78% chance per day of sieging to trigger that event, which means that, on average, it should probably trigger once every 62 days or so of sieging, but keep in mind it's like a coin flip: just because it landed heads twice in a row, doesn't mean it HAS to land tails this time. Each coin flip is only a 50% chance, and each day of sieging is only a 0.78% chance, which is incredibly low.

Just keep trying, and you'll get it eventually. You can also try building a bigger stockpile, since getting it to level 5 would raise it to a 2.35% chance per day: still pretty low, but much better odds.
chosenbyfew
 
Posts: 40
Joined: Sat Jul 22, 2017 05:44

Re: Use wildfire in siege

PostPosted by Galrun » Fri Jul 28, 2017 13:56

Thanks for the detailled answer.
I found my mistake: I was not leading the army myself.

But as discussed in the general section, it would be a way better solution to be able to trigger this via a decision instead of an randomized event.
Galrun
 
Posts: 219
Joined: Sun May 04, 2014 21:23
Location: Germany

Re: Use wildfire in siege

PostPosted by chosenbyfew » Fri Jul 28, 2017 14:22

I can see it both ways.

On the one hand, the one way you get a similar sort of effect through decisions is with dragons. If you've got dragons, it almost makes no sense to even bother with wildfire unless you're doing it for personal purposes, roleplaying, or the like.

But you have to keep in mind that doing it with dragons means going through a LOOOOT of trouble to find and tame a dragon, and even then the dragon can get wounded or killed every time you use it. But with wildfire, it costs, what, 600 gold total, including the guildhall? And using it doesn't give you a chance to screw up and have to go through a possibly-hundred-year process again.
chosenbyfew
 
Posts: 40
Joined: Sat Jul 22, 2017 05:44

Re: Use wildfire in siege

PostPosted by Galrun » Fri Jul 28, 2017 17:23

Well, you can screw up with wildfire: First when keeping a too high stock, second when using it in battle. I think this can be seen as an equivalent to the chance a dragon gets wounded while the 100 gold per shot make up for the rising time of a dragon
Galrun
 
Posts: 219
Joined: Sun May 04, 2014 21:23
Location: Germany


Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 0 guests