forked from quisquous/cactbot-user
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
137 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
|
||
Options.Language = 'en'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* non-empty */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
|
||
// console.log('Language set to ' + Options.Language); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'use strict'; | ||
|
||
|
||
Options.PlayerNicks = { | ||
'Paprika Rika': 'Pap', | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
|
||
/* | ||
// Monsters located out of this range will be hidden in the overlay and 0 means | ||
// never hide monsters. Note that you have to detect the monster first, which | ||
// usually needs to be close enough to make ACT "see" the monsters at first. | ||
Options.DetectionRange = 0; | ||
// If true, only monsters will be detected (filter out players). | ||
Options.OnlyMobs = true; | ||
// If true, then text-to-speech alerts are read aloud. | ||
Options.TTS = false; | ||
// If true, then a pop sound alerts are read aloud (but will be overwrite by TTS). | ||
Options.PopSoundAlert = true; | ||
// If true, then the earliest puller of mobs will be recorded. | ||
Options.Puller = true; | ||
// If true, then the position of monster will be shown. (Only x and y) | ||
Options.Position = true; | ||
// You can add your own monster list here. | ||
// Note: you need to turn Options.OnlyMobs off if you want to detect players. | ||
Options.CustomMonsters = { | ||
'smilodon': { | ||
'name': { | ||
'en': [ | ||
'smilodonut', | ||
'SmilodON', | ||
'smilodonot', | ||
], | ||
}, | ||
'rank': 'Custom', | ||
}, | ||
}; | ||
// You can also add different options to different ranks. | ||
Options.RankOptions = { | ||
'Custom': { | ||
'Type': 'any', | ||
}, | ||
}; | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# I am but a wee little test timeline override | ||
# | ||
# This is an example of how to override your timeline. | ||
# | ||
# The original file is in: | ||
# https://github.com/quisquous/cactbot/blob/main/ui/raidboss/data/00-misc/test.txt | ||
|
||
0 "--Reset--" sync /You bid farewell to the striking dummy/ window 10000 jump 0 | ||
|
||
0 "Engage" sync /:Engage!/ window 100000,100000 | ||
0 "Start" sync /:You bow courteously to the striking dummy/ window 0,1 | ||
6 "Angry Dummy II" | ||
10 "Long Castbar IV" duration 10 | ||
12 "If you see this" | ||
13 "you have overridden" | ||
14 "the test timeline" | ||
15 "with user/raidboss.js" | ||
25 "Final Sting X" | ||
40 "Death" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
console.log('git raidboss user/raidboss/test.js file'); | ||
|
||
Options.Triggers.push({ | ||
zoneId: ZoneId.MiddleLaNoscea, | ||
overrideTimelineFile: true, | ||
timelineFile: 'test-override.txt', | ||
triggers: [ | ||
{ | ||
id: 'Test Poke', | ||
netRegex: NetRegexes.gameNameLog({ line: 'You poke the striking dummy.*?', capture: false }), | ||
preRun: function(data) { | ||
data.pokes = (data.pokes || 0) + 1; | ||
}, | ||
// Instead of printing the number of pokes with infoText like the original trigger, | ||
// This overrides the type and text of the output. | ||
alarmText: 'POKE (user file override)', | ||
}, | ||
], | ||
}); |