Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update royal_city_of_rabanastre.js #18

Merged
merged 1 commit into from
Dec 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions ui/raidboss/data/triggers/royal_city_of_rabanastre.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,38 +82,27 @@
tts: 'trample',
},
{
// The first two masks are known and have rp text.
regex: /:0044:I am the truth from which you run/,
regex: /:Argath Thadalfus:261A:Mask Of Truth:/,
run: function(data) {
data.maskValue = true;
data.maskKnown = true;
},
},
{
regex: /:0044:I am the lies upon which you sup/,
regex: /:Argath Thadalfus:2619:Mask Of Lies:/,
run: function(data) {
data.maskValue = false;
data.maskKnown = true;
},
},
{
regex: /:0044:I am Revelation/,
run: function(data) { data.maskKnown = false; },
},
{
id: 'Rab Argath Command Scatter',
regex: /1B:........:(\y{Name}):....:....:007B:0000:0000:0000:/,
condition: function(data, matches) { return data.me == matches[1]; },
infoText: function(data) {
if (!data.maskKnown)
return 'Move or Stop?';
if (data.maskValue)
return 'Move';
return 'Stop';
},
tts: function(data) {
if (!data.maskKnown)
return 'Move or Stop?';
if (data.maskValue)
return 'Move';
return 'Stop';
Expand All @@ -124,15 +113,11 @@
regex: /1B:........:(\y{Name}):....:....:007C:0000:0000:0000:/,
condition: function(data, matches) { return data.me == matches[1]; },
infoText: function(data) {
if (!data.maskKnown)
return 'Look Away or Towards?';
if (data.maskValue)
return 'Look Away';
return 'Look Towards';
},
tts: function(data) {
if (!data.maskKnown)
return 'Look Away or Towards?';
if (data.maskValue)
return 'Look Away';
return 'Look Towards';
Expand Down