344 lines
14 KiB
YAML
344 lines
14 KiB
YAML
- name: bountyhunter
|
|
regex: <Talent identifier="bountyhunter">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusmul>!num)"!anymultiplyvalue="(?<moneybonusmul>!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: <Talent identifier="inspirationalleader">!anyvalue="(?<xpbonus>!num)"
|
|
lua: |
|
|
xpbonus=round(xpbonus*4,2)
|
|
files:
|
|
- '**/TalentsCaptain.xml'
|
|
- name: inspirationalleader
|
|
regex: <Affliction!anyidentifier="inspirationalleader"!anystattype="SkillGainSpeed" value="(?<xpbonus>!num)"\/>
|
|
lua: |
|
|
xpbonus=round(xpbonus*4,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*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: <Talent identifier="prodigy">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusmul>!num)"
|
|
lua: |
|
|
xpbonus=round(xpbonus*4,2)
|
|
xpbonusmul=round(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*4,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*4,2)
|
|
xpbonus2=round(xpbonus2*4,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*32,2)
|
|
files:
|
|
- '**/TalentsCaptain.xml'
|
|
- name: coalitionmedal
|
|
regex: <Item!anyidentifier="coalitionmedal"!anyGiveExperience amount="(?<xpgain>!num)"
|
|
lua: |
|
|
xpgain=round(xpgain*32,2)
|
|
files:
|
|
- '**/captain_talent_items.xml'
|
|
- name: coalitioncommendation
|
|
regex: <Item!anyidentifier="coalitioncommendation"!anyGiveExperience amount="(?<xpgain>!num)"
|
|
lua: |
|
|
xpgain=round(xpgain*32,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*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'
|