Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic 2024 #1257

Draft
wants to merge 984 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
984 commits
Select commit Hold shift + click to select a range
28a53c8
Merge branch 'master' into PRbaseformagicmerge-1.5
MemeWizard Mar 8, 2023
156c4c7
Merge branch 'magic_trees' into PRbaseformagicmerge-1.5
MemeWizard Mar 8, 2023
a4dc01f
Merge branch 'PRbaseformagicmerge-1.5' into magic-1-5-0-merge
MemeWizard Mar 8, 2023
4e3cad2
Merge branch 'master' into magic-2024
sumankun Nov 28, 2023
3fcbfe6
error.log
sumankun Nov 28, 2023
19b77fc
improved gui
sumankun Nov 28, 2023
1be20eb
error.log
sumankun Nov 28, 2023
fa35695
gui fix
sumankun Nov 28, 2023
a7199c2
Merge branch 'master' into magic-2024
Grekopithikos Dec 31, 2023
c82840b
physical lifestyle modifiers
Grekopithikos Jan 1, 2024
0ae8904
Merge branch 'master' into magic-2024
Grekopithikos Jan 2, 2024
9120d36
Update wc_lifestyle_traits.txt
Grekopithikos Jan 2, 2024
49da707
remove physical tree ( per @ElMariuso )
edmund-h Jan 3, 2024
27234fd
add framework for magic secrets and events
edmund-h Jan 3, 2024
7c7640f
physical lifestyle back for now
Grekopithikos Jan 3, 2024
5a5106c
fix gui bug
helloruhe Jan 4, 2024
45adb79
Merge branch 'master' into magic-2024
edmund-h Jan 4, 2024
bd0e473
Revert "physical lifestyle back for now"
helloruhe Jan 4, 2024
ee9f966
2 new branches, rework one branch
helloruhe Jan 5, 2024
261c367
Concept: Magic Resistance
helloruhe Jan 6, 2024
e303d9c
add xp to traitss
helloruhe Jan 6, 2024
c98703d
Update wc_race_traits.txt
Grekopithikos Jan 6, 2024
e5f57e8
Revert "add framework for magic secrets and events"
edmund-h Jan 8, 2024
03e64c3
Merge branch 'master' into magic-2024
helloruhe Jan 8, 2024
74c6e17
test
helloruhe Jan 8, 2024
5802d9a
mr concept
helloruhe Jan 8, 2024
92ebe6b
bruh 9
helloruhe Jan 8, 2024
944cabc
perk based meta-lifestyle trait proof of concept
edmund-h Jan 8, 2024
eb7d682
new court position
helloruhe Jan 8, 2024
038ea76
Merge branch 'trait_experiment' into magic-2024
edmund-h Jan 9, 2024
cefa112
hp as number
helloruhe Jan 9, 2024
70534e2
hp as game rule
helloruhe Jan 10, 2024
edda796
redo shitty lightning tree, change death 2 tree
edmund-h Jan 10, 2024
22dad57
went absolutely ham with new magic tree shapes
edmund-h Jan 10, 2024
19ed9bf
update fire tree to berserk curse mark lol
edmund-h Jan 10, 2024
ac625a4
fix a couple bugs with main magic branch
edmund-h Jan 10, 2024
22bb01d
temporary comment out magic event and error supp
edmund-h Jan 10, 2024
268ea9e
Merge branch 'master' into magic_secret
edmund-h Jan 10, 2024
4484483
fix some magic secrecy trigger errors
edmund-h Jan 10, 2024
67b0527
fix magic secrets triggers
edmund-h Jan 10, 2024
bca7a0b
add magic secret to perk selection - untested
edmund-h Jan 10, 2024
2f67149
Merge branch 'magic-2024' into magic_secret
edmund-h Jan 11, 2024
3edc38a
fix and reorder mege errors
edmund-h Jan 11, 2024
48d838b
add and update tree triggers
edmund-h Jan 11, 2024
2050bb7
Merge branch 'magic-2024' into magic_secret
edmund-h Jan 11, 2024
857639c
fix scoping for magic secrets
edmund-h Jan 11, 2024
4c0ac68
add basic localization for secrets
edmund-h Jan 11, 2024
d3a0d7d
expose event + reveal framework
edmund-h Jan 12, 2024
5bba44d
add trait when secret revealed, chg trait assgnmnt
edmund-h Jan 12, 2024
82f4d89
refactor, correct, and rearrange lifestyle rankups
edmund-h Jan 13, 2024
8b4bec1
extend refactors to elemental rankup
edmund-h Jan 13, 2024
dfff38a
fix broken secret magic user trigger
edmund-h Jan 13, 2024
0762734
'ruler' trait only applies to vanilla lifestyles
edmund-h Jan 13, 2024
535e7ce
Revert "'ruler' trait only applies to vanilla lifestyles"
edmund-h Jan 13, 2024
d264d18
apply 'ruler' trait only 2 vanilla lifestyle perks
edmund-h Jan 13, 2024
956402b
complete family/vassal secret reveal event
edmund-h Jan 16, 2024
cd8aaa0
remove elemental perk buffs + balance ruler trait
edmund-h Jan 16, 2024
8e7bd79
fix errors
edmund-h Jan 17, 2024
78f1c95
humans can openly learn arcane magic
edmund-h Jan 17, 2024
c1db834
fix errors with localization
edmund-h Jan 17, 2024
7f45cda
Merge pull request #1340 from Warcraft-GoA-Development-Team/magic_secret
edmund-h Jan 17, 2024
b4e8000
Merge branch 'master' into magic-2024
helloruhe Jan 21, 2024
ee058e3
secrets integration
helloruhe Jan 21, 2024
8f20de8
Merge branch 'dev' into magic-2024
helloruhe Jan 21, 2024
ad5bb67
fix error preventing non-e magic from 5 rank
edmund-h Jan 22, 2024
632c541
re-enable ruler leveled trait
edmund-h Jan 22, 2024
5b65547
remove rulter trait from main working branch
edmund-h Jan 24, 2024
99733b0
magical prowess + remove focus button
helloruhe Jan 25, 2024
9d6fd2c
more magical prowess stuff
helloruhe Jan 25, 2024
4bd8f4d
fix errors but keep secret triggers separate
edmund-h Jan 26, 2024
2b6ba8b
remove loc and code for s/d magic from m_l.7000
edmund-h Jan 26, 2024
f02abfb
erase rest of s/d ele magic secret references
edmund-h Jan 26, 2024
d9eb559
additional magic secrets fixes
edmund-h Jan 26, 2024
92de253
Merge branch 'dev' into magic-2024
helloruhe Jan 27, 2024
3afce4e
hide secret mp + mana regen
helloruhe Jan 30, 2024
2a1f6a1
gui fix as needed
helloruhe Jan 30, 2024
ce8c4c1
commit
helloruhe Jan 30, 2024
6ba1edb
add scrollarea to perk trees
edmund-h Jan 30, 2024
b0b1292
move lifestyle trees and rename
edmund-h Jan 30, 2024
9805222
small fixes to moved trees
edmund-h Jan 30, 2024
29721d8
Removes Superfluous Code
Myphicbowser Feb 5, 2024
0945544
fix some more lifestyle related errors
edmund-h Feb 22, 2024
97338e4
remove outdated elemental tree triggers
edmund-h Feb 23, 2024
9dc1e75
Merge branch 'dev' into magic-2024
robmart Apr 14, 2024
5c8bb0d
I swear all my software hates utf-bom
robmart Apr 15, 2024
622c90c
Comment out all physical perk assignment
robmart Apr 16, 2024
f393788
Merge branch 'dev' into magic-2024
helloruhe Apr 23, 2024
1a9171a
Merge branch 'dev' into magic-2024
Grekopithikos May 17, 2024
03770d2
court position loc
Grekopithikos May 17, 2024
5f190b7
Merge branch 'dev' into magic-2024
robmart Jul 29, 2024
3081b85
Fix errors
robmart Jul 29, 2024
097b235
Re-add physical trait concept
robmart Aug 3, 2024
e87bbe9
Magic Spells *Fire Lifestyle* (#1258)
sumankun Aug 11, 2024
4a164d6
standardize mana costs
helloruhe Aug 12, 2024
07e457e
fix
helloruhe Aug 12, 2024
8c3c224
Update wc_magic_values.txt
helloruhe Aug 14, 2024
6d768e9
Update wc_lifestyles.txt
helloruhe Aug 14, 2024
48e7a4e
Merge branch 'dev' into magic-2024
helloruhe Aug 14, 2024
faa54a5
nerf knowledge overflow
helloruhe Aug 14, 2024
1ffc6bc
Setup triggers for future use
helloruhe Aug 14, 2024
605b364
Fix trigger
robmart Aug 14, 2024
1b7b1bc
button fix
helloruhe Aug 19, 2024
f2aeecd
better knowledge overflow nerf
helloruhe Aug 19, 2024
58beb32
fix fire elemental perk
helloruhe Aug 19, 2024
0194444
fix general errors
helloruhe Aug 19, 2024
38dd5bd
fix court mage error
helloruhe Aug 19, 2024
686cd93
Merge branch 'dev' into magic-2024
robmart Aug 20, 2024
015f10c
gui improvements
helloruhe Aug 20, 2024
cd21f8b
Initial Commit
helloruhe Aug 20, 2024
f71fde3
Add single-title target display
helloruhe Aug 20, 2024
b9132c2
fix progress bar clip
helloruhe Aug 20, 2024
25e5095
Add multi-target title display
helloruhe Aug 21, 2024
e4b8a34
Add single-army display + Setup tabs
helloruhe Aug 21, 2024
27cc676
add magic resistance
helloruhe Aug 21, 2024
13997e1
add monitoring trigger
helloruhe Aug 21, 2024
c019473
set up stats tab
helloruhe Aug 21, 2024
2a4da1c
setup stats part 2
helloruhe Aug 21, 2024
7d8adc8
stats part 3
helloruhe Aug 21, 2024
8f8f9d1
don't remove spell_types list
helloruhe Aug 21, 2024
76236e0
MOVED EVERYTHING INTO SCRIPTED EFFECTS BECAUSE ON_ACTIONS DONT HOT UP…
helloruhe Aug 21, 2024
dcb690e
format doc
helloruhe Aug 21, 2024
4d3be41
loc improvements
helloruhe Aug 21, 2024
c472579
fix elemental_type error
helloruhe Aug 21, 2024
f4f63a4
Remove duplicate loc
helloruhe Aug 21, 2024
e1e9ec9
change mr colors
helloruhe Aug 21, 2024
de73d9d
fix index error
helloruhe Aug 21, 2024
ed76394
fix ctd
helloruhe Aug 21, 2024
9269021
ADD FRAMEWORK TO CANCEL CAST
helloruhe Aug 21, 2024
19d6ba5
dont refund mana
helloruhe Aug 21, 2024
a9a412d
add spellbook button
helloruhe Aug 21, 2024
d1c123a
add spellbook icon to character finder permanent
helloruhe Aug 21, 2024
4f602fb
Monitor system 1 - backdraft
helloruhe Aug 21, 2024
cd2902c
fix backdraft add
helloruhe Aug 21, 2024
4a2bf41
Save Title, not province
helloruhe Aug 21, 2024
ce5f5e2
Backdraft monitor GUI
helloruhe Aug 21, 2024
f794ae2
move ON-action into scripted effect for hotload
helloruhe Aug 21, 2024
3816749
change backdraft
helloruhe Aug 21, 2024
790ef64
fix hud lol
helloruhe Aug 21, 2024
5cffb21
make cd go backwards
helloruhe Aug 21, 2024
28980f9
fix cd
helloruhe Aug 21, 2024
ad160dd
FIX SPELL STAT
helloruhe Aug 21, 2024
6568eb5
cant cast on dead ppl or ppl out of diplo range
helloruhe Aug 21, 2024
2902f12
fix sus tooltip
helloruhe Aug 21, 2024
728ca92
burnout gui
helloruhe Aug 21, 2024
ff68995
fix backdraft again lmao
helloruhe Aug 21, 2024
529a407
change and fix mr values
helloruhe Aug 22, 2024
d8f2749
fix known_spells visi
helloruhe Aug 22, 2024
66148c8
Magical prowess now gives magic resistance - with some MR adjustments
helloruhe Aug 22, 2024
2a402bd
MR -> MP adjustments
helloruhe Aug 22, 2024
8228046
MAGICAL PROWESS IS NOW SCALING
helloruhe Aug 22, 2024
385d205
change mp modifier name to make more sense
helloruhe Aug 22, 2024
73ba511
loc changes
helloruhe Aug 22, 2024
d6d9dc1
Magical Prowess now increases diplo range
helloruhe Aug 22, 2024
31ec856
fix backdraft again for 10th time
helloruhe Aug 22, 2024
6cad791
lava lash spread message
helloruhe Aug 22, 2024
4c2509e
cd go backward again
helloruhe Aug 22, 2024
f8a0cf5
Fix magic_buff_maintenance_effect
helloruhe Aug 22, 2024
d1a9615
Fix error
robmart Aug 22, 2024
4a52792
Arcane Lifestyle (#1423)
robmart Aug 24, 2024
bdff63a
Merge branch 'dev' into magic-2024
helloruhe Aug 27, 2024
078ad34
remove dangerous magic
helloruhe Aug 27, 2024
b5012f6
Fix racial trait assignment error spam
helloruhe Aug 27, 2024
5e15a33
Merge branch 'dev' into magic-2024
robmart Sep 6, 2024
ae72ff0
move feast_events.txt to proper location
edmund-h Sep 13, 2024
c3da0e4
Add spell_adds_opinion_trigger
helloruhe Sep 16, 2024
e85fd35
increase mana cost again
helloruhe Sep 16, 2024
bb154b9
increase cast times and cooldowns
helloruhe Sep 16, 2024
1aee971
cant cast multiple rituals at once
helloruhe Sep 16, 2024
4933f6b
cant cancel ritual casts
helloruhe Sep 16, 2024
1c04ffb
change ritual cd
helloruhe Sep 16, 2024
cea1b5e
Light lifestyle (#1420)
helloruhe Sep 18, 2024
c3c8ea8
Merge branch 'dev' into magic-2024
helloruhe Sep 18, 2024
78c8ff3
Merge branch 'magic-2024' of https://github.com/Warcraft-GoA-Developm…
helloruhe Sep 18, 2024
0aaf68b
fix
helloruhe Sep 24, 2024
cddecaa
Fix merge errors
robmart Sep 25, 2024
9116ebf
Merge branch 'magic-2024' of https://github.com/Warcraft-GoA-Developm…
helloruhe Sep 28, 2024
a260a17
Merge branch 'dev' into magic-2024
helloruhe Sep 28, 2024
80f7bd0
Frostbite decals (#1463)
robmart Sep 28, 2024
2593f59
Merge branch 'dev' into magic-2024
helloruhe Oct 16, 2024
e112816
Update claim_throne_scheme.txt
helloruhe Oct 16, 2024
d7526db
fix some errors before i go to the bathroom
helloruhe Oct 16, 2024
abc7633
more random fixes
helloruhe Oct 16, 2024
ed71d6f
elemental favour modifier for culture
edmund-h Oct 25, 2024
3a23b7f
create script values for favour bonus/penalty
edmund-h Oct 25, 2024
f1950ec
fix open spellbook button
helloruhe Oct 25, 2024
3ef922e
fix
helloruhe Oct 25, 2024
a91b921
fix gui
helloruhe Oct 26, 2024
49108f4
more fix
helloruhe Oct 26, 2024
ec147d3
Merge branch 'dev' into magic-2024
helloruhe Oct 26, 2024
e706fe2
Merge branch 'dev' into magic-2024
helloruhe Nov 2, 2024
8cd1f99
implement basic dodge chance framework
helloruhe Nov 2, 2024
f31dd0b
Add elemental and order spells to dodge framework
helloruhe Nov 2, 2024
4f0cab6
Localize dodge chance
helloruhe Nov 2, 2024
7790799
change spell dodge chances for new system
helloruhe Nov 2, 2024
2330927
scale dodge chance based on magic school skill
helloruhe Nov 2, 2024
b3b3768
fix
helloruhe Nov 2, 2024
be34a73
add new death reasons
helloruhe Nov 2, 2024
2a113d7
Make Avenging wrath have a rank 2 that targets armies
helloruhe Nov 2, 2024
b446a6b
remove obsolete toasts
helloruhe Nov 2, 2024
5be98fb
Death Perks (#1483)
robmart Nov 16, 2024
0b0bab2
Merge branch 'dev' into magic-2024
helloruhe Dec 2, 2024
e26dc01
Elemental Water Spells (#1590)
robmart Dec 9, 2024
285315a
Polymorph trait icon
robmart Dec 15, 2024
4bc8e7d
Merge branch 'dev' into magic-2024
helloruhe Dec 16, 2024
3382980
ADD HOOK-INS FROM SURAMAR CONTENT
helloruhe Dec 16, 2024
a86fe59
fix several errors
helloruhe Dec 17, 2024
b0ed332
fix more random errrors
helloruhe Dec 17, 2024
4abc5e7
fix more errors
helloruhe Dec 17, 2024
b8753df
Fix order magic not working
helloruhe Dec 31, 2024
fcbd9dd
make spell hack a decision
helloruhe Dec 31, 2024
2c32e35
move satisfy_spell_triggers to all_requirements_for_casting_satisfied…
helloruhe Jan 1, 2025
d442291
move tab buttons up top
helloruhe Jan 1, 2025
64d98e9
Add targets tab
helloruhe Jan 1, 2025
9a1f3dc
new way to select spell class
helloruhe Jan 1, 2025
ada7f31
Move effects tab part 1
helloruhe Jan 1, 2025
2582536
Add caster portraits
helloruhe Jan 1, 2025
5345282
Choose single target sgui moved
helloruhe Jan 1, 2025
69c12ab
Single target army and title info moved
helloruhe Jan 1, 2025
0ad21e0
mutli-target info
helloruhe Jan 1, 2025
f8ce636
Remove old effects tab
helloruhe Jan 1, 2025
34ef0bb
Small QoL Fixes
helloruhe Jan 1, 2025
c3a3e9a
clear targets when selecting new spell only
helloruhe Jan 1, 2025
f6e75af
reccomended target selection
helloruhe Jan 1, 2025
0ae81b9
Find more targets using char finder
helloruhe Jan 1, 2025
662b598
Eligible only toggle
helloruhe Jan 1, 2025
badc54a
add yourself to rec target list
helloruhe Jan 1, 2025
1836449
more reccomended target fixes
helloruhe Jan 1, 2025
a658f26
Close province window when choosing new spell/class/target
helloruhe Jan 1, 2025
71a7a33
more eligible target improvements
helloruhe Jan 1, 2025
80a50c9
cap magical prowess reduction
helloruhe Jan 1, 2025
a68ce23
make class selection prettier
helloruhe Jan 1, 2025
688a288
Change spell selection GUI
helloruhe Jan 1, 2025
5005ec2
Change character selection box
helloruhe Jan 1, 2025
c99c382
fix eligible for armies
helloruhe Jan 1, 2025
6b00172
make "open spellbook" button actually open spellbook
helloruhe Jan 1, 2025
8e83968
make open spellbook button a bit bigger
helloruhe Jan 1, 2025
adc2937
Small QoL fixes
helloruhe Jan 1, 2025
7ecd9b6
Arcane portal ritual (#1458)
helloruhe Jan 2, 2025
500f6d5
Merge branch 'magic-2024' into feat/code/magic-gui-overhaul
helloruhe Jan 2, 2025
e2ac536
Fix create portal
helloruhe Jan 2, 2025
03fdcb9
Shadow Magic Spells (#1619)
helloruhe Jan 3, 2025
10832b0
Shadow Magic Perks (#1620)
helloruhe Jan 3, 2025
26035a0
Misc/Channeled Spells (#1621)
helloruhe Jan 3, 2025
40e8903
error sweep 1
helloruhe Jan 4, 2025
93458b3
fix some errors
helloruhe Jan 4, 2025
5a5cb43
get recipient effect
helloruhe Jan 4, 2025
e8ef242
Init spells on game start
helloruhe Jan 4, 2025
8af3c5d
CHANGE target_has_max_stacks_trigger
helloruhe Jan 4, 2025
b47dcfe
Merge branch 'dev' into magic-2024
Grekopithikos Jan 5, 2025
307a3fc
Update 60000_63000_lordaeronian.txt
Grekopithikos Jan 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 59 additions & 0 deletions common/character_interactions/wc_debug_interactions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,63 @@ break_union_interaction = {
}
}
auto_accept = yes
}
wc_change_elemental_goodwill_interaction = {
category = interaction_debug_main
use_diplomatic_range = no
ignores_pending_interaction_block = yes

common_interaction = yes

is_shown = {
debug_only = yes
}

send_name = "Change Elemental Goodwill"

send_option = { flag = flag_fire localization = "debug_fire" }
send_option = { flag = flag_water localization = "debug_water" }
send_option = { flag = flag_air localization = "debug_air" }
send_option = { flag = flag_earth localization = "debug_earth" }
send_option = { flag = flag_remove localization = "debug_lower_elemental" }

send_options_exclusive = no

on_accept = {
scope:recipient = {
if = {
limit = { always = scope:flag_fire }
if = {
limit = { always = scope:flag_remove }
wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_fire AMOUNT = -50 }
}
else = { wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_fire AMOUNT = 50 } }
}
if = {
limit = { always = scope:flag_water }
if = {
limit = { always = scope:flag_remove }
wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_water AMOUNT = -50 }
}
else = { wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_water AMOUNT = 50 } }
}
if = {
limit = { always = scope:flag_air }
if = {
limit = { always = scope:flag_remove }
wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_air AMOUNT = -50 }
}
else = { wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_air AMOUNT = 50 } }
}
if = {
limit = { always = scope:flag_earth }
if = {
limit = { always = scope:flag_remove }
wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_earth AMOUNT = -50 }
}
else = { wc_change_AMOUNT_ELEMENT_favour_effect = { ELEMENT = elemental_earth AMOUNT = 50 } }
}
}
}
auto_accept = yes
}
293 changes: 293 additions & 0 deletions common/court_positions/types/wc_court_positions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,296 @@ scrollsage_court_position = {
}
}

court_mage_court_position = {
max_available_positions = 1
category = court_position_category_special

opinion = {
value = regular_court_position_opinion
}

# How high the aptitude has to be to reach the 5 different modifier levels
aptitude_level_breakpoints = { 20 40 60 80 }

aptitude = {
value = 5
add = {
value = learning
multiply = 1.25
max = 50
desc = court_position_skill_learning
}
# Magic
add = {
every_character_trait = {
limit = { has_trait_flag = wc_magic_level_1_flag }
value = 1
multiply = 10.5
}
desc = court_position_magic_level_1
}
add = {
every_character_trait = {
limit = { has_trait_flag = wc_magic_level_2_flag }
value = 2
multiply = 10.5
}
desc = court_position_magic_level_2
}
add = {
every_character_trait = {
limit = { has_trait_flag = wc_magic_level_3_flag }
value = 3
multiply = 10.5
}
desc = court_position_magic_level_3
}
add = {
every_character_trait = {
limit = { has_trait_flag = wc_magic_level_4_flag }
value = 4
multiply = 10.5
}
desc = court_position_magic_level_4
}
add = {
every_character_trait = {
limit = { has_trait_flag = wc_magic_level_5_flag }
value = 5
multiply = 10.5
}
desc = court_position_magic_level_5
}
# Mystic
if = {
limit = { has_trait = lifestyle_mystic }
add = {
value = 5
if = {
limit = {
has_trait_xp = { trait = lifestyle_mystic value >= 50 }
}
add = 5
}
if = {
limit = {
has_trait_xp = { trait = lifestyle_mystic value >= 100 }
}
add = 5
}
desc = court_position_mystic_1_trait
}
}
}

is_shown = { }

revoke_cost = {
prestige = {
value = major_court_position_prestige_revoke_cost
# Set to 0 with Dynasty Perk Inner Circle
if = {
limit = {
exists = dynasty
dynasty = { has_dynasty_perk = fp2_coterie_legacy_1 }

employs_court_position = court_mage_court_position
any_court_position_holder = {
type = court_mage_court_position
exists = dynasty
house = prev.house
}
}
multiply = 0
}
if = {
limit = {
exists = this
is_ai = yes
}
multiply = 0
}
}
}

salary = {
gold = {
value = 0.75
# Set to 0 with Dynasty Perk Inner Circle
if = {
limit = {
scope:liege = {
exists = dynasty
dynasty = { has_dynasty_perk = fp2_coterie_legacy_1 }

employs_court_position = court_mage_court_position
any_court_position_holder = {
type = court_mage_court_position
exists = dynasty
house = prev.house
}
}
}
multiply = {
value = 0.0
desc = inner_circle_salary_mod
format = "BASE_VALUE_FORMAT_DECIMALS_MINUS_POSITIVE"
}
}
if = {
limit = {
scope:liege = {
employs_court_position = court_mage_court_position
any_court_position_holder = {
type = court_mage_court_position
scope:liege = {
has_hook_of_type = {
type = obligation_hook
target = prev
}
}
}
}
}
multiply = {
value = 0.5
desc = obligation_hook_salary
}
}
}
round = no
}

# Is this an available position for this court? (root is court owner)
valid_position = { }

is_shown_character = {
scope:employee = {
is_courtier_of = scope:liege
is_imprisoned = no
}
}

valid_character = {
}

is_powerful_agent = yes

scaling_employer_modifiers = {
terrible = {
monthly_elemental_earth_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_elemental_water_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_elemental_air_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_elemental_fire_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_shadow_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_light_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_death_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_life_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_order_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
monthly_disorder_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_terrible_value
#wc_base_mana_value = wc_base_mana_cp_terrible_value #in mana code
}
poor = {
monthly_elemental_earth_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_elemental_water_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_elemental_air_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_elemental_fire_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_shadow_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_light_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_death_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_life_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_order_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
monthly_disorder_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_poor_value
#wc_base_mana_value = wc_base_mana_cp_poor_value
}
average = {
monthly_elemental_earth_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_elemental_water_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_elemental_air_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_elemental_fire_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_shadow_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_light_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_death_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_life_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_order_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
monthly_disorder_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_average_value
#wc_base_mana_value = wc_base_mana_cp_average_value
}
good = {
monthly_elemental_earth_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_elemental_water_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_elemental_air_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_elemental_fire_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_shadow_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_light_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_death_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_life_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_order_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
monthly_disorder_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_good_value
#wc_base_mana_value = wc_base_mana_cp_good_value
}
excellent = {
monthly_elemental_earth_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_elemental_water_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_elemental_air_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_elemental_fire_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_shadow_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_light_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_death_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_life_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_order_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
monthly_disorder_magic_lifestyle_xp_gain_mult = wc_lifestyle_xp_gain_excellent_value
#wc_base_mana_value = wc_base_mana_cp_excellent_value
}
}

base_employer_modifier = {
}

on_court_position_received = {
court_mage_title_accepted_effect = yes
}
on_court_position_revoked = {
court_mage_title_revoked_effect = yes
}
on_court_position_invalidated = {
court_mage_title_invalidated_effect = yes
}
custom_employer_modifier_description = wc_magi_spells_tt
custom_employer_modifier_description = wc_magi_mana_apt_tt
# Scripted value to determine whether an AI will hire/fire a position or not. Hires over 0, fires under -50. Look in _court_positions.info for more extensive documentation!
candidate_score = {
value = 50
add = scope:base_value
add = court_position_candidate_score_base_value
add = court_position_candidate_aptitude_value
scope:liege = {
if = {
limit = {
OR = {
AND = {
exists = primary_heir
primary_heir = {
is_adult = no
is_courtier_of = scope:liege
}
}
any_child = {
count >= 3
is_adult = no
is_courtier_of = scope:liege
}
}
}
add = 20
}
if = {
limit = {
has_perk = pedagogy_perk
}
add = 50
}
}
add = court_position_debt_considerations_value
}
}
1 change: 1 addition & 0 deletions common/culture/innovations/wc_cultural_maa_innovations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ innovation_archmage = {
unlock_maa = archmage

flag = global_maa
flag = shunned_acane_openly_learnable
}


Expand Down
Loading