Widget:DivineDecision
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.0.min.js"></script>
<style> div.charFilter select{ border: 1px solid #000;
color: #fff; background: #444; position: relative; width: 150px; float: left; height: 25px; margin-right: 5px;
} div.charFilter{ display: inline-block;
padding-left: 15px;
padding-right: 15px;
width: 100%;
} div.filterLeft{ float: left; } div.filterRight{ float: right; }
div#decPanel {
text-align: center; background: rgba(68,68,68,0.2); border-radius: 15px; border: 2px solid #8b4513; padding: 10px;
display: inline-block;
min-width: 100%;
}
.blur {
filter:blur(6px); transition: filter 0.3s; -webkit-transition: filter 0.3s;
}
.blur:hover {
filter:blur(0px);
}
div.campTitle{
text-align: center; font-weight: bold; padding: 3px; font-family: "Cinzel Decorative"; font-size: 35px;
}
div.dicDesc{ text-align: center; }
.dicChosen {
width: 600px; margin: 0 auto;
} .dicChoices{
display:inline; margin-bottom:30px;
width: 300px; } .dicImage{
display:block; width:inherit; margin-bottom:inherit; border-radius: 15px; border: 3px solid #F9E4CA;
}
.dicChoices table tbody, tr, td{ width: inherit; }
</style>
<script>
$("div#decPanel").prepend("
");
$("div.filterLeft").append("<select id='mainFilter'><option>Season 3</option><option>Season 4</option></select>"); $("div.filterRight").append("<select id='seasonFilter-s3'><option>The Grand Paladin Order</option><option>The Senate of Deadlantis</option><option>Azveltara Z</option><option>The Purge</option><option>Lyn Azveltara Gaiden</option><option>The Sandbolds</option><option>Galen Sunsword: Private Investigator</option><option>The Last Beenu</option><option>A Night to Remember</option></select><select id='seasonFilter-s4'><option>The Yes King</option></select>");
$("#seasonFilter-s4").hide();
$("#mainFilter").change(function() {
if($(this).val() == "Season 3") {
$("select#seasonFilter-s4").hide();
$("select#seasonFilter-s3").show();
$(".campBox").hide();
$("#GPO").show();
window.history.replaceState( {} , , location.pathname + "#s3c1");
} else if($(this).val() == "Season 4") {
$("select#seasonFilter-s3").hide();
$("select#seasonFilter-s4").show();
$(".campBox").hide();
$("#TYK").show();
window.history.replaceState( {} , , location.pathname + "#s4c1");
} });
var path = "";
var GPO = '
| <img class="dicImage" style="float:left;" src="/images/d/de/Divine_Decision_S3C1_Gwyneth_Sunsword.jpg"> |
| You believe Gwyneth Sunsword, daughter to Virgo Sunsword, should be the next Grand Paladin. Choosing this path will push Gwyneth down her darkest storyline as she she hunts down Bopen the Skeleton King. |
| <img class="dicImage" style="float:right;" src="/images/1/13/Divine_Decision_S3C1_Lance_Willakers.jpg"> |
| You believe Lance Willakers, leader of the Lightbeard Clan, should be the next Grand Paladin. Choosing this path will create the most aggressive Grand Paladin there will ever be. |
Trivia
- TaeyRurj was selected with 0.041% odds.
- TaeyRurj was actually away from their computer when the choice had occurred, and thus were unaware they had been chosen for the Divine Decision until later.
- Justin originally was the winner of this Divine Decision, and due to his high level account had an incredibly high likelihood of winning.
'; var SOD = '
| <img class="dicImage" style="float:left;" src="/images/e/e6/Divine_Decision_S3C2_Yay.jpg"> |
| You believe the Ageless of Deadlantis should go to war with the living. |
| <img class="dicImage" style="float:right;" src="/images/9/91/Divine_Decision_S3C2_Nay.jpg"> |
| You believe war would only bring ruin to Deadlantis and keep the relative peace. |
Trivia
- Caprikel was selected with 0.065% odds.
- The Divine Decision animation had de-synchronized and broken, making it unable to show who had won or what their decision was. Nisovin had revealed that the person chosen was Caprikel, and Caprikel had to state in chat what his decision was.
'; var AVZ = '
| <img class="dicImage" style="float:left;" src="/images/e/ed/Divine_Decision_S3C3_Yay.jpg"> |
| You do want Lyn Azveltara to become pregnant from one of the Characters created by the Players this campaign. |
| <img class="dicImage" style="float:right;" src="/images/c/cd/Divine_Decision_S3C3_Nay.jpg"> |
| You do not want Lyn Azveltara to have a children ever causing her to become infertile. |
Trivia
- Qazerquoi was selected with 0.068% odds.
- This was the first divine decision that worked perfectly live.
'; var TP = '
| <img class="dicImage" style="float:left;" src="/images/9/9c/Divine_Decision_S3C4_Vitali_Zankovich.jpg"> |
| You want the final boss to be the Dwarven Magician Vitali Zankovich. Vitali is known to be sympathetic to the Ageless Curse. This will create an easier final encounter for the Players. |
| <img class="dicImage" style="float:right;" src="/images/2/25/Divine_Decision_S3C4_Lance_Willakers.jpg"> |
| You want the final boss to be the Dwarven Paladin Lance Willakers. Lance thinks Ageless beings are already dead and will stop at nothing to destroy all of them... at least for now. This will create a deadly final encounter for the Players. |
Trivia
- argetbrisingr was selected with 0.071% odds.
- The Divine Decision animation had broken, making it unable to show what his decision was, and also making an image of argetbrisinger\'s avatar perpetually grow to fill the screen. Rob had to silence chat so that argetbrisingr could tell everyone his decision.
'; var LAG = '
| <img class="dicImage" style="float:left;" src="/images/3/3c/Divine_Decision_S3C5_Yes.jpg"> |
| The visions Old Gods witness always come true. These are visions of destiny. Visions in URealms can always be trusted. |
| <img class="dicImage" style="float:right;" src="/images/d/d1/Divine_Decision_S3C5_No.jpg"> |
| The visions Old Gods witness are used to manipulate the Characters who suffer through them. Visions in URealms cannot be trusted. |
Trivia
- Solarice was selected with 0.071% odds.
- When the time came for an Old God to be picked, no image or name appeared on screen, and the screen then glowed and stayed golden. Solarice had to be asked in chat what they had chosen.
'; var TSB = '
| <img class="dicImage" style="float:left;" src="/images/5/50/Divine_Decision_S3C6_Destroy.jpg"> |
| Maelstrom will now attempt a forceful takeover of the Sandbolds by killing them all one by one. He may try to convert a Player or two to his side, however should the Old Gods wish it more than anything else they have wished for, Maelstrom could end up being a Dragon in this encounter. |
| <img class="dicImage" style="float:right;" src="/images/9/94/Divine_Decision_S3C6_Command.jpg"> |
| Maelstrom, alongside one of the most powerful wizards in the realm, will attempt to convince the Sandbolds and the Players to pledge loyalty to him and join his new order. Maelstrom will not fight in this encounter and instead the players will have to fight opponents equal to them in skill. Who is this wizard that brings the perfect Spell to convince all of the Sandbolds and Players to join Maelstrom whether they wish it or not? |
'; var GSPI = '
| <img class="dicImage" style="float:left;" src="/images/e/e7/Divine_Decision_S3C7_Roamin.jpg"> |
| You believe Roamin would make the best Traitor. |
| <img class="dicImage" style="float:right;" src="/images/9/98/Divine_Decision_S3C7_DeadBones.jpg"> |
| You believe DeadBones would make the best Traitor. |
Trivia
- Laito was selected with 0.076% odds.
'; var TLB = '
| <img class="dicImage" style="float:left;" src="/images/f/fe/Divine_Decision_S3C8_Freedom.jpg"> |
| The Old Gods will cure Ghostblade of the ailments that have crippled and caused him to be imprisoned by the Sandbolds for over half a century. This will cause a Sin on Ghostblade's arm and force a fate worse than death onto the next Player Character who dies from a Basic Death Roll in future Campaigns. |
| <img class="dicImage" style="float:right;" src="/images/a/a8/Divine_Decision_S3C8_Suffering.jpg"> |
| The Old Gods will command Maelstrom to bestow a fate worse than death onto Ghostblade by cursing one of the Characters in this Campaign with the 5th and final Sin of the Unforgotten. The Old Gods will not be told which Character will bear this Sin. |
Trivia
- Shadowdancerbob was selected with 0.074% odds.
'; var ANTR = '
| <img class="dicImage" style="float:left;" src="/images/2/2c/Divine_Decision_S3C9_Dragon.jpg"> |
| You would like to see Old Man Willakers die to a Character who becomes a Dragon. Only the person who picks this week's Divine Decision will know the result until the season finale and they do not have to share or tell the truth about which way they truly voted. #notricks |
| <img class="dicImage" style="float:right;" src="/images/f/f7/Divine_Decision_S3C9_Old_God.jpg"> |
| You would like to see Old Man Willakers killed by one of the Old Gods' very own creations. Only the person who picks this week's Divine Decision will know the result until the season finale and they do not have to share or tell the truth about which way they truly voted. #notricks |
Trivia
- Blight was selected with 0.076% odds.
- Blight chose to hide their choice completely from the community.
'; var TYK = '
| <img class="dicImage" style="float:left;" src="/images/5/58/Divine_Decision_S4C1_Love.jpg"> |
| Show Bopen a vision of what he loves most. All Old Gods will be awarded 1000 extra gold this Campaign should Bopen witness this vision. |
| <img class="dicImage" style="float:right;" src="/images/a/ac/Divine_Decision_S4C1_Hate.jpg"> |
| Show Bopen a vision of what he hates most. There will be immediate consequences should Bopen witness this vision. |
| <img class="dicImage" style="float:left;" src="/images/a/a2/Divine_Decision_S4C1_Living.jpg"> |
| The Scrooge will join the side of the living and ally up with the Elves, Dwarves, and Grand Paladin Order. The Players will be given the option to play as a Scrooge Character in a future Campaign. |
| <img class="dicImage" style="float:right;" src="/images/7/74/Divine_Decision_S4C1_Ageless.jpg"> |
| The Scrooge will join the Ageless in this war against the living as mercenaries after conversing with Bopen. Up to 3 Scrooge Characters may come to aid the Players in the final encounter of this Campaign. |
| <img class="dicImage" style="float:left;" src="/images/8/84/Divine_Decision_S4C1_The_Fort.jpg"> |
| Phineas Barringster will reveal information about his family's hidden vault known as the Barringster Fort, where many riches are stored ‐ even gold from other Divines. Bopen's next adventure with the Players will be to invade the Barringster Fort! |
| <img class="dicImage" style="float:right;" src="/images/f/fe/Divine_Decision_S4C1_The_Den.jpg"> |
| Having tasted the divine gold power for himself, Bopen will now seek out another source of Divine gold, which will ultimately lead him to the Dragon Den discovered by the Grand Paladin Order. Bopen's next adventure with the Players will be to raid the Den of Devils! |
Trivia
- Connormur was selected with 0.126% odds.
- StormAlchemist was selected with 0.107% odds.
- Beepatron was selected with 0.160% odds.
';
$("#contHolder").append(GPO); $("#contHolder").append(SOD); $("#contHolder").append(AVZ); $("#contHolder").append(TP); $("#contHolder").append(LAG); $("#contHolder").append(TSB); $("#contHolder").append(GSPI); $("#contHolder").append(TLB); $("#contHolder").append(ANTR);
$("#contHolder").append(TYK);
/* On S3 select change */ $("#seasonFilter-s3").change(function() { $(".campBox").hide();
if($(this).val() == "The Grand Paladin Order"){ $("#GPO").show(); path = "#s3c1"; } if($(this).val() == "The Senate of Deadlantis"){ $("#SOD").show(); path = "#s3c2"; } if($(this).val() == "Azveltara Z"){ $("#AVZ").show(); path = "#s3c3"; } if($(this).val() == "The Purge"){ $("#TP").show(); path = "#s3c4"; } if($(this).val() == "Lyn Azveltara Gaiden"){ $("#LAG").show(); path = "#s3c5"; } if($(this).val() == "The Sandbolds"){ $("#TSB").show(); path = "#s3c6"; } if($(this).val() == "Galen Sunsword: Private Investigator"){ $("#GSPI").show(); path = "#s3c7"; } if($(this).val() == "The Last Beenu"){ $("#TLB").show(); path = "#s3c8"; } if($(this).val() == "A Night to Remember"){ $("#ANTR").show(); path = "#s3c9"; } var url = location.href; url = url.substring(0, url.indexOf("#")); window.history.replaceState( {} , , url + path); });
/* On S4 select change */ $("#seasonFilter-s4").change(function() { $(".campBox").hide();
if($(this).val() == "The Yes King"){ $("#TYK").show(); path = "#s4c1"; }
var url = location.href; url = url.substring(0, url.indexOf("#")); window.history.replaceState( {} , , url + path); });
$(window).on("load", function() { var loc = location.href; loc = loc.substring(loc.indexOf("#") + 1); if(loc == "s3c1"){ $('#seasonFilter-s3').val("The Grand Paladin Order").change(); onChange(); } if(loc == "s3c2"){ $('#seasonFilter-s3').val("The Senate of Deadlantis").change(); onChange(); } if(loc == "s3c3"){ $('#seasonFilter-s3').val("Azveltara Z").change(); onChange(); } if(loc == "s3c4"){ $('#seasonFilter-s3').val("The Purge").change(); onChange(); } if(loc == "s3c5"){ $('#seasonFilter-s3').val("Lyn Azveltara Gaiden").change(); onChange(); } if(loc == "s3c6"){ $('#seasonFilter-s3').val("The Sandbolds").change(); onChange(); } if(loc == "s3c7"){ $('#seasonFilter-s3').val("Galen Sunsword: Private Investigator").change(); onChange(); } if(loc == "s3c8"){ $('#seasonFilter-s3').val("The Last Beenu").change(); onChange(); } if(loc == "s3c9"){ $('#seasonFilter-s3').val("A Night to Remember").change(); onChange(); } if(loc == "s4c1"){ $('#mainFilter').val("Season 4").change(); $('#seasonFilter-s4').val("The Yes King").change(); onChange(); } });
function onChange() {
$(".campBox").hide();
if($('#seasonFilter-s3').val() == "The Grand Paladin Order" && $('#seasonFilter-s3').is(':visible')){ $("#GPO").show(); path = "#s3c1"; } if($('#seasonFilter-s3').val() == "The Senate of Deadlantis" && $('#seasonFilter-s3').is(':visible')){ $("#SOD").show(); path = "#s3c2"; } if($('#seasonFilter-s3').val() == "Azveltara Z" && $('#seasonFilter-s3').is(':visible')){ $("#AVZ").show(); path = "#s3c3"; } if($('#seasonFilter-s3').val() == "The Purge" && $('#seasonFilter-s3').is(':visible')){ $("#TP").show(); path = "#s3c4"; } if($('#seasonFilter-s3').val() == "Lyn Azveltara Gaiden" && $('#seasonFilter-s3').is(':visible')){ $("#LAG").show(); path = "#s3c5"; } if($('#seasonFilter-s3').val() == "The Sandbolds" && $('#seasonFilter-s3').is(':visible')){ $("#TSB").show(); path = "#s3c6"; } if($('#seasonFilter-s3').val() == "Galen Sunsword: Private Investigator" && $('#seasonFilter-s3').is(':visible')){ $("#GSPI").show(); path = "#s3c7"; } if($('#seasonFilter-s3').val() == "The Last Beenu" && $('#seasonFilter-s3').is(':visible')){ $("#TLB").show(); path = "#s3c8"; } if($('#seasonFilter-s3').val() == "A Night to Remember" && $('#seasonFilter-s3').is(':visible')){ $("#ANTR").show(); path = "#s3c9"; } if($('#seasonFilter-s4').val() == "The Yes King" && $('#seasonFilter-s4').is(':visible')){ $("#TYK").show(); path = "#s4c1"; }
var url = location.href; url = url.substring(0, url.indexOf("#")); window.history.replaceState( {} , , url + path); }
//Default $(".campBox").hide(); $("#GPO").show(); if(location.href.indexOf("#") < 0) { window.history.replaceState( {} , , location.pathname + "#s3c1");
}
</script>


