modify 'reward="!num' '*4' **\/Missions.xml

# modify '<Talent identifier="miner">!any<Replace tag="\[probability\]" value="!num" color="gui.green"/>!any<Replace tag="\[amount\]" value="!num" color="gui.green"/>!anyvalue="!num"/>!anyrandomchance="!num"/>' 'v3=v3*4 v4=v4*4 v1=v3*100 v2=v4*100' **/TalentsMechanic.xml

modify '<Talent identifier="bountyhunter">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusmul>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"' \
'xpbonus=xpbonus*4
moneybonus=moneybonus*4
xpbonusmul=1+xpbonus/100
moneybonusmul=1+moneybonus/100'
\
**/TalentsCaptain.xml

modify '<Talent identifier="inspirationalleader">!anyvalue="(?<xpbonus>!num)"' \
'xpbonus=xpbonus*4' \
**/TalentsCaptain.xml
modify '<Affliction!anyidentifier="inspirationalleader"!anystattype="SkillGainSpeed" value="(?<xpbonus>!num)"\/>' \
'xpbonus=xpbonus*4' \
**/AfflictionsCaptain.xml

modify '<Talent identifier="logisticsexpert">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"\/>!anymultiplyvalue="(?<xpbonusmul>!num)"\/>' \
'xpbonus=xpbonus*4
moneybonus=moneybonus*4
xpbonusmul=1+xpbonus/100
moneybonusmul=1+moneybonus/100'
\
**/TalentsCaptain.xml

modify '<Talent identifier="prodigy">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusmul>!num)"' \
'xpbonus=xpbonus*4
xpbonusmul=xpbonus/100'
\
**/TalentsCaptain.xml

modify '<Talent identifier="travelingtradesman">!anyvalue="(?<itemsellvalue>!num)"!anyvalue="(?<extraitems>!num)"!anystattype="ExtraSpecialSalesCount" value="(?<extraitemsmul>!num)"!anystattype="StoreSellMultiplier" value="(?<itemssellvaluemul>!num)"' \
'itemsellvalue=itemsellvalue*4
extraitems=extraitems*4
extraitemsmul=extraitems
itemssellvaluemul=itemsellvalue/100'
\
**/TalentsCaptain.xml

modify '<Talent identifier="veteran">!anyvalue="(?<helmbonus>!num)"!anyvalue="(?<otherbonus>!num)"!anyvalue="(?<repairspeed>!num)"!anyHelmSkillBonus" value="(?<helmbonusv>!num)"!anyvalue="(?<electricalbonusv>!num)"!anyvalue="(?<mechanicalbonusv>!num)"!anyvalue="(?<medicalbonusv>!num)"!anyvalue="(?<weaponsbonusv>!num)"!anyvalue="(?<repairspeedv>!num)"' \
'helmbonus=helmbonus*4
otherbonus=helmbonus/4
repairspeed=repairspeed*4
helmbonusv=helmbonusv*4
electricalbonusv=helmbonusv/4
mechanicalbonusv=electricalbonusv
medicalbonusv=electricalbonusv
weaponsbonusv=electricalbonusv
repairspeedv=repairspeedv*4' \
**/TalentsCaptain.xml

modify '<Talent identifier="camaraderie">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<damageres>!num)"!anyvalue="(?<xpbonusv>!num)"' \
'xpbonus=xpbonus*4
damageres=damageres*4
xpbonusv=1+xpbonus/100' \
**/TalentsCaptain.xml
modify '<Affliction!anyidentifier="camaraderie"!anyminresistance="(?<damageresmin>!num)"!anymaxresistance="(?<damageresmax>!num)"' \
'damageresmin=damageresmin*4
damageresmax=damageresmax*4' \
**/AfflictionsCaptain.xml

modify '<Talent identifier="downwiththeship">!anyswimming!anyvalue="(?<swimmingboost>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<duration>!num)"' \
'swimmingboost=swimmingboost*4
repairspeed=repairspeed*4
duration=duration*2' \
**/TalentsCaptain.xml
modify '<Affliction!anyidentifier="downwiththeship"!anyduration="(?<duration>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<swimmingboost>!num)"' \
'duration=duration*2
repairspeed=repairspeed*4
swimmingboost=swimmingboost*4' \
**/AfflictionsCaptain.xml

modify '<Affliction!anyidentifier="evasivemaneuvers"!anyduration="(?<duration>!num)"' \
'duration=duration*2' \
**/AfflictionsCaptain.xml

modify '<Talent identifier="sailorwithnoname">!anyvalue="(?<medicalbonus>!num)"!anyMedicalSkillBonus" value="(?<medicalbonusv>!num)"' \
'medicalbonus=medicalbonus*4
medicalbonusv=medicalbonus' \
**/TalentsCaptain.xml

modify '<Talent identifier="steadytune">!anybuffduration!anyvalue="(?<buffduration>!num)"!anyrange="(?<buffrange>!num)"!anyimmunity!anyamount="(?<buffdurationv>!num)"' \
'buffduration=buffduration*2
buffdurationv=buffduration
buffrange=buffrange*4' \
**/TalentsCaptain.xml

modify '<Talent identifier="quickdraw">!anyvalue="(?<secondsafk>!num)"!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<duelwieldpenaltyreduction>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplier>!num)"!anyDualWieldingPenaltyReduction" value="(?<duelwieldpenaltyreductionv>!num)"' \
'damagebonus=damagebonus*4
duelwieldpenaltyreduction=duelwieldpenaltyreduction*2
addeddamagemultiplier=damagebonus/100
duelwieldpenaltyreductionv=duelwieldpenaltyreduction/100' \
**/TalentsCaptain.xml

modify '<Talent identifier="deputy">!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"' \
'skillbonus1=skillbonus1*4
skillbonus2=skillbonus2*4' \
**/TalentsCaptain.xml
modify '<Affliction!anyidentifier="deputy"!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"!anyvalue="(?<xpbonus1>!num)"!anyvalue="(?<xpbonus2>!num)"' \
'skillbonus1=skillbonus1*4
skillbonus2=skillbonus2*4
xpbonus1=xpbonus1*4
xpbonus2=xpbonus2*4' \
**/AfflictionsCaptain.xml
