Fix my IP address. Display a header before listing Cardcast decks in use (which will still show up when no decks are in use, to make the feature more discoverable). Show Cardcast messages in game chat in blue.
This commit is contained in:
parent
05239299e3
commit
d948ea3879
|
@ -792,6 +792,10 @@ cah.Game.prototype.removeCardcastDeck = function(data) {
|
|||
* data Array of CardSetDatas.
|
||||
*/
|
||||
cah.Game.prototype.listCardcastDecks = function(cardSets) {
|
||||
cah.log.status_with_game(this, "The following <a target='_blank'"
|
||||
+ " href='http://www.cardcastgame.com'>Cardcast</a> decks are in use in this game (<a"
|
||||
+ " target='_blank' href='https://github.com/ajanata/PretendYoureXyzzy/wiki/Cardcast'>"
|
||||
+ "instructions</a>):", 'admin', true);
|
||||
for ( var key in cardSets) {
|
||||
var cardSetData = cardSets[key];
|
||||
this.displayCardcastDeckMessage_(cardSetData, "In use");
|
||||
|
@ -813,7 +817,7 @@ cah.Game.prototype.displayCardcastDeckMessage_ = function(deckInfo, verb) {
|
|||
+ "' (code: <a target='_blank' href='http://www.cardcastgame.com/browse/deck/" + code + "'> "
|
||||
+ code + "</a>), with " + deckInfo[cah.$.CardSetData.BLACK_CARDS_IN_DECK]
|
||||
+ " black cards and " + deckInfo[cah.$.CardSetData.WHITE_CARDS_IN_DECK] + " white cards.";
|
||||
cah.log.status_with_game(this, str, undefined, true);
|
||||
cah.log.status_with_game(this, str, 'admin', true);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -52,7 +52,7 @@ public class Constants {
|
|||
add("0:0:0:0:0:0:0:1");
|
||||
add("127.0.0.1");
|
||||
// ajanata
|
||||
add("64.13.172.41");
|
||||
add("50.131.149.255");
|
||||
// vsTerminus
|
||||
add("207.161.130.75");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue