Effet scripté
holy_war_payout_largesse
Si
- Comptabilise un total de > 0 membres
- Ducats > 0
Alors
- Set variable
- Name: hw_largesse_pool
- Value
- Value: gold
- Multiply: 0,3
- Set variable
- Name: hw_largesse_weight
- Value: 0
- Every international organization memberoùA la variable : holy_war_participationDéfinie parHw ioChange variable
- Name: hw_largesse_weight
- Add: Précédentvar:holy_war_participation
- SiAlorsEvery international organization memberoùA la variable : holy_war_participationGagne des Hw iovar:hw_largesse_pool × var:holy_war_participation ÷ Hw iovar:hw_largesse_weight DucatsSinon
- Set variable
- Name: hw_largesse_each
- Value
- Value: var:hw_largesse_pool
- Divide:
total_members
- Every international organization memberGagne des Hw iovar:hw_largesse_each Ducats
- Remove variable: hw_largesse_each
- Set variable
- Perd des var:hw_largesse_pool Ducats
- Remove variable: hw_largesse_pool
- Remove variable: hw_largesse_weight
Script exact
Utilisé par 1
Répartir le butinEffet