Update
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
- "**/*.xml"
|
||||
|
||||
- name: talenttrees
|
||||
regex: (<TalentOptions!any>!any</TalentOptions>)
|
||||
regex: (<TalentOptions!any</TalentOptions>)
|
||||
lua: |
|
||||
local talentOptions = 0
|
||||
local lines = strsplit(s1, "\n")
|
||||
@@ -99,7 +99,7 @@
|
||||
end
|
||||
|
||||
if lines[1]:find("maxchosentalents") then
|
||||
print("maxchosentalents found, updating")
|
||||
--print("maxchosentalents found, updating")
|
||||
local optionsElement = lines[1]
|
||||
optionsElement = optionsElement:gsub("maxchosentalents=\"%d+\"", "maxchosentalents=\"" .. talentOptions .. "\"")
|
||||
replacement = s1:gsub(lines[1], optionsElement)
|
||||
@@ -114,6 +114,7 @@
|
||||
- "**/TalentTrees.xml"
|
||||
|
||||
- name: alltalents
|
||||
isolate: true
|
||||
regex: <TalentTrees>(!any)</TalentTrees>
|
||||
lua: |
|
||||
-- group by job
|
||||
|
Reference in New Issue
Block a user