Make the rest into ymls
This commit is contained in:
216
cookassistant.sh
216
cookassistant.sh
@@ -1,216 +0,0 @@
|
||||
bigmodifier=2
|
||||
smallmodifier=1.5
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="crewlayabout">!anyvalue="(?<repairspeedpenalty>!num)"!anyvalue="(?<skillpenalty>!num)"!anyvalue="(?<repairspeedbonus>!num)"!anyvalue="(?<skillbonus>!num)"!anydistance="(?<distance>!num)"!anySkillBonus!anyvalue="(?<skillpenaltyv>!num)"!anyvalue="(?<skillpenaltyv1>!num)"!anyvalue="(?<skillpenaltyv2>!num)"!anyvalue="(?<skillpenaltyv3>!num)"!anyvalue="(?<skillpenaltyv4>!num)"!anyvalue="(?<repairspeedpenaltyv>!num)' \
|
||||
"repairspeedpenalty=round(repairspeedpenalty/$bigmodifier, 2)
|
||||
skillpenalty=round(skillpenalty/$bigmodifier, 0)
|
||||
repairspeedbonus=round(repairspeedbonus*$bigmodifier, 2)
|
||||
skillbonus=round(skillbonus*$bigmodifier, 0)
|
||||
distance=round(distance*$bigmodifier, 0)
|
||||
skillpenaltyv=skillpenalty
|
||||
skillpenaltyv1=skillpenalty
|
||||
skillpenaltyv2=skillpenalty
|
||||
skillpenaltyv3=skillpenalty
|
||||
skillpenaltyv4=skillpenalty
|
||||
repairspeedpenaltyv=round(-repairspeedpenalty/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="pickinguptheslack"!anyvalue="(?<skillbonusv1>!num)"!anyvalue="(?<skillbonusv2>!num)"!anyvalue="(?<skillbonusv3>!num)"!anyvalue="(?<skillbonusv4>!num)"!anyvalue="(?<skillbonusv5>!num)"!anyvalue="(?<repairspeed>!num)' \
|
||||
"skillbonusv1=round(skillbonusv1*$bigmodifier, 0)
|
||||
skillbonusv2=round(skillbonusv2*$bigmodifier, 0)
|
||||
skillbonusv3=round(skillbonusv3*$bigmodifier, 0)
|
||||
skillbonusv4=round(skillbonusv4*$bigmodifier, 0)
|
||||
skillbonusv5=round(skillbonusv5*$bigmodifier, 0)
|
||||
repairspeed=round(repairspeed*$bigmodifier, 2)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="mailman">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"!anyamount="(?<moneybonusv>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
moneybonus=round(moneybonus*$bigmodifier, 0)
|
||||
xpbonusv=round(1+xpbonus/100, 2)
|
||||
moneybonusv=moneybonus" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="mule">!anyvalue="(?<carryweight>!num)"!anyvalue="(?<carryweightv>!num)"' \
|
||||
"carryweight=round(carryweight*$bigmodifier, 0)
|
||||
carryweightv=round(carryweightv*$bigmodifier, 0)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="playingcatchup">!anyvalue="(?<levelthreshold>!num)"!anyvalue="(?<experiencevalue>!num)"!anylevelsbehind="(?<levelthresholdv>!num)"!anymultiplyvalue="(?<experiencevaluev>!num)"' \
|
||||
"levelthreshold=round(levelthreshold*$bigmodifier, 0)
|
||||
experiencevalue=round(experiencevalue*$bigmodifier, 2)
|
||||
levelthresholdv=levelthreshold
|
||||
experiencevaluev=round(1+experiencevalue/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="skedaddle">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<movementspeedshort>!num)"!anyvalue="(?<duration>!num)"!anyvalue="(?<movementspeedv>!num)"' \
|
||||
"movementspeed=round(movementspeed*$smallmodifier, 2)
|
||||
movementspeedshort=round(movementspeedshort*$smallmodifier, 2)
|
||||
duration=round(duration*$smallmodifier, 0)
|
||||
movementspeedv=round(movementspeed/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="skedaddle"!anyduration="(?<durationv>!num)"!anyminspeedmultiplier="(?<minspeedmultiplierv>!num)"!anymaxspeedmultiplier="(?<maxspeedmultiplierv>!num)"' \
|
||||
"durationv=round(durationv*$smallmodifier, 0)
|
||||
local movementspeed=round((minspeedmultiplierv-1)*$smallmodifier, 2)
|
||||
minspeedmultiplierv=1+movementspeed
|
||||
maxspeedmultiplierv=1+movementspeed" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="starterquest">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<skillbonus>!num)"!anyxpbonus!anyvalue="(?<xpbonus2>!num)"!anyvalue="(?<skillbonus2>!num)"!anyxpbonus!anyvalue="(?<xpbonus3>!num)"!anyvalue="(?<skillbonus3>!num)"!anyGiveExperience!anyamount="(?<xpbonusv>!num)"!anyvalue="(?<skillbonuxv>!num)"!anyGiveExperience!anyamount="(?<xpbonusv2>!num)"!anyvalue="(?<skillbonuxv2>!num)"!anyGiveExperience!anyamount="(?<xpbonusv3>!num)"!anyvalue="(?<skillbonuxv3>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 0)
|
||||
skillbonus=round(skillbonus*$bigmodifier, 0)
|
||||
xpbonus2=round(xpbonus2*$bigmodifier, 0)
|
||||
skillbonus2=round(skillbonus2*$bigmodifier, 0)
|
||||
xpbonus3=round(xpbonus3*$bigmodifier, 0)
|
||||
skillbonus3=round(skillbonus3*$bigmodifier, 0)
|
||||
xpbonusv=xpbonus
|
||||
skillbonuxv=skillbonus
|
||||
xpbonusv2=xpbonus2
|
||||
skillbonuxv2=skillbonus2
|
||||
xpbonusv3=xpbonus3
|
||||
skillbonuxv3=skillbonus3" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="indenturedservitude">!anyvalue="(?<discount>!num)"!anyvalue="(?<otherbonusxp>!num)"!anyvalue="(?<otherbonusxpmax>!num)"!anyvalue="(?<discountv>!num)"!anymultiplyvalue="(?<otherbonusxpv>!num)"' \
|
||||
"discount=round(discount*$bigmodifier, 2)
|
||||
otherbonusxp=round(otherbonusxp*$bigmodifier, 2)
|
||||
otherbonusxpmax=round(otherbonusxp*5, 2)
|
||||
discountv=-round(discount/100, 2)
|
||||
otherbonusxpv=round(1+otherbonusxp/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="inspiringtunes">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<duration>!num)"' \
|
||||
"skillbonus=round(skillbonus*$bigmodifier, 0)
|
||||
duration=round(duration*$smallmodifier, 0)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="inspiringtunes"!anyduration="(?<durationv>!num)"!anyvalue="(?<skillbonusv1>!num)"!anyvalue="(?<skillbonusv2>!num)"!anyvalue="(?<skillbonusv3>!num)"!anyvalue="(?<skillbonusv4>!num)"!anyvalue="(?<skillbonusv5>!num)"' \
|
||||
"durationv=round(durationv*$smallmodifier, 0)
|
||||
skillbonusv1=round(skillbonusv1*$bigmodifier, 0)
|
||||
skillbonusv2=round(skillbonusv2*$bigmodifier, 0)
|
||||
skillbonusv3=round(skillbonusv3*$bigmodifier, 0)
|
||||
skillbonusv4=round(skillbonusv4*$bigmodifier, 0)
|
||||
skillbonusv5=round(skillbonusv5*$bigmodifier, 0)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="jengamaster">!anyvalue="(?<maxstack>!num)"!anyvalue="(?<maxstackv>!num)"' \
|
||||
"maxstack=round(maxstack*$bigmodifier, 0)
|
||||
maxstackv=maxstack" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="peerlearning">!anyvalue="(?<xpbonus>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"!anymultiplyvalue="(?<xpbonusv2>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
xpbonusv=round(1+xpbonus/100, 2)
|
||||
xpbonusv2=round(1+xpbonus/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="revengesquad">!anyvalue="(?<resistancebonus>!num)"!anyvalue="(?<duration>!num)"' \
|
||||
"resistancebonus=round(resistancebonus*$smallmodifier, 2)
|
||||
duration=round(duration*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="revengesquad"!anyduration="(?<durationv>!num)"!anyminresistance="(?<minresistancev>!num)"!anymaxresistance="(?<maxresistancev>!num)"' \
|
||||
"durationv=round(durationv*$smallmodifier, 0)
|
||||
minresistancev=round(minresistancev*$smallmodifier, 2)
|
||||
maxresistancev=round(maxresistancev*$smallmodifier, 2)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="thewaitinglist">!anyvalue="(?<dying>!num)"!anymultiplier="(?<dyingv1>!num)"!anymultiplier="(?<dyingv2>!num)"!anymultiplier="(?<dyingv3>!num)"' \
|
||||
"dying=round(dying*1.2, 2)
|
||||
dyingv1=round(1-(dying/100), 2)
|
||||
dyingv2=round(1-(dying/100), 2)
|
||||
dyingv3=round(1-(dying/100), 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="nonthreatening">!anyvalue="(?<afktime>!num)"!anyeffectdelay="(?<afktimev>!num)"' \
|
||||
"afktime=round(afktime/$bigmodifier, 2)
|
||||
afktimev=round(afktime, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="tastytarget">!anyvalue="(?<targetingchance>!num)"' \
|
||||
"targetingchance=round(targetingchance*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="tastytarget"!anyminresistance="(?<minresistancev>!num)"!anymaxresistance="(?<maxresistancev>!num)"' \
|
||||
"minresistancev=round(minresistancev*$bigmodifier, 2)
|
||||
maxresistancev=round(maxresistancev*$bigmodifier, 2)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="insurancepolicy">!anyvalue="(?<bonus>!num)"!anymoneypermission="(?<bonusv>!num)"' \
|
||||
"bonus=round(bonus*$bigmodifier, 2)
|
||||
bonusv=round(bonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="thefriendswemade">!anyvalue="(?<maxcount>!num)"' \
|
||||
"maxcount=round(maxcount*$bigmodifier, 0)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Item!anyidentifier="petraptoregg"!anytotalmaxcount="(?<maxcountv>!num)"' \
|
||||
"maxcountv=round(maxcountv*$bigmodifier, 0)" \
|
||||
'**/assistant_talent_items.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="journeyman">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<bonusxp>!num)"!anySkillBonus!anyvalue="(?<skillbonusv>!num)"!anyvalue="(?<bonusxpv>!num)"!anySkillBonus!anyvalue="(?<skillbonusv2>!num)"!anyvalue="(?<bonusxpv2>!num)"!anySkillBonus!anyvalue="(?<skillbonusv3>!num)"!anyvalue="(?<bonusxpv3>!num)"!anySkillBonus!anyvalue="(?<skillbonusv4>!num)"!anyvalue="(?<bonusxpv4>!num)"!anySkillBonus!anyvalue="(?<skillbonusv5>!num)"!anyvalue="(?<bonusxpv5>!num)"' \
|
||||
"skillbonus=round(skillbonus*$bigmodifier, 0)
|
||||
bonusxp=round(bonusxp*$bigmodifier, 2)
|
||||
skillbonusv=skillbonus
|
||||
bonusxpv=round(bonusxp/100, 2)
|
||||
skillbonusv2=skillbonus
|
||||
bonusxpv2=round(bonusxp/100, 2)
|
||||
skillbonusv3=skillbonus
|
||||
bonusxpv3=round(bonusxp/100, 2)
|
||||
skillbonusv4=skillbonus
|
||||
bonusxpv4=round(bonusxp/100, 2)
|
||||
skillbonusv5=skillbonus
|
||||
bonusxpv5=round(bonusxp/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="logisticssystems">!anyvalue="(?<maxcount>!num)"!anyvalue="(?<maxcountv>!num)"!anyvalue="(?<maxcountv2>!num)"' \
|
||||
"maxcount=round(maxcount*$bigmodifier, 0)
|
||||
maxcountv=maxcount
|
||||
maxcountv2=maxcount" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="disloyalscum">!anyvalue="(?<bonusxp>!num)"' \
|
||||
"bonusxp=round(bonusxp*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="disloyalscum"!anyvalue="(?<bonusxpv>!num)"!anyvalue="(?<bonusxpv2>!num)"!anyvalue="(?<bonusxpv3>!num)"!anyvalue="(?<bonusxpv4>!num)"' \
|
||||
"bonusxpv=round(bonusxpv*$bigmodifier, 2)
|
||||
bonusxpv2=bonusxpv
|
||||
bonusxpv3=bonusxpv
|
||||
bonusxpv4=bonusxpv" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="loyalassistant">!anyvalue="(?<qualitybonus>!num)"' \
|
||||
"qualitybonus=round(qualitybonus*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="loyalassistant"!anyvalue="(?<qualitybonusv>!num)"' \
|
||||
"qualitybonusv=round(qualitybonusv*$bigmodifier, 2)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="enrollintoclowncollege">!anyvalue!anyvalue="(?<movementspeed>!num)"!anyvalue!anyvalue="(?<physicalresistance>!num)"' \
|
||||
"movementspeed=round(movementspeed*$bigmodifier, 2)
|
||||
physicalresistance=round(physicalresistance*$bigmodifier, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="clownpower"!anyminresistance="(?<minresistancev>!num)"!anymaxresistance="(?<maxresistancev>!num)"!anyvalue="(?<movementspeedv>!num)"' \
|
||||
"minresistancev=round(minresistancev*$bigmodifier, 2)
|
||||
maxresistancev=round(maxresistancev*$bigmodifier, 2)
|
||||
movementspeedv=round(movementspeedv*$bigmodifier, 2)" \
|
||||
'**/AfflictionsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="waterprankster">!anyvalue="(?<swimmingspeed>!num)"!anySwimmingSpeed" value="(?<swimmingspeedv>!num)"' \
|
||||
"swimmingspeed=round(swimmingspeed*$bigmodifier, 2)
|
||||
swimmingspeedv=round(swimmingspeed/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="chonkyhonks">!anyvalue="(?<chance>!num)"!anyvalue="(?<duration>!num)"!anyrandomchance="(?<chancev>!num)"!anymaxdistance="(?<maxdistance>!num)"!anyvalue="(?<durationv>!num)"' \
|
||||
"chance=round(chance*$smallmodifier, 2)
|
||||
duration=round(duration*$bigmodifier, 2)
|
||||
chancev=round(chance/100, 2)
|
||||
maxdistance=round(maxdistance*$bigmodifier, 2)
|
||||
durationv=round(duration, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="psychoclown">!anyvalue="(?<maxpower>!num)"!anymaxvalue="(?<maxpowerv>!num)"' \
|
||||
"maxpower=round(maxpower*$bigmodifier, 2)
|
||||
maxpowerv=round(maxpower/100, 2)" \
|
||||
'**/TalentsAssistant.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="truepotential">!anyvalue!anyvalue="(?<duration>!num)"!anystrength="(?<durationv>!num)"' \
|
||||
"duration=round(duration*$bigmodifier, 0)
|
||||
durationv=duration" \
|
||||
'**/TalentsAssistant.xml'
|
229
cookcaptain.sh
229
cookcaptain.sh
@@ -1,229 +0,0 @@
|
||||
bigmodifier=2
|
||||
smallmodifier=1.5
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="bountyhunter">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusmul>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)
|
||||
moneybonus=round(moneybonus*$bigmodifier,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)
|
||||
moneybonusmul=round(1+moneybonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="inspirationalleader">!anyvalue="(?<xpbonus>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="inspirationalleader"!anystattype="SkillGainSpeed" value="(?<xpbonus>!num)"\/>' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="logisticsexpert">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"\/>!anymultiplyvalue="(?<xpbonusmul>!num)"\/>' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)
|
||||
moneybonus=round(moneybonus*$bigmodifier,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)
|
||||
moneybonusmul=round(1+moneybonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="prodigy">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusmul>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="travelingtradesman">!anyvalue="(?<itemsellvalue>!num)"!anyvalue="(?<extraitems>!num)"!anystattype="ExtraSpecialSalesCount" value="(?<extraitemsmul>!num)"!anystattype="StoreSellMultiplier" value="(?<itemssellvaluemul>!num)"' \
|
||||
"itemsellvalue=round(itemsellvalue*$bigmodifier,2)
|
||||
extraitems=round(extraitems*$bigmodifier,2)
|
||||
extraitemsmul=extraitems
|
||||
itemssellvaluemul=round(itemsellvalue/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<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=round(helmbonus*$bigmodifier,2)
|
||||
otherbonus=round(helmbonus/$bigmodifier,2)
|
||||
repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
helmbonusv=round(helmbonusv*$bigmodifier,2)
|
||||
electricalbonusv=round(helmbonusv/$bigmodifier,2)
|
||||
mechanicalbonusv=electricalbonusv
|
||||
medicalbonusv=electricalbonusv
|
||||
weaponsbonusv=electricalbonusv
|
||||
repairspeedv=round(repairspeedv*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="camaraderie">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<damageres>!num)"!anyvalue="(?<xpbonusv>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier,2)
|
||||
damageres=round(damageres*$bigmodifier,2)
|
||||
xpbonusv=round(1+xpbonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="camaraderie"!anyminresistance="(?<damageresmin>!num)"!anymaxresistance="(?<damageresmax>!num)"' \
|
||||
"damageresmin=round(damageresmin*$bigmodifier,2)
|
||||
damageresmax=round(damageresmax*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="downwiththeship">!anyswimming!anyvalue="(?<swimmingboost>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<duration>!num)"' \
|
||||
"swimmingboost=round(swimmingboost*$bigmodifier,2)
|
||||
repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
duration=round(duration*$smallmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="downwiththeship"!anyduration="(?<duration>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<swimmingboost>!num)"' \
|
||||
"duration=round(duration*$bigmodifier,2)
|
||||
repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
swimmingboost=round(swimmingboost*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="evasivemaneuvers"!anyduration="(?<duration>!num)"' \
|
||||
"duration=round(duration*$smallmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="sailorwithnoname">!anyvalue="(?<medicalbonus>!num)"!anyMedicalSkillBonus" value="(?<medicalbonusv>!num)"' \
|
||||
"medicalbonus=round(medicalbonus*$bigmodifier,2)
|
||||
medicalbonusv=medicalbonus" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="steadytune">!anybuffduration!anyvalue="(?<buffduration>!num)"!anyrange="(?<buffrange>!num)"!anyimmunity!anyamount="(?<buffdurationv>!num)"' \
|
||||
"buffduration=round(buffduration*$smallmodifier,2)
|
||||
buffdurationv=buffduration
|
||||
buffrange=round(buffrange*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="quickdraw">!anyvalue="(?<secondsafk>!num)"!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<duelwieldpenaltyreduction>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplier>!num)"!anyDualWieldingPenaltyReduction" value="(?<duelwieldpenaltyreductionv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier,2)
|
||||
duelwieldpenaltyreduction=round(duelwieldpenaltyreduction*$smallmodifier,2)
|
||||
addeddamagemultiplier=round(damagebonus/100,2)
|
||||
duelwieldpenaltyreductionv=round(duelwieldpenaltyreduction/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="deputy">!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"' \
|
||||
"skillbonus1=round(skillbonus1*$bigmodifier,2)
|
||||
skillbonus2=round(skillbonus2*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="deputy"!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"!anyvalue="(?<xpbonus1>!num)"!anyvalue="(?<xpbonus2>!num)"' \
|
||||
"skillbonus1=round(skillbonus1*$bigmodifier,2)
|
||||
skillbonus2=round(skillbonus2*$bigmodifier,2)
|
||||
xpbonus1=round(xpbonus1*$bigmodifier,2)
|
||||
xpbonus2=round(xpbonus2*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="lonewolf">!anyamount!anyvalue="(?<damageres>!num)"!anyamount!anyvalue="(?<stunres>!num)"!anyamount!anyvalue="(?<meleedamage>!num)"!anydistance="(?<distance>!num)"' \
|
||||
"damageres=round(damageres*$bigmodifier,2)
|
||||
stunres=round(stunres*$bigmodifier,2)
|
||||
meleedamage=round(meleedamage*$bigmodifier,2)
|
||||
distance=round(distance/$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="lonewolf"!anyminresistance="(?<minresistance>!num)"!anymaxresistance="(?<maxresistance>!num)"!anyStatValue stattype="MeleeAttackMultiplier" value="(?<meleedamage>!num)"' \
|
||||
"minresistance=round(minresistance*$bigmodifier,2)
|
||||
maxresistance=round(maxresistance*$bigmodifier,2)
|
||||
meleedamage=round(meleedamage*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="drunkensailor">!anyvalue="(?<stunresistance>!num)"!anymultiplier="(?<stunresistancev>!num)"' \
|
||||
"stunresistance=round(stunresistance*1.25,2)
|
||||
stunresistancev=round(1-(stunresistance/100),2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="bigguns">!anyvalue="(?<addeddamagemultiplier>!num)"!anyvalue="(?<dualwieldingpenaltyreduction>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplierv>!num)"!anyDualWieldingPenaltyReduction" value="(?<dualwieldingpenaltyreductionv>!num)"' \
|
||||
"addeddamagemultiplier=round(addeddamagemultiplier*$bigmodifier,2)
|
||||
dualwieldingpenaltyreduction=round(dualwieldingpenaltyreduction*1.2,2)
|
||||
addeddamagemultiplierv=round(addeddamagemultiplier/100,2)
|
||||
dualwieldingpenaltyreductionv=round(dualwieldingpenaltyreduction/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="leadingbyexample">!anyamount!anyvalue="(?<repairspeed>!num)"!anyamount!anyvalue="(?<repairtoolmultiplier>!num)"!anyamount!anyvalue="(?<movementspeed>!num)"' \
|
||||
"repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*$bigmodifier,2)
|
||||
movementspeed=round(movementspeed*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="helmsman">!anyvalue="(?<helmbonus>!num)"!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<helmbonusv>!num)"!anyvalue="(?<pumpspeedv>!num)"!anyvalue="(?<enginespeedv>!num)"' \
|
||||
"helmbonus=round(helmbonus*$bigmodifier,2)
|
||||
speedbonus=round(speedbonus*$bigmodifier,2)
|
||||
helmbonusv=helmbonus
|
||||
pumpspeedv=round(speedbonus/100,2)
|
||||
enginespeedv=round(speedbonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="inspiringpresence">!anyvalue="(?<extralevelgain>!num)"!anyvalue="(?<movementspeed>!num)"' \
|
||||
"extralevelgain=round(extralevelgain*$bigmodifier,2)
|
||||
movementspeed=round(movementspeed*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="inspiringpresence"!anyExtraLevelGain" value="(?<extralevelgain>!num)"' \
|
||||
"extralevelgain=round(extralevelgain*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="inspiringpresence_walkspeed"!anyWalkingSpeed" value="(?<movementspeed>!num)"' \
|
||||
"movementspeed=round(movementspeed*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="trickledown">!anyvalue="(?<swimspeed>!num)"' \
|
||||
"swimspeed=round(swimspeed*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="trickledown"!anySwimmingSpeed" value="(?<swimmingspeed>!num)"' \
|
||||
"swimmingspeed=round(swimmingspeed*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
# modify -loglevel INFO '<Talent identifier="family">!anyCharacterAbilityGiveTalentPointsToAllies amount="(?<talentpoints>!num)"' \
|
||||
# 'talentpoints=talentpoints*$bigmodifier' \
|
||||
# '**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="highmorale"!anystattype="RepairSpeed" value="(?<repairspeed>!num)"!anystattype="RepairToolStructureRepairMultiplier" value="(?<repairtoolmultiplier>!num)"!anystattype="MovementSpeed" value="(?<movementspeed>!num)"' \
|
||||
"repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*$bigmodifier,2)
|
||||
movementspeed=round(movementspeed*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="excellentmorale"!anystattype="RepairSpeed" value="(?<repairspeed>!num)"!anystattype="RepairToolStructureRepairMultiplier" value="(?<repairtoolmultiplier>!num)"!anystattype="MovementSpeed" value="(?<movementspeed>!num)"' \
|
||||
"repairspeed=round(repairspeed*$bigmodifier,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*$bigmodifier,2)
|
||||
movementspeed=round(movementspeed*$bigmodifier,2)" \
|
||||
'**/AfflictionsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="steadytune">!anyduration!anyvalue="(?<buffduration>!num)"!anyrange="(?<buffrangev>!num)"!anyamount="(?<buffdurationv>!num)"' \
|
||||
"buffduration=round(buffduration*$smallmodifier,2)
|
||||
buffdurationv=buffduration
|
||||
buffrangev=round(buffrangev*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="commendations">!anyvalue="(?<xpgaingain>!num)"' \
|
||||
"xpgaingain=round(xpgaingain*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
modify -loglevel INFO '<Item!anyidentifier="coalitionmedal"!anyGiveExperience amount="(?<xpgain>!num)"' \
|
||||
"xpgain=round(xpgain*$bigmodifier,2)" \
|
||||
'**/captain_talent_items.xml'
|
||||
modify -loglevel INFO '<Item!anyidentifier="coalitioncommendation"!anyGiveExperience amount="(?<xpgain>!num)"' \
|
||||
"xpgain=round(xpgain*$bigmodifier,2)" \
|
||||
'**/captain_talent_items.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="affiliation"!anyvalue="(?<reputationgainmultiplier>!num)"!anyvalue="(?<moneybonus>!num)"!anyReputationGainMultiplier" value="(?<reputationgainmultiplierv>!num)"!anyCharacterAbilityModifyValue multiplyValue="(?<missionmoneybonusv>!num)"' \
|
||||
"reputationgainmultiplier=round(reputationgainmultiplier*$bigmodifier,2)
|
||||
reputationgainmultiplierv=round(reputationgainmultiplier/100,2)
|
||||
moneybonus=round(moneybonus*$bigmodifier,2)
|
||||
missionmoneybonusv=round(moneybonus/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="yourreputation">!anyvalue="(?<extramoney>!num)"!anyvalue="(?<extramissioncount>!num)"!anyamount="(?<extramoneyv>!num)"' \
|
||||
"extramoney=round(extramoney*$bigmodifier,2)
|
||||
extramissioncount=round(extramissioncount*3,2)
|
||||
extramoneyv=extramoney" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="campaigning">!anyvalue="(?<shipyardbuymultiplier>!num)"!anyvalue="(?<shipyardbuymultiplierv>!num)"' \
|
||||
"shipyardbuymultiplier=round(shipyardbuymultiplier*$bigmodifier,2)
|
||||
shipyardbuymultiplierv=round(shipyardbuymultiplier/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="networking">!anyvalue="(?<storebuymultiplier>!num)"!anyvalue="(?<storebuymultiplierv1>!num)"!anyvalue="(?<storebuymultiplierv2>!num)"!anyvalue="(?<storebuymultiplierv3>!num)"!anyvalue="(?<storebuymultiplierv4>!num)"!anyvalue="(?<storebuymultiplierv5>!num)"' \
|
||||
"storebuymultiplier=round(storebuymultiplier*$bigmodifier,2)
|
||||
storebuymultiplierv1=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv2=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv3=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv4=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv5=round(storebuymultiplier/100,2)" \
|
||||
'**/TalentsCaptain.xml'
|
||||
|
||||
# This talent actually uses the coalitionmedal
|
||||
# So modifications to it will impact this talent
|
||||
# Therefore we don't have to fuck with anything here
|
||||
# But we should be careful to set coalitionmedalnegate to the same value as coalitionmedal
|
||||
# It is used to negate the xp gain past a certain level
|
||||
modify -loglevel INFO '<Talent identifier="figurehead">!anyvalue="(?<bonusxp>!num)"!anyvalue="(?<levelbreakpoint>!num)"!anyvalue="(?<discount>!num)"!anylevel="(?<levelbreakpointv>!num)"!anyamount="-(?<coalitionmedalnegate>!num)"!anyStoreBuyMultiplierAffiliated" value="(?<storebuymultiplier>!num)"!anyShipyardBuyMultiplierAffiliated" value="(?<shipyardbuymultiplier>!num)"' \
|
||||
"bonusxp=round(bonusxp*$bigmodifier,2)
|
||||
levelbreakpoint=round(levelbreakpoint*$smallmodifier,2)
|
||||
discount=round(discount*$bigmodifier,2)
|
||||
levelbreakpointv=levelbreakpoint
|
||||
coalitionmedalnegate=round(coalitionmedalnegate*$bigmodifier,2)
|
||||
storebuymultiplier=round(storebuymultiplier*$bigmodifier,2)
|
||||
shipyardbuymultiplier=round(shipyardbuymultiplier*$bigmodifier,2)" \
|
||||
'**/TalentsCaptain.xml'
|
343
cookcaptain.yml
Normal file
343
cookcaptain.yml
Normal file
@@ -0,0 +1,343 @@
|
||||
- name: bountyhunter
|
||||
regex: <Talent identifier="bountyhunter">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusmul>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
moneybonus=round(moneybonus*2,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)
|
||||
moneybonusmul=round(1+moneybonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: inspirationalleader
|
||||
regex: <Talent identifier="inspirationalleader">!anyvalue="(?<xpbonus>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: inspirationalleader
|
||||
regex: <Affliction!anyidentifier="inspirationalleader"!anystattype="SkillGainSpeed" value="(?<xpbonus>!num)"\/>
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: logisticsexpert
|
||||
regex: <Talent identifier="logisticsexpert">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<moneybonusmul>!num)"\/>!anymultiplyvalue="(?<xpbonusmul>!num)"\/>
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
moneybonus=round(moneybonus*2,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)
|
||||
moneybonusmul=round(1+moneybonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: prodigy
|
||||
regex: <Talent identifier="prodigy">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusmul>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
xpbonusmul=round(1+xpbonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: travelingtradesman
|
||||
regex: <Talent identifier="travelingtradesman">!anyvalue="(?<itemsellvalue>!num)"!anyvalue="(?<extraitems>!num)"!anystattype="ExtraSpecialSalesCount" value="(?<extraitemsmul>!num)"!anystattype="StoreSellMultiplier" value="(?<itemssellvaluemul>!num)"
|
||||
lua: |
|
||||
itemsellvalue=round(itemsellvalue*2,2)
|
||||
extraitems=round(extraitems*2,0)
|
||||
extraitemsmul=extraitems
|
||||
itemssellvaluemul=round(itemsellvalue/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: veteran
|
||||
regex: <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)"
|
||||
lua: |
|
||||
helmbonus=round(helmbonus*2,2)
|
||||
otherbonus=round(helmbonus/2,2)
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
helmbonusv=round(helmbonusv*2,2)
|
||||
electricalbonusv=round(helmbonusv/2,2)
|
||||
mechanicalbonusv=electricalbonusv
|
||||
medicalbonusv=electricalbonusv
|
||||
weaponsbonusv=electricalbonusv
|
||||
repairspeedv=round(repairspeedv*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: camaraderie
|
||||
regex: <Talent identifier="camaraderie">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<damageres>!num)"!anyvalue="(?<xpbonusv>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2,2)
|
||||
damageres=round(damageres*2,2)
|
||||
xpbonusv=round(1+xpbonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: camaraderie
|
||||
regex: <Affliction!anyidentifier="camaraderie"!anyminresistance="(?<damageresmin>!num)"!anymaxresistance="(?<damageresmax>!num)"
|
||||
lua: |
|
||||
damageresmin=round(damageresmin*2,2)
|
||||
damageresmax=round(damageresmax*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: downwiththeship
|
||||
regex: <Talent identifier="downwiththeship">!anyswimming!anyvalue="(?<swimmingboost>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<duration>!num)"
|
||||
lua: |
|
||||
swimmingboost=round(swimmingboost*2,2)
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
duration=round(duration*1.5,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: downwiththeship
|
||||
regex: <Affliction!anyidentifier="downwiththeship"!anyduration="(?<duration>!num)"!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<swimmingboost>!num)"
|
||||
lua: |
|
||||
duration=round(duration*2,2)
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
swimmingboost=round(swimmingboost*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: evasivemaneuvers
|
||||
regex: <Affliction!anyidentifier="evasivemaneuvers"!anyduration="(?<duration>!num)"
|
||||
lua: |
|
||||
duration=round(duration*1.5,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: sailorwithnoname
|
||||
regex: <Talent identifier="sailorwithnoname">!anyvalue="(?<medicalbonus>!num)"!anyMedicalSkillBonus" value="(?<medicalbonusv>!num)"
|
||||
lua: |
|
||||
medicalbonus=round(medicalbonus*2,2)
|
||||
medicalbonusv=medicalbonus
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: steadytune
|
||||
regex: <Talent identifier="steadytune">!anybuffduration!anyvalue="(?<buffduration>!num)"!anyrange="(?<buffrange>!num)"!anyimmunity!anyamount="(?<buffdurationv>!num)"
|
||||
lua: |
|
||||
buffduration=round(buffduration*1.5,2)
|
||||
buffdurationv=buffduration
|
||||
buffrange=round(buffrange*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: quickdraw
|
||||
regex: <Talent identifier="quickdraw">!anyvalue="(?<secondsafk>!num)"!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<duelwieldpenaltyreduction>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplier>!num)"!anyDualWieldingPenaltyReduction" value="(?<duelwieldpenaltyreductionv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2,2)
|
||||
duelwieldpenaltyreduction=round(duelwieldpenaltyreduction*1.5,2)
|
||||
addeddamagemultiplier=round(damagebonus/100,2)
|
||||
duelwieldpenaltyreductionv=round(duelwieldpenaltyreduction/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: deputy
|
||||
regex: <Talent identifier="deputy">!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"
|
||||
lua: |
|
||||
skillbonus1=round(skillbonus1*2,2)
|
||||
skillbonus2=round(skillbonus2*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: deputy
|
||||
regex: <Affliction!anyidentifier="deputy"!anyvalue="(?<skillbonus1>!num)"!anyvalue="(?<skillbonus2>!num)"!anyvalue="(?<xpbonus1>!num)"!anyvalue="(?<xpbonus2>!num)"
|
||||
lua: |
|
||||
skillbonus1=round(skillbonus1*2,2)
|
||||
skillbonus2=round(skillbonus2*2,2)
|
||||
xpbonus1=round(xpbonus1*2,2)
|
||||
xpbonus2=round(xpbonus2*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: lonewolf
|
||||
regex: <Talent identifier="lonewolf">!anyamount!anyvalue="(?<damageres>!num)"!anyamount!anyvalue="(?<stunres>!num)"!anyamount!anyvalue="(?<meleedamage>!num)"!anydistance="(?<distance>!num)"
|
||||
lua: |
|
||||
damageres=round(damageres*2,2)
|
||||
stunres=round(stunres*2,2)
|
||||
meleedamage=round(meleedamage*2,2)
|
||||
distance=round(distance/2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: lonewolf
|
||||
regex: <Affliction!anyidentifier="lonewolf"!anyminresistance="(?<minresistance>!num)"!anymaxresistance="(?<maxresistance>!num)"!anyStatValue stattype="MeleeAttackMultiplier" value="(?<meleedamage>!num)"
|
||||
lua: |
|
||||
minresistance=round(minresistance*2,2)
|
||||
maxresistance=round(maxresistance*2,2)
|
||||
meleedamage=round(meleedamage*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: drunkensailor
|
||||
regex: <Talent identifier="drunkensailor">!anyvalue="(?<stunresistance>!num)"!anymultiplier="(?<stunresistancev>!num)"
|
||||
lua: |
|
||||
stunresistance=round(stunresistance*1.25,2)
|
||||
stunresistancev=round(1-(stunresistance/100),2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: bigguns
|
||||
regex: <Talent identifier="bigguns">!anyvalue="(?<addeddamagemultiplier>!num)"!anyvalue="(?<dualwieldingpenaltyreduction>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplierv>!num)"!anyDualWieldingPenaltyReduction" value="(?<dualwieldingpenaltyreductionv>!num)"
|
||||
lua: |
|
||||
addeddamagemultiplier=round(addeddamagemultiplier*2,2)
|
||||
dualwieldingpenaltyreduction=round(dualwieldingpenaltyreduction*1.2,2)
|
||||
addeddamagemultiplierv=round(addeddamagemultiplier/100,2)
|
||||
dualwieldingpenaltyreductionv=round(dualwieldingpenaltyreduction/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: leadingbyexample
|
||||
regex: <Talent identifier="leadingbyexample">!anyamount!anyvalue="(?<repairspeed>!num)"!anyamount!anyvalue="(?<repairtoolmultiplier>!num)"!anyamount!anyvalue="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*2,2)
|
||||
movementspeed=round(movementspeed*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: helmsman
|
||||
regex: <Talent identifier="helmsman">!anyvalue="(?<helmbonus>!num)"!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<helmbonusv>!num)"!anyvalue="(?<pumpspeedv>!num)"!anyvalue="(?<enginespeedv>!num)"
|
||||
lua: |
|
||||
helmbonus=round(helmbonus*2,2)
|
||||
speedbonus=round(speedbonus*2,2)
|
||||
helmbonusv=helmbonus
|
||||
pumpspeedv=round(speedbonus/100,2)
|
||||
enginespeedv=round(speedbonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: inspiringpresence
|
||||
regex: <Talent identifier="inspiringpresence">!anyvalue="(?<extralevelgain>!num)"!anyvalue="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
extralevelgain=round(extralevelgain*2,2)
|
||||
movementspeed=round(movementspeed*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: inspiringpresence
|
||||
regex: <Affliction!anyidentifier="inspiringpresence"!anyExtraLevelGain" value="(?<extralevelgain>!num)"
|
||||
lua: |
|
||||
extralevelgain=round(extralevelgain*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
- name: inspiringpresence_walkspeed
|
||||
regex: <Affliction!anyidentifier="inspiringpresence_walkspeed"!anyWalkingSpeed" value="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
movementspeed=round(movementspeed*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: trickledown
|
||||
regex: <Talent identifier="trickledown">!anyvalue="(?<swimspeed>!num)"
|
||||
lua: |
|
||||
swimspeed=round(swimspeed*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: trickledown
|
||||
regex: <Affliction!anyidentifier="trickledown"!anySwimmingSpeed" value="(?<swimmingspeed>!num)"
|
||||
lua: |
|
||||
swimmingspeed=round(swimmingspeed*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
# modify -loglevel INFO '<Talent identifier="family">!anyCharacterAbilityGiveTalentPointsToAllies amount="(?<talentpoints>!num)"' \
|
||||
# 'talentpoints=talentpoints*2' \
|
||||
# '**/TalentsCaptain.xml'
|
||||
- name: highmorale
|
||||
regex: <Affliction!anyidentifier="highmorale"!anystattype="RepairSpeed" value="(?<repairspeed>!num)"!anystattype="RepairToolStructureRepairMultiplier" value="(?<repairtoolmultiplier>!num)"!anystattype="MovementSpeed" value="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*2,2)
|
||||
movementspeed=round(movementspeed*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
- name: excellentmorale
|
||||
regex: <Affliction!anyidentifier="excellentmorale"!anystattype="RepairSpeed" value="(?<repairspeed>!num)"!anystattype="RepairToolStructureRepairMultiplier" value="(?<repairtoolmultiplier>!num)"!anystattype="MovementSpeed" value="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
repairspeed=round(repairspeed*2,2)
|
||||
repairtoolmultiplier=round(repairtoolmultiplier*2,2)
|
||||
movementspeed=round(movementspeed*2,2)
|
||||
files:
|
||||
- '**/AfflictionsCaptain.xml'
|
||||
|
||||
- name: steadytune
|
||||
regex: <Talent identifier="steadytune">!anyduration!anyvalue="(?<buffduration>!num)"!anyrange="(?<buffrangev>!num)"!anyamount="(?<buffdurationv>!num)"
|
||||
lua: |
|
||||
buffduration=round(buffduration*1.5,2)
|
||||
buffdurationv=buffduration
|
||||
buffrangev=round(buffrangev*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: commendations
|
||||
regex: <Talent identifier="commendations">!anyvalue="(?<xpgaingain>!num)"
|
||||
lua: |
|
||||
xpgaingain=round(xpgaingain*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
- name: coalitionmedal
|
||||
regex: <Item!anyidentifier="coalitionmedal"!anyGiveExperience amount="(?<xpgain>!num)"
|
||||
lua: |
|
||||
xpgain=round(xpgain*2,2)
|
||||
files:
|
||||
- '**/captain_talent_items.xml'
|
||||
- name: coalitioncommendation
|
||||
regex: <Item!anyidentifier="coalitioncommendation"!anyGiveExperience amount="(?<xpgain>!num)"
|
||||
lua: |
|
||||
xpgain=round(xpgain*2,2)
|
||||
files:
|
||||
- '**/captain_talent_items.xml'
|
||||
|
||||
- name: affiliation
|
||||
regex: <Talent identifier="affiliation"!anyvalue="(?<reputationgainmultiplier>!num)"!anyvalue="(?<moneybonus>!num)"!anyReputationGainMultiplier" value="(?<reputationgainmultiplierv>!num)"!anyCharacterAbilityModifyValue multiplyValue="(?<missionmoneybonusv>!num)"
|
||||
lua: |
|
||||
reputationgainmultiplier=round(reputationgainmultiplier*2,2)
|
||||
reputationgainmultiplierv=round(reputationgainmultiplier/100,2)
|
||||
moneybonus=round(moneybonus*2,2)
|
||||
missionmoneybonusv=round(moneybonus/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: yourreputation
|
||||
regex: <Talent identifier="yourreputation">!anyvalue="(?<extramoney>!num)"!anyvalue="(?<extramissioncount>!num)"!anyamount="(?<extramoneyv>!num)"
|
||||
lua: |
|
||||
extramoney=round(extramoney*2,2)
|
||||
extramissioncount=round(extramissioncount*3,2)
|
||||
extramoneyv=extramoney
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: campaigning
|
||||
regex: <Talent identifier="campaigning">!anyvalue="(?<shipyardbuymultiplier>!num)"!anyvalue="(?<shipyardbuymultiplierv>!num)"
|
||||
lua: |
|
||||
shipyardbuymultiplier=round(shipyardbuymultiplier*2,2)
|
||||
shipyardbuymultiplierv=round(shipyardbuymultiplier/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
- name: networking
|
||||
regex: <Talent identifier="networking">!anyvalue="(?<storebuymultiplier>!num)"!anyvalue="(?<storebuymultiplierv1>!num)"!anyvalue="(?<storebuymultiplierv2>!num)"!anyvalue="(?<storebuymultiplierv3>!num)"!anyvalue="(?<storebuymultiplierv4>!num)"!anyvalue="(?<storebuymultiplierv5>!num)"
|
||||
lua: |
|
||||
storebuymultiplier=round(storebuymultiplier*2,2)
|
||||
storebuymultiplierv1=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv2=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv3=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv4=round(storebuymultiplier/100,2)
|
||||
storebuymultiplierv5=round(storebuymultiplier/100,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
||||
|
||||
# This talent actually uses the coalitionmedal
|
||||
# So modifications to it will impact this talent
|
||||
# Therefore we don't have to fuck with anything here
|
||||
# But we should be careful to set coalitionmedalnegate to the same value as coalitionmedal
|
||||
# It is used to negate the xp gain past a certain level
|
||||
- name: figurehead
|
||||
regex: <Talent identifier="figurehead">!anyvalue="(?<bonusxp>!num)"!anyvalue="(?<levelbreakpoint>!num)"!anyvalue="(?<discount>!num)"!anylevel="(?<levelbreakpointv>!num)"!anyamount="-(?<coalitionmedalnegate>!num)"!anyStoreBuyMultiplierAffiliated" value="(?<storebuymultiplier>!num)"!anyShipyardBuyMultiplierAffiliated" value="(?<shipyardbuymultiplier>!num)"
|
||||
lua: |
|
||||
bonusxp=round(bonusxp*2,2)
|
||||
levelbreakpoint=round(levelbreakpoint*1.5,2)
|
||||
discount=round(discount*2,2)
|
||||
levelbreakpointv=levelbreakpoint
|
||||
coalitionmedalnegate=round(coalitionmedalnegate*2,2)
|
||||
storebuymultiplier=round(storebuymultiplier*2,2)
|
||||
shipyardbuymultiplier=round(shipyardbuymultiplier*2,2)
|
||||
files:
|
||||
- '**/TalentsCaptain.xml'
|
145
cookdoctor.sh
145
cookdoctor.sh
@@ -1,145 +0,0 @@
|
||||
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'
|
223
cookdoctor.yml
Normal file
223
cookdoctor.yml
Normal file
@@ -0,0 +1,223 @@
|
||||
- name: exampleofhealth
|
||||
regex: <Talent identifier="exampleofhealth">!anyvalue="(?<maximumhealthmultiplier>!num)"!anyMultiplier" value="(?<maximumhealthmultiplierv>!num)"
|
||||
lua: |
|
||||
maximumhealthmultiplier=round(maximumhealthmultiplier*2, 2)
|
||||
maximumhealthmultiplierv=round(maximumhealthmultiplier/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: healthinsurance
|
||||
regex: <Talent identifier="healthinsurance">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<moneyreward>!num)"!anyvalue="(?<itemdiscount>!num)"!anyvalue="(?<itemdiscountv>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"!anyGiveMoney amount="(?<emoneyrewardv>!num)"
|
||||
lua: |
|
||||
hpthreshold=round(hpthreshold*2, 2)
|
||||
moneyreward=round(moneyreward*2*2, 2)
|
||||
itemdiscount=round(itemdiscount*2, 2)
|
||||
itemdiscountv=round(itemdiscount/100, 2)
|
||||
hpthresholdv=round(hpthreshold/100, 2)
|
||||
moneyrewardv=moneyreward
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: laresistance
|
||||
regex: <Talent identifier="laresistance">!anyvalue="(?<opiateaddictionresistance>!num)"!anyvalue="(?<chemaddictionresistance>!num)"!anymultiplier="(?<opiateaddictionresistancev>!num)"!anymultiplier="(?<chemaddictionresistancev>!num)"
|
||||
lua: |
|
||||
opiateaddictionresistance=round(opiateaddictionresistance*2, 2)
|
||||
chemaddictionresistance=round(chemaddictionresistance*2, 2)
|
||||
opiateaddictionresistancev=round(opiateaddictionresistance/100, 2)
|
||||
chemaddictionresistancev=round(chemaddictionresistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: nobodyimportantdies
|
||||
regex: <Talent identifier="nobodyimportantdies">!anyvalue="(?<potency>!num)"!anyvalue="(?<penalty>!num)"!anymultiplyvalue="(?<penaltyv>!num)"!anymultiplyvalue="(?<potencyv>!num)"
|
||||
lua: |
|
||||
potency=round(potency*2*1.5, 2)
|
||||
penalty=round(penalty/2, 2)
|
||||
penaltyv=round(1-penalty/100, 2)
|
||||
potencyv=round(1+potency/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: selfcare
|
||||
regex: <Talent identifier="selfcare">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"
|
||||
lua: |
|
||||
potency=round(potency*2*1.5, 2)
|
||||
potencyv=round(potency/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: stayinalive
|
||||
regex: <Talent identifier="stayinalive">!anyvalue="(?<potency>!num)"
|
||||
lua: |
|
||||
potency=round(potency*2, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
- name: stayinalive
|
||||
regex: <Affliction!anyidentifier="stayinalive"!anyvalue="(?<amount>!num)"
|
||||
lua: |
|
||||
amount=round(amount*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsDoctor.xml'
|
||||
|
||||
- name: blooddonor
|
||||
regex: <Talent identifier="blooddonor">!anyamount="(?<amount>!num)"
|
||||
lua: |
|
||||
amount=round(amount*2, 0)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
# Don't die on me ?
|
||||
# Fireman's carry ?
|
||||
|
||||
- name: geneharvester
|
||||
regex: <Talent identifier="geneharvester">!anyvalue="(?<probability>!num)"!anyrandomchance="(?<randomchance>!num)"
|
||||
lua: |
|
||||
probability=round(probability*2*1.5, 2)
|
||||
randomchance=round(probability/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
# We don't know how to change these yet
|
||||
- name: bloodybusiness
|
||||
regex: <Talent identifier="bloodybusiness">!anyvalue="(?<psychosisreduction>!num)"!anyamount="(?<psychosisreductionv>!num)"!anySpawnItem!any(?<minamount>\s)/>
|
||||
lua: |
|
||||
psychosisreduction=psychosisreduction
|
||||
psychosisreductionv=psychosisreductionv
|
||||
minamount=string.format(' MinAmount=\"%d\" ', round(1*2*2, 0))
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: genesplicer
|
||||
regex: <Talent identifier="genesplicer">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"
|
||||
lua: |
|
||||
potency=round(potency*2, 2)
|
||||
potencyv=potency
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: blackmarketgenes
|
||||
regex: <Talent identifier="blackmarketgenes">!anyvalue="(?<itemprice>!num)"!anyvalue="(?<itempricev>!num)"!anyvalue="(?<itempricev2>!num)"
|
||||
lua: |
|
||||
itemprice=round(itemprice*2, 2)
|
||||
itempricev=round(itemprice/100, 2)
|
||||
itempricev2=round(itemprice/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: genetampering
|
||||
regex: <Talent identifier="genetampering">!anyvalue="(?<hpamount>!num)"!anyvalue="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
hpamount=round(hpamount*2, 2)
|
||||
movementspeed=round(movementspeed*2, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
- name: genetampering
|
||||
regex: <Affliction!anyidentifier="genetampering"!anyvalue="(?<movementspeedv>!num)"!anyvalue="(?<hpamountv>!num)"
|
||||
lua: |
|
||||
movementspeedv=round(movementspeedv*2, 2)
|
||||
hpamountv=round(hpamountv*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsDoctor.xml'
|
||||
|
||||
# Genetic genius ?
|
||||
|
||||
- name: medicalexpertise
|
||||
regex: <Talent identifier="medicalexpertise">!anyvalue!anyvalue="(?<medicalskillbonus>!num)"!anyvalue="(?<medicalskillbonusv>!num)"!anyamount="(?<bleedingamount>!num)"!anyamount="(?<burnamount>!num)"
|
||||
lua: |
|
||||
medicalskillbonus=round(medicalskillbonus*2, 2)
|
||||
medicalskillbonusv=round(medicalskillbonusv*2, 2)
|
||||
bleedingamount=round(bleedingamount*1.5, 2)
|
||||
burnamount=round(burnamount*1.5, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: emergencyresponse
|
||||
regex: <Talent identifier="emergencyresponse">!anyvalue="(?<movementspeed>!num)"
|
||||
lua: |
|
||||
movementspeed=round(movementspeed*1.5, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
- name: emergencyresponse_selfbuff
|
||||
regex: <Affliction!anyidentifier="emergencyresponse_selfbuff"!anyvalue="(?<movementspeedv>!num)"
|
||||
lua: |
|
||||
movementspeedv=round(movementspeedv*1.5, 2)
|
||||
files:
|
||||
- '**/AfflictionsDoctor.xml'
|
||||
|
||||
- name: medicalassistance
|
||||
regex: <Talent identifier="medicalassistance">!anyvalue="(?<medicalskillbonus>!num)"
|
||||
lua: |
|
||||
medicalskillbonus=round(medicalskillbonus*2, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
- name: medicalassistance
|
||||
regex: <Affliction!anyidentifier="medicalassistance"!anyvalue="(?<medicalskillbonusv>!num)"
|
||||
lua: |
|
||||
medicalskillbonusv=round(medicalskillbonusv*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsDoctor.xml'
|
||||
|
||||
- name: drsubmarine
|
||||
regex: <Talent identifier="drsubmarine">!anyvalue="(?<potency>!num)"!anyvalue="(?<potencyv>!num)"
|
||||
lua: |
|
||||
potency=round(potency*2, 2)
|
||||
potencyv=round(potency/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: vitaminsupplements
|
||||
regex: <Talent identifier="vitaminsupplements">!anyvalue="(?<hpboost>!num)"
|
||||
lua: |
|
||||
hpboost=round(hpboost*2, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
- name: bedsidemanner
|
||||
regex: <Affliction!anyidentifier="bedsidemanner"!anyvalue="(?<hpboostv>!num)"
|
||||
lua: |
|
||||
hpboostv=round(hpboostv*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsDoctor.xml'
|
||||
|
||||
- name: plaguedoctor
|
||||
regex: <Talent identifier="plaguedoctor">!anyvalue="(?<resistance>!num)"!anymultiplier="(?<resistancev>!num)"
|
||||
lua: |
|
||||
resistance=round(resistance*2, 2)
|
||||
resistancev=round(resistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: labcontacts
|
||||
regex: <Talent identifier="labcontacts">!anyvalue="(?<discount>!num)"!anyvalue="(?<fabricationspeed>!num)"!anyvalue="(?<fabricationspeedv>!num)"!anyvalue="(?<discountv>!num)"
|
||||
lua: |
|
||||
discount=round(discount*2, 2)
|
||||
fabricationspeed=round(fabricationspeed*2, 2)
|
||||
fabricationspeedv=round(fabricationspeed/100, 2)
|
||||
discountv=round(discount/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: supersoldiers
|
||||
regex: <Talent identifier="supersoldiers">!anyvalue="(?<buffduration>!num)"!anyvalue="(?<buffdurationv>!num)"
|
||||
lua: |
|
||||
buffduration=round(buffduration*2, 2)
|
||||
buffdurationv=round(buffduration/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: whatastench
|
||||
regex: <Talent identifier="whatastench">!anyvalue="(?<damage>!num)"!anyaddedmultiplier="(?<damagev>!num)"
|
||||
lua: |
|
||||
damage=round(damage*2, 2)
|
||||
damagev=round(damage/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
||||
|
||||
- name: macrodosing
|
||||
regex: <Talent identifier="macrodosing">!anyvalue="(?<buffduration>!num)"!anyvalue="(?<poisonpower>!num)"!anyApplyingMultiplier!anyvalue="(?<buffdurationv>!num)"!anyvalue="(?<poisonpowerv>!num)"
|
||||
lua: |
|
||||
buffduration=round(buffduration*2, 2)
|
||||
poisonpower=round(poisonpower*2, 2)
|
||||
buffdurationv=round(buffduration/100, 2)
|
||||
poisonpowerv=round(poisonpower/100, 2)
|
||||
files:
|
||||
- '**/TalentsDoctor.xml'
|
141
cookengineer.sh
141
cookengineer.sh
@@ -1,141 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
bigmodifier=2
|
||||
smallmodifier=1.5
|
||||
|
||||
# Primary talents
|
||||
modify -loglevel INFO '<Talent identifier="stationengineer">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<skillbonusv>!num)"' \
|
||||
"skillbonus=round(skillbonus*$bigmodifier, 2)
|
||||
skillbonusv=round(skillbonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="junctionjunkie">!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<repairspeedv>!num)"' \
|
||||
"repairspeed=round(repairspeed*$bigmodifier, 2)
|
||||
repairspeedv=round(repairspeedv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="egghead">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusv>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
xpbonusv=round(xpbonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="grounded">!anyvalue="(?<resistance>!num)"!anyvalue="(?<resistancev>!num)"' \
|
||||
"resistance=round(resistance*$bigmodifier, 2)
|
||||
resistancev=round(resistancev*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="remotemonitor">!anyvalue="(?<range>!num)"!anyvalue="(?<rangev>!num)"' \
|
||||
"range=round(range*$bigmodifier, 2)
|
||||
rangev=round(rangev*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="funwithfission">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<powerbonusv>!num)"' \
|
||||
"powerbonus=round(powerbonus*$bigmodifier, 2)
|
||||
powerbonusv=round(powerbonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="melodicrespite">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<duration>!num)"' \
|
||||
"buffpotency=round(buffpotency*$bigmodifier, 2)
|
||||
duration=round(duration*$smallmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="melodicrespite"!anyduration="(?<durationv>!num)"!anyvalue="(?<buffpotencyv>!num)"' \
|
||||
"durationv=round(durationv*$smallmodifier, 2)
|
||||
buffpotencyv=round(buffpotencyv*$bigmodifier, 2)" \
|
||||
'**/AfflictionsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="submarineofthings">!anyvalue="(?<efficiency>!num)"!anyvalue="(?<efficiencyv>!num)"' \
|
||||
"efficiency=round(efficiency*$bigmodifier, 2)
|
||||
efficiencyv=round(efficiencyv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="aggressiveengineering">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="samplecollection">!anyvalue="(?<bonusitems>!num)"!anyvalue="(?<bonusitemsv>!num)"' \
|
||||
"bonusitems=round(bonusitems*$bigmodifier, 2)
|
||||
bonusitemsv=round(bonusitemsv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
# Weaponsengineer specialization
|
||||
modify -loglevel INFO '<Talent identifier="militaryapplications">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="heavyhitter">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="armsrace">!anyvalue="(?<fabricationspeed>!num)"!anyvalue="(?<fabricationspeedv>!num)"' \
|
||||
"fabricationspeed=round(fabricationspeed*$bigmodifier, 2)
|
||||
fabricationspeedv=round(fabricationspeedv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="weaponartisan">!anyvalue="(?<quality>!num)"!anyvalue="(?<qualityv>!num)"' \
|
||||
"quality=round(quality*$bigmodifier, 2)
|
||||
qualityv=round(qualityv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="nuclearoption">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
# Electrician specialization
|
||||
modify -loglevel INFO '<Talent identifier="gridmaintainer">!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<repairspeedv>!num)"' \
|
||||
"repairspeed=round(repairspeed*$bigmodifier, 2)
|
||||
repairspeedv=round(repairspeedv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="pyromaniac">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="unlimitedpower">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<powerbonusv>!num)"' \
|
||||
"powerbonus=round(powerbonus*$bigmodifier, 2)
|
||||
powerbonusv=round(powerbonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="betterthannew">!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<qualitybonusv>!num)"' \
|
||||
"qualitybonus=round(qualitybonus*$bigmodifier, 2)
|
||||
qualitybonusv=round(qualitybonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="lightningwizard">!anyvalue="(?<range>!num)"!anyvalue="(?<damage>!num)"!anyvalue="(?<rangev>!num)"!anyvalue="(?<damagev>!num)"' \
|
||||
"range=round(range*$bigmodifier, 2)
|
||||
damage=round(damage*$bigmodifier, 2)
|
||||
rangev=round(rangev*$bigmodifier, 2)
|
||||
damagev=round(damagev*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
# Physicist specialization
|
||||
modify -loglevel INFO '<Talent identifier="unstoppablecuriosity">!anyvalue="(?<researchspeed>!num)"!anyvalue="(?<researchspeedv>!num)"' \
|
||||
"researchspeed=round(researchspeed*$bigmodifier, 2)
|
||||
researchspeedv=round(researchspeedv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="cruising">!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<speedbonusv>!num)"' \
|
||||
"speedbonus=round(speedbonus*$bigmodifier, 2)
|
||||
speedbonusv=round(speedbonusv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="buzzing">!anyvalue="(?<poweroutput>!num)"!anyvalue="(?<poweroutputv>!num)"' \
|
||||
"poweroutput=round(poweroutput*$bigmodifier, 2)
|
||||
poweroutputv=round(poweroutputv*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="dangerzone">!anyvalue="(?<resistance>!num)"!anyvalue="(?<resistancev>!num)"' \
|
||||
"resistance=round(resistance*$bigmodifier, 2)
|
||||
resistancev=round(resistancev*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="phdinnuclearphysics">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<radiationresistance>!num)"!anyvalue="(?<powerbonusv>!num)"!anyvalue="(?<radiationresistancev>!num)"' \
|
||||
"powerbonus=round(powerbonus*$bigmodifier, 2)
|
||||
radiationresistance=round(radiationresistance*$bigmodifier, 2)
|
||||
powerbonusv=round(powerbonusv*$bigmodifier, 2)
|
||||
radiationresistancev=round(radiationresistancev*$bigmodifier, 2)" \
|
||||
'**/TalentsEngineer.xml'
|
212
cookengineer.yml
Normal file
212
cookengineer.yml
Normal file
@@ -0,0 +1,212 @@
|
||||
# TODO: Check if these work, they don't seem to...
|
||||
|
||||
- name: stationengineer
|
||||
regex: <Talent identifier="stationengineer">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<skillbonusv>!num)"
|
||||
lua: |
|
||||
skillbonus=round(skillbonus*2, 2)
|
||||
skillbonusv=round(skillbonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: junctionjunkie
|
||||
regex: <Talent identifier="junctionjunkie">!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<repairspeedv>!num)"
|
||||
lua: |
|
||||
repairspeed=round(repairspeed*2, 2)
|
||||
repairspeedv=round(repairspeedv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: egghead
|
||||
regex: <Talent identifier="egghead">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusv>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2, 2)
|
||||
xpbonusv=round(xpbonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: grounded
|
||||
regex: <Talent identifier="grounded">!anyvalue="(?<resistance>!num)"!anyvalue="(?<resistancev>!num)"
|
||||
lua: |
|
||||
resistance=round(resistance*2, 2)
|
||||
resistancev=round(resistancev*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: remotemonitor
|
||||
regex: <Talent identifier="remotemonitor">!anyvalue="(?<range>!num)"!anyvalue="(?<rangev>!num)"
|
||||
lua: |
|
||||
range=round(range*2, 2)
|
||||
rangev=round(rangev*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: funwithfission
|
||||
regex: <Talent identifier="funwithfission">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<powerbonusv>!num)"
|
||||
lua: |
|
||||
powerbonus=round(powerbonus*2, 2)
|
||||
powerbonusv=round(powerbonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: melodicrespite
|
||||
regex: <Talent identifier="melodicrespite">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<duration>!num)"
|
||||
lua: |
|
||||
buffpotency=round(buffpotency*2, 2)
|
||||
duration=round(duration*1.5, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
- name: melodicrespite
|
||||
regex: <Affliction!anyidentifier="melodicrespite"!anyduration="(?<durationv>!num)"!anyvalue="(?<buffpotencyv>!num)"
|
||||
lua: |
|
||||
durationv=round(durationv*1.5, 2)
|
||||
buffpotencyv=round(buffpotencyv*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsEngineer.xml'
|
||||
|
||||
- name: submarineofthings
|
||||
regex: <Talent identifier="submarineofthings">!anyvalue="(?<efficiency>!num)"!anyvalue="(?<efficiencyv>!num)"
|
||||
lua: |
|
||||
efficiency=round(efficiency*2, 2)
|
||||
efficiencyv=round(efficiencyv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: aggressiveengineering
|
||||
regex: <Talent identifier="aggressiveengineering">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: samplecollection
|
||||
regex: <Talent identifier="samplecollection">!anyvalue="(?<bonusitems>!num)"!anyvalue="(?<bonusitemsv>!num)"
|
||||
lua: |
|
||||
bonusitems=round(bonusitems*2, 2)
|
||||
bonusitemsv=round(bonusitemsv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: militaryapplications
|
||||
regex: <Talent identifier="militaryapplications">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: heavyhitter
|
||||
regex: <Talent identifier="heavyhitter">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: armsrace
|
||||
regex: <Talent identifier="armsrace">!anyvalue="(?<fabricationspeed>!num)"!anyvalue="(?<fabricationspeedv>!num)"
|
||||
lua: |
|
||||
fabricationspeed=round(fabricationspeed*2, 2)
|
||||
fabricationspeedv=round(fabricationspeedv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: weaponartisan
|
||||
regex: <Talent identifier="weaponartisan">!anyvalue="(?<quality>!num)"!anyvalue="(?<qualityv>!num)"
|
||||
lua: |
|
||||
quality=round(quality*2, 2)
|
||||
qualityv=round(qualityv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: nuclearoption
|
||||
regex: <Talent identifier="nuclearoption">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: gridmaintainer
|
||||
regex: <Talent identifier="gridmaintainer">!anyvalue="(?<repairspeed>!num)"!anyvalue="(?<repairspeedv>!num)"
|
||||
lua: |
|
||||
repairspeed=round(repairspeed*2, 2)
|
||||
repairspeedv=round(repairspeedv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: pyromaniac
|
||||
regex: <Talent identifier="pyromaniac">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: unlimitedpower
|
||||
regex: <Talent identifier="unlimitedpower">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<powerbonusv>!num)"
|
||||
lua: |
|
||||
powerbonus=round(powerbonus*2, 2)
|
||||
powerbonusv=round(powerbonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: betterthannew
|
||||
regex: <Talent identifier="betterthannew">!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<qualitybonusv>!num)"
|
||||
lua: |
|
||||
qualitybonus=round(qualitybonus*2, 2)
|
||||
qualitybonusv=round(qualitybonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: lightningwizard
|
||||
regex: <Talent identifier="lightningwizard">!anyvalue="(?<range>!num)"!anyvalue="(?<damage>!num)"!anyvalue="(?<rangev>!num)"!anyvalue="(?<damagev>!num)"
|
||||
lua: |
|
||||
range=round(range*2, 2)
|
||||
damage=round(damage*2, 2)
|
||||
rangev=round(rangev*2, 2)
|
||||
damagev=round(damagev*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: unstoppablecuriosity
|
||||
regex: <Talent identifier="unstoppablecuriosity">!anyvalue="(?<researchspeed>!num)"!anyvalue="(?<researchspeedv>!num)"
|
||||
lua: |
|
||||
researchspeed=round(researchspeed*2, 2)
|
||||
researchspeedv=round(researchspeedv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: cruising
|
||||
regex: <Talent identifier="cruising">!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<speedbonusv>!num)"
|
||||
lua: |
|
||||
speedbonus=round(speedbonus*2, 2)
|
||||
speedbonusv=round(speedbonusv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: buzzing
|
||||
regex: <Talent identifier="buzzing">!anyvalue="(?<poweroutput>!num)"!anyvalue="(?<poweroutputv>!num)"
|
||||
lua: |
|
||||
poweroutput=round(poweroutput*2, 2)
|
||||
poweroutputv=round(poweroutputv*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: dangerzone
|
||||
regex: <Talent identifier="dangerzone">!anyvalue="(?<resistance>!num)"!anymultiplier="(?<resistancev>!num)"
|
||||
lua: |
|
||||
resistance=round(resistance*2, 2)
|
||||
resistancev=round(resistancev*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
||||
|
||||
- name: phdinnuclearphysics
|
||||
regex: <Talent identifier="phdinnuclearphysics">!anyvalue="(?<powerbonus>!num)"!anyvalue="(?<radiationresistance>!num)"!anyvalue="(?<powerbonusv>!num)"!anyvalue="(?<radiationresistancev>!num)"
|
||||
lua: |
|
||||
powerbonus=round(powerbonus*2, 2)
|
||||
radiationresistance=round(radiationresistance*2, 2)
|
||||
powerbonusv=round(powerbonusv*2, 2)
|
||||
radiationresistancev=round(radiationresistancev*2, 2)
|
||||
files:
|
||||
- '**/TalentsEngineer.xml'
|
172
cookmechanic.sh
172
cookmechanic.sh
@@ -1,172 +0,0 @@
|
||||
bigmodifier=2
|
||||
smallmodifier=1.5
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="ballastdenizen">!anyvalue="(?<holdbreathmultiplier>!num)"!anyCharacterAbilityGiveStat stattype="HoldBreathMultiplier" value="(?<holdbreathmultiplierv>!num)"' \
|
||||
'holdbreathmultiplier=round(holdbreathmultiplier*2, 2)
|
||||
holdbreathmultiplierv=round(holdbreathmultiplier/100, 2)' \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="engineengineer">!anyvalue="(?<enginemaxspeedperlevel>!num)"!anyvalue="(?<enginemaxspeedmaxvalue>!num)"!anyvalue="(?<enginemaxspeedv>!num)"!anyvalue="(?<enginemaxspeedv2>!num)"!anyvalue="(?<enginemaxspeedv3>!num)"!anyvalue="(?<enginemaxspeedv4>!num)"!anyvalue="(?<enginemaxspeedv5>!num)"!anyvalue="(?<enginemaxspeedv6>!num)"!anyvalue="(?<enginemaxspeedv7>!num)"!anyvalue="(?<enginemaxspeedv8>!num)"' \
|
||||
"enginemaxspeedperlevel=round(enginemaxspeedperlevel*$bigmodifier, 2)
|
||||
enginemaxspeedmaxvalue=round(enginemaxspeedmaxvalue*$bigmodifier, 2)
|
||||
enginemaxspeedv=round(1+enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv2=round(1+2*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv3=round(1+3*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv4=round(1+4*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv5=round(1+5*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv6=round(1+6*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv7=round(1+7*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv8=round(1+8*enginemaxspeedperlevel/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="machinemaniac"!anyamount!anyamount!anyvalue="(?<mechanicalskillbonus>!num)"!anyxpamount!anyvalue="(?<xpbonus>!num)"!anylevel!anyvalue="(?<levelbonus>!num)"!anyamount!anyvalue="(?<repairspeed>!num)"!anyCharacterAbilityGiveExperience amount="(?<experiencev>!num)"!anyCharacterAbilityGivePermanentStat stattype="MechanicalSkillBonus"!anyvalue="(?<mechanicalskillbonusv>!num)"!anyCharacterAbilityUpgradeSubmarine!anylevel="(?<levelv>!num)"!anyCharacterAbilityGivePermanentStat stattype="MechanicalRepairSpeed"!anyvalue="(?<repairspeedv>!num)"' \
|
||||
"mechanicalskillbonus=round(mechanicalskillbonus*$smallmodifier, 2)
|
||||
xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
levelbonus=round(levelbonus*2, 2)
|
||||
repairspeed=round(repairspeed*$bigmodifier, 2)
|
||||
experiencev=xpbonus
|
||||
levelv=levelbonus
|
||||
mechanicalskillbonusv=mechanicalskillbonus
|
||||
repairspeedv=round(repairspeed/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="multifunctional">!anyvalue="(?<addeddamagemultiplier>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplierv>!num)"' \
|
||||
"addeddamagemultiplier=round(addeddamagemultiplier*$smallmodifier, 2)
|
||||
addeddamagemultiplierv=round(addeddamagemultiplier/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="salvagecrew">!anyvalue="(?<xpbonus>!num)"!anyswimbonus!anyvalue="(?<swimbonus>!num)"!anyvalue="(?<resistanceamount>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
swimbonus=round(swimbonus*$bigmodifier, 2)
|
||||
resistanceamount=round(resistanceamount*$smallmodifier, 2)
|
||||
xpbonusv=round(1+xpbonus/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="salvagecrew"!anyminresistance="(?<minresistance>!num)"!anymaxresistance="(?<maxresistance>!num)"!anySwimmingSpeed!anyvalue="(?<swimmingspeed>!num)"' \
|
||||
"minresistance=round(minresistance*$smallmodifier, 2)
|
||||
maxresistance=round(maxresistance*$smallmodifier, 2)
|
||||
swimmingspeed=round(swimmingspeed*$bigmodifier, 2)" \
|
||||
'**/AfflictionsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="modularrepairs">!anylevel!anyvalue="(?<levelbonus>!num)"!anylevel="(?<levelbonusv>!num)"!anylevel="(?<levelbonusv2>!num)"' \
|
||||
"levelbonus=round(levelbonus*2, 2)
|
||||
levelbonusv=levelbonus
|
||||
levelbonusv2=levelbonus" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="oiledmachinery">!anyvalue="(?<fabricationspeed>!num)"!anyFabricationSpeed" value="(?<fabricationspeedv>!num)"!anyDeconstructorSpeed" value="(?<deconstructorspeedv>!num)"' \
|
||||
"fabricationspeed=round(fabricationspeed*$bigmodifier, 2)
|
||||
fabricationspeedv=round(fabricationspeed/100, 2)
|
||||
deconstructorspeedv=round(fabricationspeed/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="pumpndump">!anyvalue="(?<pumpspeed>!num)"!anyPumpSpeed" value="(?<pumpspeedv>!num)"' \
|
||||
"pumpspeed=round(pumpspeed*3, 2)
|
||||
pumpspeedv=round(1+pumpspeed/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
# Not obvious what this does
|
||||
# "Unlock hull upgrades as if your submarine is one tier higher. Does not stack with multiple of the same talent."
|
||||
modify -loglevel INFO '<Talent identifier="retrofit">!anyvalue="(?<walllevel>!num)"' \
|
||||
"walllevel=round(walllevel*1, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="miner">!anyvalue="(?<doubleyieldchance>!num)"!anyvalue="(?<miningspeed>!num)"!anyvalue="(?<miningspeedv>!num)"!anyrandomchance="(?<doubleyieldchancev>!num)"' \
|
||||
"doubleyieldchance=round(doubleyieldchance*3.5, 2)
|
||||
miningspeed=round(miningspeed*2, 2)
|
||||
miningspeedv=round(1+miningspeed/100, 2)
|
||||
doubleyieldchancev=round(doubleyieldchance/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="massproduction">!anyvalue="(?<doublechance>!num)"!anyrandomChance="(?<doublechancev>!num)"' \
|
||||
"doublechance=round(doublechance*1.45, 2)
|
||||
doublechancev=round(doublechance/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="residualwaste">!anyvalue="(?<doublechance>!num)"!anyrandomChance="(?<doublechancev>!num)"' \
|
||||
"doublechance=round(doublechance*3.45, 2)
|
||||
doublechancev=round(doublechance/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="scrapsavant">!anyvalue="(?<doublechance>!num)"!anymultiplyvalue="(?<scrapmultiplier>!num)"!anyrandomchance="(?<doublechancev>!num)"' \
|
||||
"doublechance=round(doublechance*3.45, 2)
|
||||
scrapmultiplier=round(scrapmultiplier*1.5, 2)
|
||||
doublechancev=round(doublechance/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="toolmaintenance">!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<qualitybonusv>!num)"!anyvalue="(?<qualitybonusv2>!num)"' \
|
||||
"qualitybonus=round(qualitybonus*2, 2)
|
||||
qualitybonusv=qualitybonus
|
||||
qualitybonusv2=qualitybonus" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="hullfixer">!anyvalue="(?<repairtoolstructurerepairmultiplier>!num)"!anyvalue="(?<repairtoolstructurerepairmultiplierv>!num)"' \
|
||||
"repairtoolstructurerepairmultiplier=round(repairtoolstructurerepairmultiplier*$bigmodifier, 2)
|
||||
repairtoolstructurerepairmultiplierv=round(repairtoolstructurerepairmultiplier/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="quickfixer">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<duration>!num)"!anyvalue="(?<repairspeed>!num)"!anyamount="(?<durationv>!num)"' \
|
||||
"movementspeed=round(movementspeed*$smallmodifier, 2)
|
||||
duration=round(duration*$bigmodifier, 2)
|
||||
repairspeed=round(repairspeed*$bigmodifier, 2)
|
||||
durationv=duration" \
|
||||
'**/TalentsMechanic.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="quickfixer"!anyvalue="(?<movementspeedv>!num)"' \
|
||||
"movementspeedv=round(movementspeedv*$smallmodifier, 2)" \
|
||||
'**/AfflictionsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="tinkerer">!anyvalue="(?<maxrepairconditionmultipliermechanical>!num)"!anyvalue="(?<maxrepairconditionmultipliermechanicalv>!num)"' \
|
||||
"maxrepairconditionmultipliermechanical=round(maxrepairconditionmultipliermechanical*2.5, 2)
|
||||
maxrepairconditionmultipliermechanicalv=round(maxrepairconditionmultipliermechanical/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="letitdrain">!anyvalue="(?<maxpumps>!num)"!anyvalue="(?<maxpumpsv>!num)"' \
|
||||
"maxpumps=round(maxpumps*2, 2)
|
||||
maxpumpsv=maxpumps" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="robotics">!anyvalue="(?<maxdrones>!num)"' \
|
||||
"maxdrones=round(maxdrones*2, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
modify -loglevel INFO '<Item!anyidentifier="defensebotspawner"!anytotalmaxcount="(?<maxdronesv>!num)"' \
|
||||
"maxdronesv=round(maxdronesv*2, 2)" \
|
||||
'**/mechanic_talent_items.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="iamthatguy">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<skillbonus>!num)"!anySkillBonus" value="(?<skillbonusv>!num)"!anyaddedmultiplier="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$smallmodifier, 2)
|
||||
skillbonus=round(skillbonus*$smallmodifier, 2)
|
||||
skillbonusv=skillbonus
|
||||
damagebonusv=round(damagebonus/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="heavylifting">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<movementspeedv>!num)"' \
|
||||
"movementspeed=round(movementspeed*$smallmodifier, 2)
|
||||
movementspeedv=round(movementspeed/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="mudraptorwrestler">!anyvalue="(?<addeddamage>!num)"!anyvalue="(?<bonusresistance>!num)"!anyaddeddamagemultiplier="(?<addeddamagev>!num)"!anyCharacterAbilityGiveResistance resistanceid="damage" multiplier="(?<bonusresistancev>!num)"' \
|
||||
"addeddamage=round(addeddamage*$smallmodifier, 2)
|
||||
addeddamagev=round(addeddamage/100, 2)
|
||||
bonusresistance=round(bonusresistance*$smallmodifier, 2)
|
||||
bonusresistancev=round(1-bonusresistance/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="berserker">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<damagebonus>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"' \
|
||||
"hpthreshold=round(hpthreshold*1.37, 2)
|
||||
damagebonus=round(damagebonus*$smallmodifier, 2)
|
||||
hpthresholdv=round(hpthreshold/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="berserker"!anyvalue="(?<meleedamage>!num)"' \
|
||||
"meleedamage=round(meleedamage*$smallmodifier, 2)" \
|
||||
'**/AfflictionsMechanic.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="foolhardy">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<resistancebonus>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"' \
|
||||
"hpthreshold=round(hpthreshold*1.37, 2)
|
||||
resistancebonus=round(resistancebonus*$smallmodifier, 2)
|
||||
hpthresholdv=round(hpthreshold/100, 2)" \
|
||||
'**/TalentsMechanic.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="foolhardy"!anyresistancefor="damage" minresistance="(?<minresistance>!num)" maxresistance="(?<maxresistance>!num)"' \
|
||||
"minresistance=round(minresistance*$bigmodifier, 2)
|
||||
maxresistance=round(maxresistance*$bigmodifier, 2)" \
|
||||
'**/AfflictionsMechanic.xml'
|
||||
|
||||
# MECHanic is missing but I can't find its id...
|
256
cookmechanic.yml
Normal file
256
cookmechanic.yml
Normal file
@@ -0,0 +1,256 @@
|
||||
- name: ballastdenizen
|
||||
regex: <Talent identifier="ballastdenizen">!anyvalue="(?<holdbreathmultiplier>!num)"!anyCharacterAbilityGiveStat stattype="HoldBreathMultiplier" value="(?<holdbreathmultiplierv>!num)"
|
||||
lua: |
|
||||
holdbreathmultiplier=round(holdbreathmultiplier*2, 2)
|
||||
holdbreathmultiplierv=round(holdbreathmultiplier/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: engineengineer
|
||||
regex: <Talent identifier="engineengineer">!anyvalue="(?<enginemaxspeedperlevel>!num)"!anyvalue="(?<enginemaxspeedmaxvalue>!num)"!anyvalue="(?<enginemaxspeedv>!num)"!anyvalue="(?<enginemaxspeedv2>!num)"!anyvalue="(?<enginemaxspeedv3>!num)"!anyvalue="(?<enginemaxspeedv4>!num)"!anyvalue="(?<enginemaxspeedv5>!num)"!anyvalue="(?<enginemaxspeedv6>!num)"!anyvalue="(?<enginemaxspeedv7>!num)"!anyvalue="(?<enginemaxspeedv8>!num)"
|
||||
lua: |
|
||||
enginemaxspeedperlevel=round(enginemaxspeedperlevel*2, 2)
|
||||
enginemaxspeedmaxvalue=round(enginemaxspeedmaxvalue*2, 2)
|
||||
enginemaxspeedv=round(1+enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv2=round(1+2*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv3=round(1+3*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv4=round(1+4*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv5=round(1+5*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv6=round(1+6*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv7=round(1+7*enginemaxspeedperlevel/100, 2)
|
||||
enginemaxspeedv8=round(1+8*enginemaxspeedperlevel/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: machinemaniac
|
||||
regex: <Talent identifier="machinemaniac"!anyamount!anyamount!anyvalue="(?<mechanicalskillbonus>!num)"!anyxpamount!anyvalue="(?<xpbonus>!num)"!anylevel!anyvalue="(?<levelbonus>!num)"!anyamount!anyvalue="(?<repairspeed>!num)"!anyCharacterAbilityGiveExperience amount="(?<experiencev>!num)"!anyCharacterAbilityGivePermanentStat stattype="MechanicalSkillBonus"!anyvalue="(?<mechanicalskillbonusv>!num)"!anyCharacterAbilityUpgradeSubmarine!anylevel="(?<levelv>!num)"!anyCharacterAbilityGivePermanentStat stattype="MechanicalRepairSpeed"!anyvalue="(?<repairspeedv>!num)"
|
||||
lua: |
|
||||
mechanicalskillbonus=round(mechanicalskillbonus*1.5, 2)
|
||||
xpbonus=round(xpbonus*2, 2)
|
||||
levelbonus=round(levelbonus*2, 2)
|
||||
repairspeed=round(repairspeed*2, 2)
|
||||
experiencev=xpbonus
|
||||
levelv=levelbonus
|
||||
mechanicalskillbonusv=mechanicalskillbonus
|
||||
repairspeedv=round(repairspeed/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: multifunctional
|
||||
regex: <Talent identifier="multifunctional">!anyvalue="(?<addeddamagemultiplier>!num)"!anyaddeddamagemultiplier="(?<addeddamagemultiplierv>!num)"
|
||||
lua: |
|
||||
addeddamagemultiplier=round(addeddamagemultiplier*1.5, 2)
|
||||
addeddamagemultiplierv=round(addeddamagemultiplier/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: salvagecrew
|
||||
regex: <Talent identifier="salvagecrew">!anyvalue="(?<xpbonus>!num)"!anyswimbonus!anyvalue="(?<swimbonus>!num)"!anyvalue="(?<resistanceamount>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2, 2)
|
||||
swimbonus=round(swimbonus*2, 2)
|
||||
resistanceamount=round(resistanceamount*1.5, 2)
|
||||
xpbonusv=round(1+xpbonus/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
- name: salvagecrew
|
||||
regex: <Affliction!anyidentifier="salvagecrew"!anyminresistance="(?<minresistance>!num)"!anymaxresistance="(?<maxresistance>!num)"!anySwimmingSpeed!anyvalue="(?<swimmingspeed>!num)"
|
||||
lua: |
|
||||
minresistance=round(minresistance*1.5, 2)
|
||||
maxresistance=round(maxresistance*1.5, 2)
|
||||
swimmingspeed=round(swimmingspeed*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsMechanic.xml'
|
||||
|
||||
- name: modularrepairs
|
||||
regex: <Talent identifier="modularrepairs">!anylevel!anyvalue="(?<levelbonus>!num)"!anylevel="(?<levelbonusv>!num)"!anylevel="(?<levelbonusv2>!num)"
|
||||
lua: |
|
||||
levelbonus=round(levelbonus*2, 2)
|
||||
levelbonusv=levelbonus
|
||||
levelbonusv2=levelbonus
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: oiledmachinery
|
||||
regex: <Talent identifier="oiledmachinery">!anyvalue="(?<fabricationspeed>!num)"!anyFabricationSpeed" value="(?<fabricationspeedv>!num)"!anyDeconstructorSpeed" value="(?<deconstructorspeedv>!num)"
|
||||
lua: |
|
||||
fabricationspeed=round(fabricationspeed*2, 2)
|
||||
fabricationspeedv=round(fabricationspeed/100, 2)
|
||||
deconstructorspeedv=round(fabricationspeed/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: pumpndump
|
||||
regex: <Talent identifier="pumpndump">!anyvalue="(?<pumpspeed>!num)"!anyPumpSpeed" value="(?<pumpspeedv>!num)"
|
||||
lua: |
|
||||
pumpspeed=round(pumpspeed*3, 2)
|
||||
pumpspeedv=round(1+pumpspeed/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
# Not obvious what this does
|
||||
# "Unlock hull upgrades as if your submarine is one tier higher. Does not stack with multiple of the same talent."
|
||||
- name: retrofit
|
||||
regex: <Talent identifier="retrofit">!anyvalue="(?<walllevel>!num)"
|
||||
lua: |
|
||||
walllevel=round(walllevel*1, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: miner
|
||||
regex: <Talent identifier="miner">!anyvalue="(?<doubleyieldchance>!num)"!anyvalue="(?<miningspeed>!num)"!anyvalue="(?<miningspeedv>!num)"!anyrandomchance="(?<doubleyieldchancev>!num)"
|
||||
lua: |
|
||||
doubleyieldchance=round(doubleyieldchance*3.5, 2)
|
||||
miningspeed=round(miningspeed*2, 2)
|
||||
miningspeedv=round(1+miningspeed/100, 2)
|
||||
doubleyieldchancev=round(doubleyieldchance/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: massproduction
|
||||
regex: <Talent identifier="massproduction">!anyvalue="(?<doublechance>!num)"!anyrandomChance="(?<doublechancev>!num)"
|
||||
lua: |
|
||||
doublechance=round(doublechance*1.45, 2)
|
||||
doublechancev=round(doublechance/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: residualwaste
|
||||
regex: <Talent identifier="residualwaste">!anyvalue="(?<doublechance>!num)"!anyrandomChance="(?<doublechancev>!num)"
|
||||
lua: |
|
||||
doublechance=round(doublechance*3.45, 2)
|
||||
doublechancev=round(doublechance/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: scrapsavant
|
||||
regex: <Talent identifier="scrapsavant">!anyvalue="(?<doublechance>!num)"!anymultiplyvalue="(?<scrapmultiplier>!num)"!anyrandomchance="(?<doublechancev>!num)"
|
||||
lua: |
|
||||
doublechance=round(doublechance*3.45, 2)
|
||||
scrapmultiplier=round(scrapmultiplier*1.5, 2)
|
||||
doublechancev=round(doublechance/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: toolmaintenance
|
||||
regex: <Talent identifier="toolmaintenance">!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<qualitybonusv>!num)"!anyvalue="(?<qualitybonusv2>!num)"
|
||||
lua: |
|
||||
qualitybonus=round(qualitybonus*2, 2)
|
||||
qualitybonusv=qualitybonus
|
||||
qualitybonusv2=qualitybonus
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: hullfixer
|
||||
regex: <Talent identifier="hullfixer">!anyvalue="(?<repairtoolstructurerepairmultiplier>!num)"!anyvalue="(?<repairtoolstructurerepairmultiplierv>!num)"
|
||||
lua: |
|
||||
repairtoolstructurerepairmultiplier=round(repairtoolstructurerepairmultiplier*2, 2)
|
||||
repairtoolstructurerepairmultiplierv=round(repairtoolstructurerepairmultiplier/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: quickfixer
|
||||
regex: <Talent identifier="quickfixer">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<duration>!num)"!anyvalue="(?<repairspeed>!num)"!anyamount="(?<durationv>!num)"
|
||||
lua: |
|
||||
movementspeed=round(movementspeed*1.5, 2)
|
||||
duration=round(duration*2, 2)
|
||||
repairspeed=round(repairspeed*2, 2)
|
||||
durationv=duration
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
- name: quickfixer
|
||||
regex: <Affliction!anyidentifier="quickfixer"!anyvalue="(?<movementspeedv>!num)"
|
||||
lua: |
|
||||
movementspeedv=round(movementspeedv*1.5, 2)
|
||||
files:
|
||||
- '**/AfflictionsMechanic.xml'
|
||||
|
||||
- name: tinkerer
|
||||
regex: <Talent identifier="tinkerer">!anyvalue="(?<maxrepairconditionmultipliermechanical>!num)"!anyvalue="(?<maxrepairconditionmultipliermechanicalv>!num)"
|
||||
lua: |
|
||||
maxrepairconditionmultipliermechanical=round(maxrepairconditionmultipliermechanical*2.5, 2)
|
||||
maxrepairconditionmultipliermechanicalv=round(maxrepairconditionmultipliermechanical/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: letitdrain
|
||||
regex: <Talent identifier="letitdrain">!anyvalue="(?<maxpumps>!num)"!anyvalue="(?<maxpumpsv>!num)"
|
||||
lua: |
|
||||
maxpumps=round(maxpumps*2, 2)
|
||||
maxpumpsv=maxpumps
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: robotics
|
||||
regex: <Talent identifier="robotics">!anyvalue="(?<maxdrones>!num)"
|
||||
lua: |
|
||||
maxdrones=round(maxdrones*2, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
- name: defensebotspawner
|
||||
regex: <Item!anyidentifier="defensebotspawner"!anytotalmaxcount="(?<maxdronesv>!num)"
|
||||
lua: |
|
||||
maxdronesv=round(maxdronesv*2, 2)
|
||||
files:
|
||||
- '**/mechanic_talent_items.xml'
|
||||
|
||||
- name: iamthatguy
|
||||
regex: <Talent identifier="iamthatguy">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<skillbonus>!num)"!anySkillBonus" value="(?<skillbonusv>!num)"!anyaddedmultiplier="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*1.5, 2)
|
||||
skillbonus=round(skillbonus*1.5, 2)
|
||||
skillbonusv=skillbonus
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: heavylifting
|
||||
regex: <Talent identifier="heavylifting">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<movementspeedv>!num)"
|
||||
lua: |
|
||||
movementspeed=round(movementspeed*1.5, 2)
|
||||
movementspeedv=round(movementspeed/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: mudraptorwrestler
|
||||
regex: <Talent identifier="mudraptorwrestler">!anyvalue="(?<addeddamage>!num)"!anyvalue="(?<bonusresistance>!num)"!anyaddeddamagemultiplier="(?<addeddamagev>!num)"!anyCharacterAbilityGiveResistance resistanceid="damage" multiplier="(?<bonusresistancev>!num)"
|
||||
lua: |
|
||||
addeddamage=round(addeddamage*1.5, 2)
|
||||
addeddamagev=round(addeddamage/100, 2)
|
||||
bonusresistance=round(bonusresistance*1.5, 2)
|
||||
bonusresistancev=round(1-bonusresistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
|
||||
- name: berserker
|
||||
regex: <Talent identifier="berserker">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<damagebonus>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"
|
||||
lua: |
|
||||
hpthreshold=round(hpthreshold*1.37, 2)
|
||||
damagebonus=round(damagebonus*1.5, 2)
|
||||
hpthresholdv=round(hpthreshold/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
- name: berserker
|
||||
regex: <Affliction!anyidentifier="berserker"!anyvalue="(?<meleedamage>!num)"
|
||||
lua: |
|
||||
meleedamage=round(meleedamage*1.5, 2)
|
||||
files:
|
||||
- '**/AfflictionsMechanic.xml'
|
||||
|
||||
- name: foolhardy
|
||||
regex: <Talent identifier="foolhardy">!anyvalue="(?<hpthreshold>!num)"!anyvalue="(?<resistancebonus>!num)"!anyvitalitypercentage="(?<hpthresholdv>!num)"
|
||||
lua: |
|
||||
hpthreshold=round(hpthreshold*1.37, 2)
|
||||
resistancebonus=round(resistancebonus*1.5, 2)
|
||||
hpthresholdv=round(hpthreshold/100, 2)
|
||||
files:
|
||||
- '**/TalentsMechanic.xml'
|
||||
- name: foolhardy
|
||||
regex: <Affliction!anyidentifier="foolhardy"!anyresistancefor="damage" minresistance="(?<minresistance>!num)" maxresistance="(?<maxresistance>!num)"
|
||||
lua: |
|
||||
minresistance=round(minresistance*2, 2)
|
||||
maxresistance=round(maxresistance*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsMechanic.xml'
|
||||
|
||||
# MECHanic is missing but I can't find its id...
|
54
cookother.sh
54
cookother.sh
@@ -1,54 +0,0 @@
|
||||
modify -loglevel INFO '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?' \
|
||||
'capacity=capacity*2
|
||||
if not slotsperrow then return true end
|
||||
slotsperrow=1
|
||||
while slotsperrow * slotsperrow < capacity do
|
||||
slotsperrow = slotsperrow + 1
|
||||
end' \
|
||||
'**/*.xml'
|
||||
|
||||
modify \
|
||||
'<Containable!any(\s?excludeditems="[^"]+")' \
|
||||
'print(s1) s1=""' \
|
||||
'**/*.xml'
|
||||
|
||||
modify \
|
||||
'(?:maxforce|capacity|maxrechargespeed|overloadvoltage|healthmultiplier|maxhealth|fabricationspeed|deconstructionspeed|rotationspeedlowskill|offsetonselectedmultiplier|range|maxpoweroutput|meltdowndelay|maxflow|fixdurationlowskill|skillrequirementmultiplier)="\+?!num%?"' \
|
||||
'*2' \
|
||||
'**/UpgradeModules.xml'
|
||||
|
||||
modify \
|
||||
'increaseontooltip="(?<increaseontooltip>!num)"' \
|
||||
'increaseontooltip=increaseontooltip*2' \
|
||||
'**/UpgradeModules.xml'
|
||||
|
||||
modify -loglevel INFO 'reward="!num' '*4' '**/Missions.xml'
|
||||
modify -loglevel INFO 'maxstacksize="!num' '*2' '**/containers.xml' '**/tools.xml'
|
||||
modify -loglevel INFO '(blocks="[^"]+")' 's1=""' '**/TalentTrees.xml'
|
||||
modify -loglevel INFO '(?-s)LightComponent!anyrange="(!num)"' '*4' '**/*.xml'
|
||||
|
||||
modify -loglevel INFO \
|
||||
'(<TalentOptions!any>!any</TalentOptions>)' \
|
||||
'
|
||||
local talentOptions = 0
|
||||
local lines = strsplit(s1, "\n")
|
||||
for i, line in pairs(lines) do
|
||||
if string.find(line, "<TalentOption ") then
|
||||
talentOptions = talentOptions + 1
|
||||
end
|
||||
end
|
||||
|
||||
if lines[1]:find("maxchosentalents") then
|
||||
print("maxchosentalents found, updating")
|
||||
local optionsElement = lines[1]
|
||||
optionsElement = optionsElement:gsub("maxchosentalents=\"%d+\"", "maxchosentalents=\"" .. talentOptions .. "\"")
|
||||
replacement = s1:gsub(lines[1], optionsElement)
|
||||
return false
|
||||
end
|
||||
|
||||
print("maxchosentalents not found, creating")
|
||||
local optionsElement = lines[1]
|
||||
local optionsElement = optionsElement:gsub("<TalentOptions", "<TalentOptions maxchosentalents=\"" .. talentOptions .. "\"")
|
||||
replacement = s1:gsub(lines[1], optionsElement)
|
||||
' \
|
||||
'**/TalentTrees.xml'
|
76
cookother.yml
Normal file
76
cookother.yml
Normal file
@@ -0,0 +1,76 @@
|
||||
- name: containers
|
||||
regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?'
|
||||
lua: |
|
||||
capacity=capacity*2
|
||||
if not slotsperrow then return true end
|
||||
slotsperrow=1
|
||||
while slotsperrow * slotsperrow < capacity do
|
||||
slotsperrow = slotsperrow + 1
|
||||
end' \
|
||||
'**/*.xml'
|
||||
|
||||
modify \
|
||||
'<Containable!any(\s?excludeditems="[^"]+")' \
|
||||
'print(s1) s1=""
|
||||
files:
|
||||
- '**/*.xml'
|
||||
|
||||
- name: upgrade
|
||||
regex: (?:maxforce|capacity|maxrechargespeed|overloadvoltage|healthmultiplier|maxhealth|fabricationspeed|deconstructionspeed|rotationspeedlowskill|offsetonselectedmultiplier|range|maxpoweroutput|meltdowndelay|maxflow|fixdurationlowskill|skillrequirementmultiplier)="\+?!num%?"
|
||||
lua: |
|
||||
*2
|
||||
files:
|
||||
- '**/UpgradeModules.xml'
|
||||
- name: upgradetooltip
|
||||
regex: 'increaseontooltip="(?<increaseontooltip>!num)"'
|
||||
lua: |
|
||||
increaseontooltip=increaseontooltip*2
|
||||
files:
|
||||
- '**/UpgradeModules.xml'
|
||||
|
||||
- name: missionreward
|
||||
regex: 'reward="!num'
|
||||
lua: |
|
||||
*4
|
||||
files:
|
||||
- '**/Missions.xml'
|
||||
|
||||
- name: maxstacksize
|
||||
regex: 'maxstacksize="!num'
|
||||
lua: |
|
||||
*2
|
||||
files:
|
||||
- '**/*.xml'
|
||||
|
||||
- name: lightrange
|
||||
regex: '(?-s)LightComponent!anyrange="(!num)"'
|
||||
lua: |
|
||||
*4
|
||||
files:
|
||||
- '**/*.xml'
|
||||
|
||||
- name: talenttrees
|
||||
regex: (<TalentOptions!any>!any</TalentOptions>)
|
||||
lua: |
|
||||
local talentOptions = 0
|
||||
local lines = strsplit(s1, "\n")
|
||||
for i, line in pairs(lines) do
|
||||
if string.find(line, "<TalentOption ") then
|
||||
talentOptions = talentOptions + 1
|
||||
end
|
||||
end
|
||||
|
||||
if lines[1]:find("maxchosentalents") then
|
||||
print("maxchosentalents found, updating")
|
||||
local optionsElement = lines[1]
|
||||
optionsElement = optionsElement:gsub("maxchosentalents=\"%d+\"", "maxchosentalents=\"" .. talentOptions .. "\"")
|
||||
replacement = s1:gsub(lines[1], optionsElement)
|
||||
return false
|
||||
end
|
||||
|
||||
print("maxchosentalents not found, creating")
|
||||
local optionsElement = lines[1]
|
||||
local optionsElement = optionsElement:gsub("<TalentOptions", "<TalentOptions maxchosentalents=\"" .. talentOptions .. "\"")
|
||||
replacement = s1:gsub(lines[1], optionsElement)
|
||||
files:
|
||||
- '**/TalentTrees.xml'
|
168
cooksecurity.sh
168
cooksecurity.sh
@@ -1,168 +0,0 @@
|
||||
bigmodifier=2
|
||||
smallmodifier=1.5
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="buff">!anyvalue="(?<duration>!num)"!anyvalue!anyvalue="(?<resistance>!num)"!anyvalue!anyvalue="(?<durationv>!num)"!anymultiplier="(?<resistancev>!num)"' \
|
||||
"duration=round(duration*$bigmodifier, 2)
|
||||
resistance=round(resistance*$bigmodifier, 2)
|
||||
durationv=duration
|
||||
resistancev=1-round(resistance/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="firstaidtraining">!anyvalue="(?<skillbonus>!num)"!anyvalue!anyvalue="(?<potency>!num)"!anyvalue="(?<skillbonusv>!num)"!anyvalue="(?<potencyv>!num)"' \
|
||||
"skillbonus=round(skillbonus*$bigmodifier, 2)
|
||||
potency=round(potency*$bigmodifier, 2)
|
||||
skillbonusv=skillbonus
|
||||
potencyv=round(potency/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="physicalconditioning">!anyvalue="(?<movementspeed>!num)"!anyvalue!anyvalue="(?<oxygenlowresistance>!num)"!anyvalue!anyvalue="(?<movementspeedv>!num)"!anymultiplier="(?<oxygenlowresistancev>!num)"' \
|
||||
"movementspeed=round(movementspeed*$bigmodifier, 2)
|
||||
oxygenlowresistance=round(oxygenlowresistance*$bigmodifier, 2)
|
||||
movementspeedv=round(movementspeed/100, 2)
|
||||
oxygenlowresistancev=1-round(oxygenlowresistance/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="protectandserve">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<reputationbonus>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"!anyaddedvalue="(?<reputationbonusv>!num)"' \
|
||||
"xpbonus=round(xpbonus*$bigmodifier, 2)
|
||||
xpbonusv=round(1+xpbonus/100, 2)
|
||||
reputationbonus=round(reputationbonus*$bigmodifier, 2)
|
||||
reputationbonusv=round(1+reputationbonus/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="swole">!anyvalue="(?<maxhp>!num)"!anyvalue!anyvalue="(?<meleepower>!num)"!anyvalue!anyvalue="(?<maxhpv>!num)"!anyvalue="(?<meleepowerv>!num)"' \
|
||||
"maxhp=round(maxhp*$bigmodifier, 2)
|
||||
meleepower=round(meleepower*$bigmodifier, 2)
|
||||
maxhpv=round(maxhp/100, 2)
|
||||
meleepowerv=round(meleepower/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="bootcamp">!anyvalue="(?<bonusxp>!num)"!anyvalue="(?<levelthreshold>!num)"!anyvalue="(?<skillbonus>!num)"!anyminlevel="(?<levelthresholdv>!num)"!anyvalue="(?<skillbonusv>!num)"!anymaxlevel="(?<maxlevel>!num)"!anymultiplyvalue="(?<bonusxpv>!num)"' \
|
||||
"bonusxp=round(bonusxp*$bigmodifier, 2)
|
||||
levelthreshold=round(levelthreshold*$bigmodifier, 0)
|
||||
skillbonus=round(skillbonus*$bigmodifier, 2)
|
||||
levelthresholdv=levelthreshold
|
||||
skillbonusv=skillbonus
|
||||
maxlevel=levelthreshold-1
|
||||
bonusxpv=round(1+bonusxp/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="bythebook">!anyvalue="(?<money>!num)"!anyvalue="(?<xp>!num)"!anyvalue="(?<moneymax>!num)"!anyvalue="(?<xpmax>!num)"' \
|
||||
"money=round(money*$smallmodifier, 0)
|
||||
xp=round(xp*$smallmodifier, 0)
|
||||
moneymax=money*8
|
||||
xpmax=xp*8" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="weaponsmith">!anyvalue="(?<qualitybonus>!num)"!anyvalue!anyvalue="(?<qualitybonusv>!num)"' \
|
||||
"qualitybonus=round(qualitybonus*$bigmodifier, 0)
|
||||
qualitybonusv=qualitybonus" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="scavenger">!anyvalue="(?<chance>!num)"!anyrandomchance="(?<chancev>!num)"!anyPerItem="(?<chancev2>!num)"' \
|
||||
"chance=round(chance*$bigmodifier, 2)
|
||||
chancev=round(chance/100, 2)
|
||||
chancev2=round(chancev2*$bigmodifier, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="slayer">!anyvalue="(?<attackpower>!num)"!anyvalue="(?<attackpower2>!num)"!anyaddeddamagemultiplier="(?<attackpowerv>!num)"!anyaddeddamagemultiplier="(?<attackpowerv2>!num)"' \
|
||||
"attackpower=round(attackpower*$bigmodifier, 2)
|
||||
attackpower2=round(attackpower2*$bigmodifier, 2)
|
||||
attackpowerv=round(attackpower/100, 2)
|
||||
-- The other 25%, in the sea, are added on top of the first 25%
|
||||
-- To result in 50% which is in the tooltip
|
||||
-- So to maintain accuracy of the tooltip we have to increase this one by only half of our multiplier
|
||||
attackpowerv2=round(attackpower2/2/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="daringdolphin">!anyvalue="(?<swimmingspeed>!num)"!anyvalue!anyvalue="(?<swimmingspeedv>!num)"' \
|
||||
"swimmingspeed=round(swimmingspeed*$bigmodifier, 2)
|
||||
swimmingspeedv=round(swimmingspeed/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="easyturtle">!anyvalue="(?<resistance>!num)"!anymultiplier="(?<resistancev>!num)"' \
|
||||
"resistance=round(resistance*$bigmodifier, 2)
|
||||
resistancev=round(1-resistance/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="specops">!anyaddeddamagemultiplier="(?<addeddamagemultiplier>!num)"' \
|
||||
"addeddamagemultiplier=round(addeddamagemultiplier*$bigmodifier, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="beatcop">!anyvalue="(?<stunpower>!num)"!anyaddedmultiplier="(?<stunpowerv>!num)"!anyaddedmultiplier="(?<stunpowerv2>!num)"' \
|
||||
"stunpower=round(stunpower*$bigmodifier, 2)
|
||||
-- Here it's again fucking weird, the first modifier is 2x the value
|
||||
-- So we respect that too
|
||||
stunpowerv=round(stunpower*2/100, 2)
|
||||
stunpowerv2=round(stunpower/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="stonewall">!anyvalue="(?<physicaldamagereduction>!num)"!anyvalue="(?<stunresistance>!num)"!anyvalue="(?<duration>!num)"!anyamount="(?<durationv>!num)"' \
|
||||
"physicaldamagereduction=round(physicaldamagereduction*$bigmodifier, 2)
|
||||
stunresistance=round(stunresistance*$bigmodifier, 2)
|
||||
duration=round(duration*$bigmodifier, 0)
|
||||
durationv=duration" \
|
||||
'**/TalentsSecurity.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="stonewall"!anymaxstrength="(?<durationv>!num)"!anymaxstrength="(?<durationv2>!num)"!anyminresistance="(?<stunresistancev>!num)"!anymaxresistance="(?<stunresistancev2>!num)"' \
|
||||
"durationv=round(durationv*$bigmodifier, 0)
|
||||
durationv2=round(durationv2*$bigmodifier, 0)
|
||||
stunresistancev=round(stunresistancev*$bigmodifier, 2)
|
||||
stunresistancev2=round(stunresistancev2*$bigmodifier, 2)" \
|
||||
'**/AfflictionsSecurity.xml'
|
||||
|
||||
Crusty Seaman
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="inordinateexsanguination">!anyvalue="(?<damagebonus>!num)"!anymultiplier="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="implacable">!anyvalue="(?<powerincrease>!num)"!anyvalue="(?<duration>!num)"' \
|
||||
"powerincrease=round(powerincrease*$bigmodifier, 2)
|
||||
duration=round(duration*$bigmodifier, 0)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="implacable"!anyduration="(?<durationv>!num)"!anyvalue="(?<powerincreasev>!num)"' \
|
||||
"durationv=round(durationv*$bigmodifier, 0)
|
||||
powerincreasev=round(powerincreasev*$bigmodifier, 2)" \
|
||||
'**/AfflictionsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="rifleman">!anyvalue="(?<damagebonus>!num)"!anymultiplier="(?<damagebonusv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="commando">!anyvalue="(?<spreadreduction>!num)"!anyvalue="(?<powerincrease>!num)"!anymultiplier="(?<powerincreasev>!num)"!anyvalue="(?<spreadreductionv>!num)"' \
|
||||
"spreadreduction=round(spreadreduction*$bigmodifier, 2)
|
||||
powerincrease=round(powerincrease*$bigmodifier, 2)
|
||||
powerincreasev=round(powerincrease/100, 2)
|
||||
spreadreductionv=round(spreadreduction/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="tandemfire">!anyvalue="(?<damagebonus>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
modify -loglevel INFO '<Affliction!anyidentifier="tandemfire"!anyvalue="(?<damagebonusv>!num)"' \
|
||||
"damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
|
||||
'**/AfflictionsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="extrapowder">!anyvalue="(?<radius>!num)"!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<radiusv>!num)"!anyvalue="(?<damagebonusv>!num)"!anyvalue="(?<qualitybonusv>!num)"' \
|
||||
"radius=round(radius*$bigmodifier*1.5, 2)
|
||||
damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
qualitybonus=round(qualitybonus*$bigmodifier, 0)
|
||||
radiusv=round(radius/100, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
qualitybonusv=qualitybonus" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="gunrunner">!anyvalue="(?<movementspeedcarry>!num)"!anyvalue="(?<movementspeedaim>!num)"!anyvalue="(?<movementspeedaimv>!num)"!anyvalue="(?<movementspeedcarryv>!num)"' \
|
||||
"movementspeedcarry=round(movementspeedcarry*$bigmodifier, 2)
|
||||
movementspeedaim=round(movementspeedaim*$bigmodifier, 2)
|
||||
movementspeedaimv=round(movementspeedaim/100, 2)
|
||||
movementspeedcarryv=round(movementspeedcarry/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
||||
|
||||
modify -loglevel INFO '<Talent identifier="warlord">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusmax>!num)"!anymultiplier="(?<damagebonusv>!num)"!anyaddeddamagemultiplier="(?<damagebonusmaxv>!num)"' \
|
||||
"damagebonus=round(damagebonus*$bigmodifier, 2)
|
||||
damagebonusmax=round(damagebonus*5, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
damagebonusmaxv=round(damagebonusmax/100, 2)" \
|
||||
'**/TalentsSecurity.xml'
|
243
cooksecurity.yml
Normal file
243
cooksecurity.yml
Normal file
@@ -0,0 +1,243 @@
|
||||
- name: buff
|
||||
regex: <Talent identifier="buff">!anyvalue="(?<duration>!num)"!anyvalue!anyvalue="(?<resistance>!num)"!anyvalue!anyvalue="(?<durationv>!num)"!anymultiplier="(?<resistancev>!num)"
|
||||
lua: |
|
||||
duration=round(duration*2, 2)
|
||||
resistance=round(resistance*2, 2)
|
||||
durationv=duration
|
||||
resistancev=1-round(resistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: firstaidtraining
|
||||
regex: <Talent identifier="firstaidtraining">!anyvalue="(?<skillbonus>!num)"!anyvalue!anyvalue="(?<potency>!num)"!anyvalue="(?<skillbonusv>!num)"!anyvalue="(?<potencyv>!num)"
|
||||
lua: |
|
||||
skillbonus=round(skillbonus*2, 2)
|
||||
potency=round(potency*2, 2)
|
||||
skillbonusv=skillbonus
|
||||
potencyv=round(potency/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: physicalconditioning
|
||||
regex: <Talent identifier="physicalconditioning">!anyvalue="(?<movementspeed>!num)"!anyvalue!anyvalue="(?<oxygenlowresistance>!num)"!anyvalue!anyvalue="(?<movementspeedv>!num)"!anymultiplier="(?<oxygenlowresistancev>!num)"
|
||||
lua: |
|
||||
movementspeed=round(movementspeed*2, 2)
|
||||
oxygenlowresistance=round(oxygenlowresistance*2, 2)
|
||||
movementspeedv=round(movementspeed/100, 2)
|
||||
oxygenlowresistancev=1-round(oxygenlowresistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: protectandserve
|
||||
regex: <Talent identifier="protectandserve">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<reputationbonus>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"!anyaddedvalue="(?<reputationbonusv>!num)"
|
||||
lua: |
|
||||
xpbonus=round(xpbonus*2, 2)
|
||||
xpbonusv=round(1+xpbonus/100, 2)
|
||||
reputationbonus=round(reputationbonus*2, 2)
|
||||
reputationbonusv=round(1+reputationbonus/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: swole
|
||||
regex: <Talent identifier="swole">!anyvalue="(?<maxhp>!num)"!anyvalue!anyvalue="(?<meleepower>!num)"!anyvalue!anyvalue="(?<maxhpv>!num)"!anyvalue="(?<meleepowerv>!num)"
|
||||
lua: |
|
||||
maxhp=round(maxhp*2, 2)
|
||||
meleepower=round(meleepower*2, 2)
|
||||
maxhpv=round(maxhp/100, 2)
|
||||
meleepowerv=round(meleepower/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: bootcamp
|
||||
regex: <Talent identifier="bootcamp">!anyvalue="(?<bonusxp>!num)"!anyvalue="(?<levelthreshold>!num)"!anyvalue="(?<skillbonus>!num)"!anyminlevel="(?<levelthresholdv>!num)"!anyvalue="(?<skillbonusv>!num)"!anymaxlevel="(?<maxlevel>!num)"!anymultiplyvalue="(?<bonusxpv>!num)"
|
||||
lua: |
|
||||
bonusxp=round(bonusxp*2, 2)
|
||||
levelthreshold=round(levelthreshold*2, 0)
|
||||
skillbonus=round(skillbonus*2, 2)
|
||||
levelthresholdv=levelthreshold
|
||||
skillbonusv=skillbonus
|
||||
maxlevel=levelthreshold-1
|
||||
bonusxpv=round(1+bonusxp/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: bythebook
|
||||
regex: <Talent identifier="bythebook">!anyvalue="(?<money>!num)"!anyvalue="(?<xp>!num)"!anyvalue="(?<moneymax>!num)"!anyvalue="(?<xpmax>!num)"
|
||||
lua: |
|
||||
money=round(money*1.5, 0)
|
||||
xp=round(xp*1.5, 0)
|
||||
moneymax=money*8
|
||||
xpmax=xp*8
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: weaponsmith
|
||||
regex: <Talent identifier="weaponsmith">!anyvalue="(?<qualitybonus>!num)"!anyvalue!anyvalue="(?<qualitybonusv>!num)"
|
||||
lua: |
|
||||
qualitybonus=round(qualitybonus*2, 0)
|
||||
qualitybonusv=qualitybonus
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: scavenger
|
||||
regex: <Talent identifier="scavenger">!anyvalue="(?<chance>!num)"!anyrandomchance="(?<chancev>!num)"!anyPerItem="(?<chancev2>!num)"
|
||||
lua: |
|
||||
chance=round(chance*2, 2)
|
||||
chancev=round(chance/100, 2)
|
||||
chancev2=round(chancev2*2, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: slayer
|
||||
regex: <Talent identifier="slayer">!anyvalue="(?<attackpower>!num)"!anyvalue="(?<attackpower2>!num)"!anyaddeddamagemultiplier="(?<attackpowerv>!num)"!anyaddeddamagemultiplier="(?<attackpowerv2>!num)"
|
||||
lua: |
|
||||
attackpower=round(attackpower*2, 2)
|
||||
attackpower2=round(attackpower2*2, 2)
|
||||
attackpowerv=round(attackpower/100, 2)
|
||||
-- The other 25%, in the sea, are added on top of the first 25%
|
||||
-- To result in 50% which is in the tooltip
|
||||
-- So to maintain accuracy of the tooltip we have to increase this one by only half of our multiplier
|
||||
attackpowerv2=round(attackpower2/2/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: daringdolphin
|
||||
regex: <Talent identifier="daringdolphin">!anyvalue="(?<swimmingspeed>!num)"!anyvalue!anyvalue="(?<swimmingspeedv>!num)"
|
||||
lua: |
|
||||
swimmingspeed=round(swimmingspeed*2, 2)
|
||||
swimmingspeedv=round(swimmingspeed/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: easyturtle
|
||||
regex: <Talent identifier="easyturtle">!anyvalue="(?<resistance>!num)"!anymultiplier="(?<resistancev>!num)"
|
||||
lua: |
|
||||
resistance=round(resistance*2, 2)
|
||||
resistancev=round(1-resistance/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: specops
|
||||
regex: <Talent identifier="specops">!anyaddeddamagemultiplier="(?<addeddamagemultiplier>!num)"
|
||||
lua: |
|
||||
addeddamagemultiplier=round(addeddamagemultiplier*2, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: beatcop
|
||||
regex: <Talent identifier="beatcop">!anyvalue="(?<stunpower>!num)"!anyaddedmultiplier="(?<stunpowerv>!num)"!anyaddedmultiplier="(?<stunpowerv2>!num)"
|
||||
lua: |
|
||||
stunpower=round(stunpower*2, 2)
|
||||
-- Here it's again fucking weird, the first modifier is 2x the value
|
||||
-- So we respect that too
|
||||
stunpowerv=round(stunpower*2/100, 2)
|
||||
stunpowerv2=round(stunpower/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: stonewall
|
||||
regex: <Talent identifier="stonewall">!anyvalue="(?<physicaldamagereduction>!num)"!anyvalue="(?<stunresistance>!num)"!anyvalue="(?<duration>!num)"!anyamount="(?<durationv>!num)"
|
||||
lua: |
|
||||
physicaldamagereduction=round(physicaldamagereduction*2, 2)
|
||||
stunresistance=round(stunresistance*2, 2)
|
||||
duration=round(duration*2, 0)
|
||||
durationv=duration
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
- name: stonewall
|
||||
regex: <Affliction!anyidentifier="stonewall"!anymaxstrength="(?<durationv>!num)"!anymaxstrength="(?<durationv2>!num)"!anyminresistance="(?<stunresistancev>!num)"!anymaxresistance="(?<stunresistancev2>!num)"
|
||||
lua: |
|
||||
durationv=round(durationv*2, 0)
|
||||
durationv2=round(durationv2*2, 0)
|
||||
stunresistancev=round(stunresistancev*2, 2)
|
||||
stunresistancev2=round(stunresistancev2*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsSecurity.xml'
|
||||
|
||||
# Crusty Seaman
|
||||
|
||||
- name: inordinateexsanguination
|
||||
regex: <Talent identifier="inordinateexsanguination">!anyvalue="(?<damagebonus>!num)"!anymultiplier="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: implacable
|
||||
regex: <Talent identifier="implacable">!anyvalue="(?<powerincrease>!num)"!anyvalue="(?<duration>!num)"
|
||||
lua: |
|
||||
powerincrease=round(powerincrease*2, 2)
|
||||
duration=round(duration*2, 0)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
- name: implacable
|
||||
regex: <Affliction!anyidentifier="implacable"!anyduration="(?<durationv>!num)"!anyvalue="(?<powerincreasev>!num)"
|
||||
lua: |
|
||||
durationv=round(durationv*2, 0)
|
||||
powerincreasev=round(powerincreasev*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsSecurity.xml'
|
||||
|
||||
- name: rifleman
|
||||
regex: <Talent identifier="rifleman">!anyvalue="(?<damagebonus>!num)"!anymultiplier="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: commando
|
||||
regex: <Talent identifier="commando">!anyvalue="(?<spreadreduction>!num)"!anyvalue="(?<powerincrease>!num)"!anymultiplier="(?<powerincreasev>!num)"!anyvalue="(?<spreadreductionv>!num)"
|
||||
lua: |
|
||||
spreadreduction=round(spreadreduction*2, 2)
|
||||
powerincrease=round(powerincrease*2, 2)
|
||||
powerincreasev=round(powerincrease/100, 2)
|
||||
spreadreductionv=round(spreadreduction/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: tandemfire
|
||||
regex: <Talent identifier="tandemfire">!anyvalue="(?<damagebonus>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
- name: tandemfire
|
||||
regex: <Affliction!anyidentifier="tandemfire"!anyvalue="(?<damagebonusv>!num)"
|
||||
lua: |
|
||||
damagebonusv=round(damagebonusv*2, 2)
|
||||
files:
|
||||
- '**/AfflictionsSecurity.xml'
|
||||
|
||||
- name: extrapowder
|
||||
regex: <Talent identifier="extrapowder">!anyvalue="(?<radius>!num)"!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<qualitybonus>!num)"!anyvalue="(?<radiusv>!num)"!anyvalue="(?<damagebonusv>!num)"!anyvalue="(?<qualitybonusv>!num)"
|
||||
lua: |
|
||||
radius=round(radius*2*1.5, 2)
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
qualitybonus=round(qualitybonus*2, 0)
|
||||
radiusv=round(radius/100, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
qualitybonusv=qualitybonus
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: gunrunner
|
||||
regex: <Talent identifier="gunrunner">!anyvalue="(?<movementspeedcarry>!num)"!anyvalue="(?<movementspeedaim>!num)"!anyvalue="(?<movementspeedaimv>!num)"!anyvalue="(?<movementspeedcarryv>!num)"
|
||||
lua: |
|
||||
movementspeedcarry=round(movementspeedcarry*2, 2)
|
||||
movementspeedaim=round(movementspeedaim*2, 2)
|
||||
movementspeedaimv=round(movementspeedaim/100, 2)
|
||||
movementspeedcarryv=round(movementspeedcarry/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
||||
|
||||
- name: warlord
|
||||
regex: <Talent identifier="warlord">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusmax>!num)"!anymultiplier="(?<damagebonusv>!num)"!anyaddeddamagemultiplier="(?<damagebonusmaxv>!num)"
|
||||
lua: |
|
||||
damagebonus=round(damagebonus*2, 2)
|
||||
damagebonusmax=round(damagebonus*5, 2)
|
||||
damagebonusv=round(damagebonus/100, 2)
|
||||
damagebonusmaxv=round(damagebonusmax/100, 2)
|
||||
files:
|
||||
- '**/TalentsSecurity.xml'
|
Reference in New Issue
Block a user