mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
parent
dedf769e97
commit
b92e61db3f
|
@ -186,7 +186,7 @@ Flickable {
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
text: luatr("Filter")
|
text: luatr("OK")
|
||||||
// width: 200
|
// width: 200
|
||||||
// enabled: !opTimer.running
|
// enabled: !opTimer.running
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
@ -519,10 +519,12 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
data.skill.forEach(t => {
|
data.skill.forEach(t => {
|
||||||
generalText.append((t.is_related_skill ? "<font color=\"purple\"><b>" : "<b>") + luatr(t.name) +
|
if (!t.name.startsWith('#')) {
|
||||||
"</b>: " + t.description + (t.is_related_skill ? "</font>" : ""));
|
generalText.append((t.is_related_skill ? "<font color=\"purple\"><b>" : "<b>") + luatr(t.name) +
|
||||||
|
"</b>: " + t.description + (t.is_related_skill ? "</font>" : ""));
|
||||||
|
|
||||||
addSkillAudio(t.name);
|
addSkillAudio(t.name);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
findDeathAudio(general);
|
findDeathAudio(general);
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ function processPrompt(prompt) {
|
||||||
if (raw.match("%src"))
|
if (raw.match("%src"))
|
||||||
raw = raw.replace(/%src/g, getPlayerStr(src));
|
raw = raw.replace(/%src/g, getPlayerStr(src));
|
||||||
if (raw.match("%dest"))
|
if (raw.match("%dest"))
|
||||||
raw = raw.replace(/%dest/g, luatr(getPhoto(dest).general));
|
raw = raw.replace(/%dest/g, getPlayerStr(dest));
|
||||||
|
|
||||||
if (data.length > 3) {
|
if (data.length > 3) {
|
||||||
for (let i = 4; i < data.length; i++) {
|
for (let i = 4; i < data.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user