146 lines
7.4 KiB
Bash
146 lines
7.4 KiB
Bash
bigmodifier=2
|
|
smallmodifier=1.5
|
|
|
|
modify -loglevel INFO '<Talent identifier="exampleofhealth">!anyvalue="(?<maximumhealthmultiplier>!num)"!anyMultiplier" value="(?<maximumhealthmultiplierv>!num)"' \
|
|
"maximumhealthmultiplier=round(maximumhealthmultiplier*$bigmodifier, 2)
|
|
maximumhealthmultiplierv=round(maximumhealthmultiplier/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="healthinsurance">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<moneyreward>!num)"!anyvalue="(?<itemdiscount>!num)"!anyvalue="(?<itemdiscountv>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"!anyGiveMoney amount="(?emoneyrewardv>!num)"' \
|
|
"hpthreshold=round(hpthreshold*$bigmodifier, 2)
|
|
moneyreward=round(moneyreward*$bigmodifier*2, 2)
|
|
itemdiscount=round(itemdiscount*$bigmodifier, 2)
|
|
itemdiscountv=round(itemdiscount/100, 2)
|
|
hpthresholdv=round(hpthreshold/100, 2)
|
|
moneyrewardv=moneyreward" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="laresistance">!anyvalue="(?<opiateaddictionresistance>!num)"!anyvalue="(?<chemaddictionresistance>!num)"!anymultiplier="(?<opiateaddictionresistancev>!num)"!anymultiplier="(?<chemaddictionresistancev>!num)"' \
|
|
"opiateaddictionresistance=round(opiateaddictionresistance*$bigmodifier, 2)
|
|
chemaddictionresistance=round(chemaddictionresistance*$bigmodifier, 2)
|
|
opiateaddictionresistancev=round(opiateaddictionresistance/100, 2)
|
|
chemaddictionresistancev=round(chemaddictionresistance/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="nobodyimportantdies">!anyvalue="(?<potency>!num)"!anyvalue="(?<penalty>!num)"!anymultiplyvalue="(?<penaltyv>!num)"!anymultiplyvalue="(?<potencyv>!num)"' \
|
|
"potency=round(potency*$bigmodifier*1.5, 2)
|
|
penalty=round(penalty/$bigmodifier, 2)
|
|
penaltyv=round(1-penalty/100, 2)
|
|
potencyv=round(1+potency/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="selfcare">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"' \
|
|
"potency=round(potency*$bigmodifier*1.5, 2)
|
|
potencyv=round(potency/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="stayinalive">!anyvalue="(?<potency>!num)"' \
|
|
"potency=round(potency*$bigmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
modify -loglevel INFO '<Affliction!anyidentifier="stayinalive"!anyvalue="(?<amount>!num)"' \
|
|
"amount=round(amount*$bigmodifier, 2)" \
|
|
'**/AfflictionsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="blooddonor">!anyamount="(?<amount>!num)"' \
|
|
"amount=round(amount*$bigmodifier, 0)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
# Don't die on me ?
|
|
# Fireman's carry ?
|
|
|
|
modify -loglevel INFO '<Talent identifier="geneharvester">!anyvalue="(?<probability>!num)"!anyrandomchance="(?<randomchance>!num)"' \
|
|
"probability=round(probability*$bigmodifier*1.5, 2)
|
|
randomchance=round(probability/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
# We don't know how to change these yet
|
|
modify -loglevel INFO '<Talent identifier="bloodybusiness">!anyvalue="(?<psychosisreduction>!num)"!anyamount="(?<psychosisreductionv>!num)"!anySpawnItem!any(?<minamount>\s)/>' \
|
|
"psychosisreduction=psychosisreduction
|
|
psychosisreductionv=psychosisreductionv
|
|
minamount=string.format(' MinAmount=\"%d\" ', round(1*$bigmodifier*2, 0))" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="genesplicer">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"' \
|
|
"potency=round(potency*$bigmodifier, 2)
|
|
potencyv=potency" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="blackmarketgenes">!anyvalue="(?<itemprice>!num)"!anyvalue="(?<itempricev>!num)"!anyvalue="(?<itempricev2>!num)"' \
|
|
"itemprice=round(itemprice*$bigmodifier, 2)
|
|
itempricev=round(itemprice/100, 2)
|
|
itempricev2=round(itemprice/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="genetampering">!anyvalue="(?<hpamount>!num)"!anyvalue="(?<movementspeed>!num)"' \
|
|
"hpamount=round(hpamount*$bigmodifier, 2)
|
|
movementspeed=round(movementspeed*$bigmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
modify -loglevel INFO '<Affliction!anyidentifier="genetampering"!anyvalue="(?<movementspeedv>!num)"!anyvalue="(?<hpamountv>!num)"' \
|
|
"movementspeedv=round(movementspeedv*$bigmodifier, 2)
|
|
hpamountv=round(hpamountv*$bigmodifier, 2)" \
|
|
'**/AfflictionsDoctor.xml'
|
|
|
|
# Genetic genius ?
|
|
|
|
modify -loglevel INFO '<Talent identifier="medicalexpertise">!anyvalue!anyvalue="(?<medicalskillbonus>!num)"!anyvalue="(?<medicalskillbonusv>!num)"!anyamount="(?<bleedingamount>!num)"!anyamount="(?<burnamount>!num)"' \
|
|
"medicalskillbonus=round(medicalskillbonus*$bigmodifier, 2)
|
|
medicalskillbonusv=round(medicalskillbonusv*$bigmodifier, 2)
|
|
bleedingamount=round(bleedingamount*$smallmodifier, 2)
|
|
burnamount=round(burnamount*$smallmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="emergencyresponse">!anyvalue="(?<movementspeed>!num)"' \
|
|
"movementspeed=round(movementspeed*$smallmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
modify -loglevel INFO '<Affliction!anyidentifier="emergencyresponse_selfbuff"!anyvalue="(?<movementspeedv>!num)"' \
|
|
"movementspeedv=round(movementspeedv*$smallmodifier, 2)" \
|
|
'**/AfflictionsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="medicalassistance">!anyvalue="(?<medicalskillbonus>!num)"' \
|
|
"medicalskillbonus=round(medicalskillbonus*$bigmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
modify -loglevel INFO '<Affliction!anyidentifier="medicalassistance"!anyvalue="(?<medicalskillbonusv>!num)"' \
|
|
"medicalskillbonusv=round(medicalskillbonusv*$bigmodifier, 2)" \
|
|
'**/AfflictionsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="drsubmarine">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"' \
|
|
"potency=round(potency*$bigmodifier, 2)
|
|
potencyv=round(potency/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="vitaminsupplements">!anyvalue="(?<hpboost>!num)"' \
|
|
"hpboost=round(hpboost*$bigmodifier, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
modify -loglevel INFO '<Affliction!anyidentifier="bedsidemanner"!anyvalue="(?<hpboostv>!num)"' \
|
|
"hpboostv=round(hpboostv*$bigmodifier, 2)" \
|
|
'**/AfflictionsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="plaguedoctor">!anyvalue="(?<resistance>!num)"!anymultiplier="(?<resistancev>!num)"' \
|
|
"resistance=round(resistance*$bigmodifier, 2)
|
|
resistancev=round(resistance/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="labcontacts">!anyvalue="(?<discount>!num)"!anyvalue="(?<fabricationspeed>!num)"!anyvalue="(?<fabricationspeedv>!num)"!anyvalue="(?<discountv>!num)"' \
|
|
"discount=round(discount*$bigmodifier, 2)
|
|
fabricationspeed=round(fabricationspeed*$bigmodifier, 2)
|
|
fabricationspeedv=round(fabricationspeed/100, 2)
|
|
discountv=round(discount/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="supersoldiers">!anyvalue="(?<buffduration>!num)"!anyvalue="(?<buffdurationv>!num)"' \
|
|
"buffduration=round(buffduration*$bigmodifier, 2)
|
|
buffdurationv=round(buffduration/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="whatastench">!anyvalue="(?<damage>!num)"!anyaddedmultiplier="(?<damagev>!num)"' \
|
|
"damage=round(damage*$bigmodifier, 2)
|
|
damagev=round(damage/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|
|
|
|
modify -loglevel INFO '<Talent identifier="macrodosing">!anyvalue="(?<buffduration>!num)"!anyvalue="(?<poisonpower>!num)"!anyApplyingMultiplier!anyvalue="(?<buffdurationv>!num)"!anyvalue="(?<poisonpowerv>!num)"' \
|
|
"buffduration=round(buffduration*$bigmodifier, 2)
|
|
poisonpower=round(poisonpower*$bigmodifier, 2)
|
|
buffdurationv=round(buffduration/100, 2)
|
|
poisonpowerv=round(poisonpower/100, 2)" \
|
|
'**/TalentsDoctor.xml'
|