- name: bountyhunter regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anymultiplyvalue="(?!num)"!anymultiplyvalue="(?!num)" lua: | xpbonus=round(xpbonus*4,2) moneybonus=round(moneybonus*4,2) xpbonusmul=round(1+xpbonus/100,2) moneybonusmul=round(1+moneybonus/100,2) files: - '**/TalentsCaptain.xml' - name: inspirationalleader regex: !anyvalue="(?!num)" lua: | xpbonus=round(xpbonus*4,2) files: - '**/TalentsCaptain.xml' - name: inspirationalleader regex: lua: | xpbonus=round(xpbonus*4,2) files: - '**/AfflictionsCaptain.xml' - name: logisticsexpert regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anymultiplyvalue="(?!num)"\/>!anymultiplyvalue="(?!num)"\/> lua: | xpbonus=round(xpbonus*4,2) moneybonus=round(moneybonus*4,2) xpbonusmul=round(1+xpbonus/100,2) moneybonusmul=round(1+moneybonus/100,2) files: - '**/TalentsCaptain.xml' - name: prodigy regex: !anyvalue="(?!num)"!anyvalue="(?!num)" lua: | xpbonus=round(xpbonus*4,2) xpbonusmul=round(xpbonus/100,2) files: - '**/TalentsCaptain.xml' - name: travelingtradesman regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anystattype="ExtraSpecialSalesCount" value="(?!num)"!anystattype="StoreSellMultiplier" value="(?!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: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyHelmSkillBonus" value="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!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: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)" lua: | xpbonus=round(xpbonus*4,2) damageres=round(damageres*2,2) xpbonusv=round(1+xpbonus/100,2) files: - '**/TalentsCaptain.xml' - name: camaraderie regex: !num)"!anymaxresistance="(?!num)" lua: | damageresmin=round(damageresmin*2,2) damageresmax=round(damageresmax*2,2) files: - '**/AfflictionsCaptain.xml' - name: downwiththeship regex: !anyswimming!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)" lua: | swimmingboost=round(swimmingboost*2,2) repairspeed=round(repairspeed*2,2) duration=round(duration*1.5,2) files: - '**/TalentsCaptain.xml' - name: downwiththeship regex: !num)"!anyvalue="(?!num)"!anyvalue="(?!num)" lua: | duration=round(duration*2,2) repairspeed=round(repairspeed*2,2) swimmingboost=round(swimmingboost*2,2) files: - '**/AfflictionsCaptain.xml' - name: evasivemaneuvers regex: !num)" lua: | duration=round(duration*1.5,2) files: - '**/AfflictionsCaptain.xml' - name: sailorwithnoname regex: !anyvalue="(?!num)"!anyMedicalSkillBonus" value="(?!num)" lua: | medicalbonus=round(medicalbonus*2,2) medicalbonusv=medicalbonus files: - '**/TalentsCaptain.xml' - name: steadytune regex: !anybuffduration!anyvalue="(?!num)"!anyrange="(?!num)"!anyimmunity!anyamount="(?!num)" lua: | buffduration=round(buffduration*1.5,2) buffdurationv=buffduration buffrange=round(buffrange*2,2) files: - '**/TalentsCaptain.xml' - name: quickdraw regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyaddeddamagemultiplier="(?!num)"!anyDualWieldingPenaltyReduction" value="(?!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: !anyvalue="(?!num)"!anyvalue="(?!num)" lua: | skillbonus1=round(skillbonus1*2,2) skillbonus2=round(skillbonus2*2,2) files: - '**/TalentsCaptain.xml' - name: deputy regex: !num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)" lua: | skillbonus1=round(skillbonus1*2,2) skillbonus2=round(skillbonus2*2,2) xpbonus1=round(xpbonus1*4,2) xpbonus2=round(xpbonus2*4,2) files: - '**/AfflictionsCaptain.xml' - name: lonewolf regex: !anyamount!anyvalue="(?!num)"!anyamount!anyvalue="(?!num)"!anyamount!anyvalue="(?!num)"!anydistance="(?!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: !num)"!anymaxresistance="(?!num)"!anyStatValue stattype="MeleeAttackMultiplier" value="(?!num)" lua: | minresistance=round(minresistance*2,2) maxresistance=round(maxresistance*2,2) meleedamage=round(meleedamage*2,2) files: - '**/AfflictionsCaptain.xml' - name: drunkensailor regex: !anyvalue="(?!num)"!anymultiplier="(?!num)" lua: | stunresistance=round(stunresistance*1.25,2) stunresistancev=round(1-(stunresistance/100),2) files: - '**/TalentsCaptain.xml' - name: bigguns regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyaddeddamagemultiplier="(?!num)"!anyDualWieldingPenaltyReduction" value="(?!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: !anyamount!anyvalue="(?!num)"!anyamount!anyvalue="(?!num)"!anyamount!anyvalue="(?!num)" lua: | repairspeed=round(repairspeed*2,2) repairtoolmultiplier=round(repairtoolmultiplier*2,2) movementspeed=round(movementspeed*2,2) files: - '**/TalentsCaptain.xml' - name: helmsman regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!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: !anyvalue="(?!num)"!anyvalue="(?!num)" lua: | extralevelgain=round(extralevelgain*2,2) movementspeed=round(movementspeed*2,2) files: - '**/TalentsCaptain.xml' - name: inspiringpresence regex: !anyvalue="(?!num)" lua: | swimspeed=round(swimspeed*2,2) files: - '**/TalentsCaptain.xml' - name: trickledown regex: !anyCharacterAbilityGiveTalentPointsToAllies amount="(?!num)"' \ # 'talentpoints=talentpoints*2' \ # '**/TalentsCaptain.xml' - name: highmorale regex: !anyduration!anyvalue="(?!num)"!anyrange="(?!num)"!anyamount="(?!num)" lua: | buffduration=round(buffduration*1.5,2) buffdurationv=buffduration buffrangev=round(buffrangev*2,2) files: - '**/TalentsCaptain.xml' - name: commendations regex: !anyvalue="(?!num)" lua: | xpgaingain=round(xpgaingain*32,2) files: - '**/TalentsCaptain.xml' - name: coalitionmedal regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyamount="(?!num)" lua: | extramoney=round(extramoney*2,2) extramissioncount=round(extramissioncount*3,2) extramoneyv=extramoney files: - '**/TalentsCaptain.xml' - name: campaigning regex: !anyvalue="(?!num)"!anyvalue="(?!num)" lua: | shipyardbuymultiplier=round(shipyardbuymultiplier*2,2) shipyardbuymultiplierv=round(shipyardbuymultiplier/100,2) files: - '**/TalentsCaptain.xml' - name: networking regex: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!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: !anyvalue="(?!num)"!anyvalue="(?!num)"!anyvalue="(?!num)"!anylevel="(?!num)"!anyamount="-(?!num)"!anyStoreBuyMultiplierAffiliated" value="(?!num)"!anyShipyardBuyMultiplierAffiliated" value="(?!num)" lua: | bonusxp=round(bonusxp*4,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'