MediaWiki:Common.js

/*

=
============== Clicker 1 Calculator

=
==============

/*

=
============== Clicker 2 Calculator

=
==============

$(function {	var endDateDiv = document.getElementById("Clicker2_EndDate");	if (endDateDiv == null) return;	var endDate = new Date(endDateDiv.innerText);	var curDate = Date.now;	var diffDate = endDate-curDate;	var days = Math.floor(diffDate/1000/60/60/24);	var hours = Math.floor(diffDate/1000/60/60) % 24;	var minutes = Math.floor(diffDate/1000/60) % 60;	document.getElementById("Clicker2_Countdown").innerText = "Event ends in: " + days + "d " + hours + "h " + minutes + "m "; 	$('#Clicker2_Stage').html('');	$('#Clicker2_XP').html('');	$('#Clicker2_Wine').html('');

$('#Clicker2_Brewer2').html('Brewer level 2 '); $('#Clicker2_Brewer3').html('Brewer level 3 '); $('#Clicker2_Brewer4').html('Brewer level 4 '); $('#Clicker2_Shunga2').html('Shunga level 2 '); $('#Clicker2_Shunga3').html('Shunga level 3 '); $('#Clicker2_Shunga4').html('Shunga level 4 '); });

var clicker2StageInfo = [ {       xp: 8000, unlockRatio: [0, 0.5], xpForUnlock: [4000, 4000] },   {        xp: 28000, unlockRatio: [0, 0.5], xpForUnlock: [14000, 14000] },   {        xp: 58000, unlockRatio: [0, 0.2, 0.6], xpForUnlock: [11600, 23200, 23200] },       {        xp: 173000, unlockRatio: [0, 0.2, 0.5, 0.7], xpForUnlock: [34600, 51900, 34600, 51900] } ];

function calcClicker2 {	var stage = parseInt($("#StageInput").value); var xp = parseInt($("#XPInput").value); var wine = parseInt($("#Clicker2_Wine").value); alert(stage);

for (var i=1; i<stage; i++) {       var checkbox = $('Clicker2_Brewer' + (i+1) + '_checkbox'); checkbox.checked = true; checkbox.attr('disabled', true); }	var winePerHour = [24, 30, 42, 54]; // wine cost per shuga is 1, 2, 4, 6 and click power 10,40,120, 360 var xpPerWine = [10, 20, 30, 60] ; var endDate = new Date(document.getElementById("Clicker2_EndDate").innerText); var curDate = Date.now; var diffDate = endDate-curDate; var stageInfo = clicker2StageInfo[stage-1]; // progress percent var progress = stageInfo.xp / xp; // find the current clicking power var index = 0; for (var i=0; i < stageInfo.unlockRatio.length; i++) {		if (progress >= stageInfo.unlockRatio[i]) {			index = i;

}	}	var clickPower = xpPerWine[index]; // get the progress made twards the next shuga var xpRemainder = (progress - stageInfo.unlockRatio[index]) * stageInfo.xp; var xpTillNextShunga = stageInfo.xpForUnlock[index] - xpRemainder; }

/*

=
============== Hero Search

=
============== var classFilter = ''; var factionFilter = ''; var tierFilter = '';

$(function {	$('#HeroSearch').html(''); });

$('#ClassSearch').children('div').on('click', function(e) {	var value = this.children[0].title;	if (classFilter === value)	{		classFilter = ;	}	else	{		classFilter = value;	}	var p = document.getElementById("ClassSearch");	for(var i=0; i<p.children.length; i++)	{		var c = p.children[i];		if(classFilter === )		{			c.style.opacity = 1;				} 		else if (c.children[0].title === classFilter)		{			c.style.opacity = 1;		}		else		{			c.style.opacity = 0.5;			}	}	FilterHeroes; });

$('#FactionSearch').children('div').on('click', function(e) {	var value = this.children[0].title;	if (factionFilter === value)	{		factionFilter = ;	}	else	{		factionFilter = value;	}	var p = document.getElementById("FactionSearch");	for(var i=0; i<p.children.length; i++)	{		var c = p.children[i];		if(factionFilter === )		{			c.style.opacity = 1;				} 		else if (c.children[0].title === factionFilter)		{			c.style.opacity = 1;		}		else		{			c.style.opacity = 0.5;			}	}	FilterHeroes; });

$('#TierSearch').children('div').on('click', function(e) {	var value = this.children[0].title;	if (tierFilter === value)	{		tierFilter = ;	}	else	{		tierFilter = value;	}	var p = document.getElementById("TierSearch");	for(var i=0; i<p.children.length; i++)	{		var c = p.children[i];		if(tierFilter === )		{			c.style.opacity = 1;				} 		else if (c.children[0].title === tierFilter)		{			c.style.opacity = 1;		}		else		{			c.style.opacity = 0.5;			}	}	FilterHeroes; });

function FilterHeroes {	var heroListDiv = document.getElementById("HeroList"); if (heroListDiv == null) return; var heroes = heroListDiv; var filter = document.getElementById("HeroSearchBox").value.toUpperCase; for(var i=0; i<heroes.children.length; i++) {		var validText = false; var validClass = false; var validFaction = false; var validTier = false; var child = heroes.children[i]; validText = filter === '' || child.children["name"].innerText.toUpperCase.indexOf(filter) > -1; validClass = classFilter === '' || child.children["class"].innerText.toUpperCase.indexOf(classFilter.toUpperCase) > -1; validFaction = factionFilter === '' || child.children["faction"].innerText.toUpperCase.indexOf(factionFilter.toUpperCase) > -1; validTier = tierFilter === '' || child.children["tier"].innerText.toUpperCase.indexOf(tierFilter.toUpperCase) > -1; if (validText && validClass && validFaction && validTier) {			child.style.display = ''; }		else {			child.style.display = 'none'; }	} }

/*

=
============== Skill search function below

=
==============

var parsingData = [ {		"type": "priority", "name": "front row", "keywords": ["FRONT ROW"] },	{		"type": "priority", "name": "back row", "keywords": ["BACK ROW"] },	{		"type": "target", "name": "self", "keywords": ["SELF", "OWN"] },	{		"type": "target", "name": "random", "keywords": ["RANDOM", "PARTY HEROES"] },	{		"type": "target", "name": "all", "keywords": ["ALL PARTY HEROES", "EXCEPT SELF"] },	{		"type": "target", "name": "mage", "keywords": [" MAGE"] },	{		"type": "target", "name": "support", "keywords": ["SUPPORT"] },	{		"type": "target", "name": "ranger", "keywords": ["RANGER"] },	{		"type": "target", "name": "tank", "keywords": ["TANK"] },	{		"type": "target", "name": "assassin", "keywords": ["ASSASSIN"] },	{		"type": "target", "name": "warrior", "keywords": ["WARRIOR"] },	{		"type": "target", "name": "penglai", "keywords": ["PENGLAI"] },	{		"type": "target", "name": "western alliance", "keywords": ["WESTERN ALLIANCE"] },   {		"type": "target", "name": "lowest HP", "keywords": ["LOWEST HP"] },   {		"type": "target", "name": "highest HP", "keywords": ["HIGHEST HP"] },	{		"type": "target", "name": "highest ATK", "keywords": ["HIGHEST ATK"] },	{		"type": "target", "name": "highest Energy", "keywords": ["HIGHEST ENERGY", "HIGHEST ENERGIES"] },	{		"type": "target", "name": "lowest Energy", "keywords": ["LOWEST ENERGY", "LOWEST ENERGIES"] },   {		"type": "target", "name": "lowest PDEF", "keywords": ["LOWEST PDEF", "LOWEST PHYSICAL DEFENSE"] },   {		"type": "damageType", "name": "true", "keywords": ["TRUE DAMAGE"] },   {		"type": "damageType", "name": "physical", "keywords": ["PHYSICAL DAMAGE"] },   {		"type": "damageType", "name": "magic", "keywords": ["MAGIC DAMAGE"] },   {		"type": "damageType", "name": "elemental", "keywords": ["ELEMENTAL DAMAGE"] },   {		"type": "damageType", "name": "crit", "keywords": ["CRIT DAMAGE"] },	{		"type": "statusEffect", "name": "weaken", "keywords": ["WEAKEN"] },	{		"type": "statusEffect", "name": "strengthen", "keywords": ["STRENGTHEN"] },   {		"type": "statusEffect", "name": "taunt", "keywords": ["TAUNT"] },   {		"type": "statusEffect", "name": "stun", "keywords": ["STUN"] },   {		"type": "statusEffect", "name": "silence", "keywords": ["SILENCE"] },	{		"type": "statusEffect", "name": "steal", "keywords": ["STEAL"] },	{		"type": "statusEffect", "name": "paralysis", "keywords": ["PARALYSIS"] },	{		"type": "statusEffect", "name": "petrify", "keywords": ["PETRIFY"] },   {		"type": "statusEffect", "name": "poison", "keywords": ["POISON"] },	{		"type": "statusEffect", "name": "burn", "keywords": ["BURN"] },   {		"type": "statusEffect", "name": "hidden", "keywords": ["HIDING"] },	{		"type": "statusEffect", "name": "immune", "keywords": ["IMMUNE"] },   {		"type": "statusEffect", "name": "dispel", "keywords": ["DISPEL"] },	{		"type": "statusEffect", "name": "purify", "keywords": ["PURIFY"] },	{		"type": "statusEffect", "name": "guardian", "keywords": ["GUARDIAN"] },   {		"type": "statusEffect", "name": "heal", "keywords": ["CAST A HEALING", "CASTS A HEALING", "CASTING A HEALING", "CAST A RECOVERY", "CASTS A RECOVERY", "RECOVER HP", "RECOVERS HP"] },	{		"type": "statusEffect", "name": "heal up", "keywords": ["INCREASE THE RATE OF HEALING", "INCREASES THE RATE OF HEALING"] },	{		"type": "statusEffect", "name": "heal down", "keywords": ["HEALING EFFECTS ON THE TARGET IS REDUCED", "HEALING EFFECT ON THE AFFECTED TARGET IS REDUCED"] },	{		"type": "statusEffect", "name": "HP up", "keywords": ["INCREASE THE HP", "INCREASES THE HP", "INCREASING THE HP", "INCREASE OWN HP", "INCREASES OWN HP", "INCREASING OWN HP", "INCREASE SELF HP", "INCREASES SELF HP", "INCREASING SELF HP", "INCREASE THEIR HP", "INCREASES THEIR HP", "INCREASING THEIR HP", "INCREASE THE TARGET'S HP", "INCREASES THE TARGET'S HP", "INCREASING THE TARGET'S HP", "INCREASE THE AFFECTED TARGET'S HP", "INCREASES THE AFFECTED TARGET'S HP", "INCREASING THE AFFECTED TARGET'S HP"] },	{		"type": "statusEffect", "name": "HP down", "keywords": ["CONSUMES HP", "DEDUCTS OF THE CASTER'S HP"] },   {		"type": "statusEffect", "name": "energy up", "keywords": ["ADDITIONAL ENERGIES", "CAST AN ENERGY GRANT", "CASTS AN ENERGY GRANT"] },	{		"type": "statusEffect", "name": "energy down", "keywords": ["ENERGY REDUCTION", "REDUCES ENERGY", "REDUCES ENERGIES"] },	{		"type": "statusEffect", "name": "speed up", "keywords": ["INCREASE THE SPEED", "INCREASES THE SPEED", "INCREASING THE SPEED", "INCREASE OWN SPEED", "INCREASES OWN SPEED", "INCREASING OWN SPEED", "INCREASE SELF SPEED", "INCREASES SELF SPEED", "INCREASING SELF SPEED", "INCREASE THEIR SPEED", "INCREASES THEIR SPEED", "INCREASING THEIR SPEED", "INCREASE THE TARGET'S SPEED", "INCREASES THE TARGET'S SPEED", "INCREASING THE TARGET'S SPEED", "INCREASE THE AFFECTED TARGET'S SPEED", "INCREASES THE AFFECTED TARGET'S SPEED", "INCREASING THE AFFECTED TARGET'S SPEED"] },	{		"type": "statusEffect", "name": "speed down", "keywords": ["DECREASE THE SPEED", "DECREASES THE SPEED", "DECREASING THE SPEED", "REDUCING THE SPEED", "DECREASE OWN SPEED", "DECREASES OWN SPEED", "DECREASING OWN SPEED", "REDUCING OWN SPEED", "DECREASE SELF SPEED", "DECREASES SELF SPEED", "DECREASING SELF SPEED", "REDUCING SELF SPEED", "DECREASE THEIR SPEED", "DECREASES THEIR SPEED", "DECREASING THEIR SPEED", "REDUCING THEIR SPEED", "DECREASE THE TARGET'S SPEED", "DECREASES THE TARGET'S SPEED", "DECREASING THE TARGET'S SPEED", "REDUCING THE TARGET'S SPEED", "DECREASE THE AFFECTED TARGET'S SPEED", "DECREASES THE AFFECTED TARGET'S SPEED", "DECREASING THE AFFECTED TARGET'S SPEED", "REDUCING THE AFFECTED TARGET'S SPEED",] },   {		"type": "statusEffect", "name": "CRIT up", "keywords": ["CRIT CHANCE", "INCREASE THE CRIT RATE", "INCREASES THE CRIT RATE", "INCREASING THE CRIT RATE", "INCREASE OWN CRIT RATE", "INCREASES OWN CRIT RATE", "INCREASING OWN CRIT RATE", "INCREASE SELF CRIT RATE", "INCREASES SELF CRIT RATE", "INCREASING SELF CRIT RATE", "INCREASE THEIR CRIT RATE", "INCREASES THEIR CRIT RATE", "INCREASING THEIR CRIT RATE", "INCREASE THE TARGET'S CRIT RATE", "INCREASES THE TARGET'S CRIT RATE", "INCREASING THE TARGET'S CRIT RATE", "INCREASE THE AFFECTED TARGET'S CRIT RATE", "INCREASES THE AFFECTED TARGET'S CRIT RATE", "INCREASING THE AFFECTED TARGET'S CRIT RATE", ] },   {		"type": "statusEffect", "name": "CRIT down", "keywords": ["DECREASE THE CRIT RATE", "DECREASES THE CRIT RATE", "DECREASING THE CRIT RATE", "REDUCING THE CRIT RATE", "DECREASE OWN CRIT RATE", "DECREASES OWN CRIT RATE", "DECREASING OWN CRIT RATE", "REDUCING OWN CRIT RATE", "DECREASE SELF CRIT RATE", "DECREASES SELF CRIT RATE", "DECREASING SELF CRIT RATE", "REDUCING SELF CRIT RATE", "DECREASE THEIR CRIT RATE", "DECREASES THEIR CRIT RATE", "DECREASING THEIR CRIT RATE", "REDUCING THEIR CRIT RATE", "DECREASE THE TARGET'S CRIT RATE", "DECREASES THE TARGET'S CRIT RATE", "DECREASING THE TARGET'S CRIT RATE", "REDUCING THE TARGET'S CRIT RATE", "DECREASE THE AFFECTED TARGET'S CRIT RATE", "DECREASES THE AFFECTED TARGET'S CRIT RATE", "DECREASING THE AFFECTED TARGET'S CRIT RATE", "REDUCING THE AFFECTED TARGET'S CRIT RATE"] },   {		"type": "statusEffect", "name": "CDMG up", "keywords": ["INCREASE SELF CRIT DAMAGE", "INCREASES SELF CRIT DAMAGE", "INCREASING SELF CRIT DAMAGE", "INCREASE OWN CRIT DAMAGE", "INCREASES OWN CRIT DAMAGE", "INCREASING OWN CRIT DAMAGE", "INCREASE THEIR CRIT DAMAGE", "INCREASES THEIR CRIT DAMAGE", "INCREASING THEIR CRIT DAMAGE", "INCREASE THE TARGET'S CRIT DAMAGE", "INCREASES THE TARGET'S CRIT DAMAGE", "INCREASING THE TARGET'S CRIT DAMAGE", "INCREASE THE AFFECTED TARGET'S CRIT DAMAGE", "INCREASES THE AFFECTED TARGET'S CRIT DAMAGE", "INCREASING THE AFFECTED TARGET'S CRIT DAMAGE", "INCREASE SELF CDMG", "INCREASES SELF CDMG", "INCREASING SELF CDMG", "INCREASE OWN CDMG", "INCREASES OWN CDMG", "INCREASING OWN CDMG", "INCREASE THEIR CDMG", "INCREASES THEIR CDMG", "INCREASING THEIR CDMG", "INCREASE THE TARGET'S CDMG", "INCREASES THE TARGET'STHE TARGET'S CDMG", "INCREASING THE TARGET'S CDMG", "INCREASE THE AFFECTED TARGET'S CDMG", "INCREASES THE AFFECTED TARGET'S CDMG", "INCREASING THE AFFECTED TARGET'S CDMG" ]	},   {		"type": "statusEffect", "name": "CDMG down", "keywords": ["DECREASE SELF CRIT DAMAGE", "DECREASES SELF CRIT DAMAGE", "DECREASING SELF CRIT DAMAGE", "REDUCING SELF CRIT DAMAGE", "DECREASE OWN CRIT DAMAGE", "DECREASES OWN CRIT DAMAGE", "DECREASING OWN CRIT DAMAGE", "REDUCING OWN CRIT DAMAGE", "DECREASE THEIR CRIT DAMAGE", "DECREASES THEIR CRIT DAMAGE", "DECREASING THEIR CRIT DAMAGE", "REDUCING THEIR CRIT DAMAGE", "DECREASE THE TARGET'S CRIT DAMAGE", "DECREASES THE TARGET'S CRIT DAMAGE", "DECREASING THE TARGET'S CRIT DAMAGE", "REDUCING THE TARGET'S CRIT DAMAGE", "DECREASE THE AFFECTED TARGET'S CRIT DAMAGE", "DECREASES THE AFFECTED TARGET'S CRIT DAMAGE", "DECREASING THE AFFECTED TARGET'S CRIT DAMAGE", "REDUCING THE AFFECTED TARGET'S CRIT DAMAGE", "DECREASE SELF CDMG", "DECREASES SELF CDMG", "DECREASING SELF CDMG", "REDUCING SELF CDMG", "DECREASE OWN CDMG", "DECREASES OWN CDMG", "DECREASING OWN CDMG", "REDUCING OWN CDMG", "DECREASE THEIR CDMG", "DECREASES THEIR CDMG", "DECREASING THEIR CDMG", "REDUCING THEIR CDMG", "DECREASE THE TARGET'S CDMG", "DECREASES THE TARGET'S CDMG", "DECREASING THE TARGET'S CDMG", "REDUCING THE TARGET'S CDMG", "DECREASE THE AFFECTED TARGET'S CDMG", "DECREASES THE AFFECTED TARGET'S CDMG", "DECREASING THE AFFECTED TARGET'S CDMG", "REDUCING THE AFFECTED TARGET'S CDMG", ]	},   {		"type": "statusEffect", "name": "ATK up", "keywords": ["INCREASE ATK", "INCREASES ATK", "INCREASING ATK", "INCREASE SELF ATK", "INCREASES SELF ATK", "INCREASING SELF ATK", "INCREASE OWN ATK", "INCREASES OWN ATK", "INCREASING OWN ATK", "INCREASE THEIR ATK", "INCREASES THEIR ATK", "INCREASING THEIR ATK", "INCREASE THE TARGET'S ATK", "INCREASES THE TARGET'S ATK", "INCREASING THE TARGET'S ATK", "INCREASE THE AFFECTED TARGET'S ATK", "INCREASES THE AFFECTED TARGET'S ATK", "INCREASING THE AFFECTED TARGET'S ATK"] },   {		"type": "statusEffect", "name": "PATK up", "keywords": ["INCREASE THE PHYSICAL DAMAGE", "INCREASES THE PHYSICAL DAMAGE", "INCREASING THE PHYSICAL DAMAGE", "INCREASE OWN PHYSICAL DAMAGE", "INCREASES OWN PHYSICAL DAMAGE", "INCREASING OWN PHYSICAL DAMAGE", "INCREASE SELF PHYSICAL DAMAGE", "INCREASES SELF PHYSICAL DAMAGE", "INCREASING SELF PHYSICAL DAMAGE", "INCREASE THEIR PHYSICAL DAMAGE", "INCREASES THEIR PHYSICAL DAMAGE", "INCREASING THEIR PHYSICAL DAMAGE", "INCREASE THE TARGET'S PHYSICAL DAMAGE", "INCREASES THE TARGET'S PHYSICAL DAMAGE", "INCREASING THE TARGET'S PHYSICAL DAMAGE", "INCREASE THE AFFECTED TARGET'S PHYSICAL DAMAGE", "INCREASES THE AFFECTED TARGET'S PHYSICAL DAMAGE", "INCREASING THE AFFECTED TARGET'S PHYSICAL DAMAGE", "INCREASE THE PDMG", "INCREASES THE PDMG", "INCREASING THE PDMG", "INCREASE OWN PDMG", "INCREASES OWN PDMG", "INCREASING OWN PDMG", "INCREASE SELF PDMG", "INCREASES SELF PDMG", "INCREASING SELF PDMG", "INCREASE THEIR PDMG", "INCREASES THEIR PDMG", "INCREASING THEIR PDMG", "INCREASE THE TARGET'S PDMG", "INCREASES THE TARGET'S PDMG", "INCREASING THE TARGET'S PDMG", "INCREASE THE AFFECTED TARGET'S PDMG", "INCREASES THE AFFECTED TARGET'S PDMG", "INCREASING THE AFFECTED TARGET'S PDMG"] },   {		"type": "statusEffect", "name": "MATK up", "keywords": ["INCREASE THE MAGIC DAMAGE", "INCREASES THE MAGIC DAMAGE", "INCREASING THE MAGIC DAMAGE", "INCREASE OWN MAGIC DAMAGE", "INCREASES OWN MAGIC DAMAGE", "INCREASING OWN MAGIC DAMAGE", "INCREASE SELF MAGIC DAMAGE", "INCREASES SELF MAGIC DAMAGE", "INCREASING SELF MAGIC DAMAGE", "INCREASE THEIR MAGIC DAMAGE", "INCREASES THEIR MAGIC DAMAGE", "INCREASING THEIR MAGIC DAMAGE", "INCREASE THE TARGET'S MAGIC DAMAGE", "INCREASES THE TARGET'S MAGIC DAMAGE", "INCREASING THE TARGET'S MAGIC DAMAGE", "INCREASE THE AFFECTED TARGET'S MAGIC DAMAGE", "INCREASES THE AFFECTED TARGET'S MAGIC DAMAGE", "INCREASING THE AFFECTED TARGET'S MAGIC DAMAGE",

"INCREASE THE MDMG", "INCREASES THE MDMG", "INCREASING THE MDMG", "INCREASE OWN MDMG", "INCREASES OWN MDMG", "INCREASING OWN MDMG", "INCREASE SELF MDMG", "INCREASES SELF MDMG", "INCREASING SELF MDMG", "INCREASE THEIR MDMG", "INCREASES THEIR MDMG", "INCREASING THEIR MDMG", "INCREASE THE TARGET'S MDMG", "INCREASES THE TARGET'S MDMG", "INCREASING THE TARGET'S MDMG", "INCREASE THE AFFECTED TARGET'S MDMG", "INCREASES THE AFFECTED TARGET'S MDMG", "INCREASING THE AFFECTED TARGET'S MDMG"] },   {		"type": "statusEffect", "name": "EATK up", "keywords": ["INCREASE THE ELEMENTAL DAMAGE", "INCREASES THE ELEMENTAL DAMAGE", "INCREASING THE ELEMENTAL DAMAGE", "INCREASE OWN ELEMENTAL DAMAGE", "INCREASES OWN ELEMENTAL DAMAGE", "INCREASING OWN ELEMENTAL DAMAGE", "INCREASE SELF ELEMENTAL DAMAGE", "INCREASES SELF ELEMENTAL DAMAGE", "INCREASING SELF ELEMENTAL DAMAGE", "INCREASE THEIR ELEMENTAL DAMAGE", "INCREASES THEIR ELEMENTAL DAMAGE", "INCREASING THEIR ELEMENTAL DAMAGE", "INCREASE THE TARGET'S ELEMENTAL DAMAGE", "INCREASES THE TARGET'S ELEMENTAL DAMAGE", "INCREASING THE TARGET'S ELEMENTAL DAMAGE", "INCREASE THE AFFECTED TARGET'S ELEMENTAL DAMAGE", "INCREASES THE AFFECTED TARGET'S ELEMENTAL DAMAGE", "INCREASING THE AFFECTED TARGET'S ELEMENTAL DAMAGE",

"INCREASE THE EDMG", "INCREASES THE EDMG", "INCREASING THE EDMG", "INCREASE OWN EDMG", "INCREASES OWN EDMG", "INCREASING OWN EDMG", "INCREASE SELF EDMG", "INCREASES SELF EDMG", "INCREASING SELF EDMG", "INCREASE THEIR EDMG", "INCREASES THEIR EDMG", "INCREASING THEIR EDMG", "INCREASE THE TARGET'S EDMG", "INCREASES THE TARGET'S EDMG", "INCREASING THE TARGET'S EDMG", "INCREASE THE AFFECTED TARGET'S EDMG", "INCREASES THE AFFECTED TARGET'S EDMG", "INCREASING THE AFFECTED TARGET'S EDMG"] },	{		"type": "statusEffect", "name": "ATK down", "keywords": ["DECREASE THEIR ATTACK", "DECREASES THEIR ATTACK", "DECREASING THEIR ATTACK", "REDUCING THEIR ATTACK", "DECREASE THE TARGET'S ATTACK", "DECREASES THE TARGET'S ATTACK", "DECREASING THE TARGET'S ATTACK", "REDUCING THE TARGET'S ATTACK", "DECREASE THE AFFECTED TARGET'S ATTACK", "DECREASES THE AFFECTED TARGET'S ATTACK", "DECREASING THE AFFECTED TARGET'S ATTACK", "REDUCING THE AFFECTED TARGET'S ATTACK", "DECREASE THEIR ATK", "DECREASES THEIR ATK", "DECREASING THEIR ATK", "REDUCING THEIR ATK", "DECREASE THE TARGET'S ATK", "DECREASES THE TARGET'S ATK", "DECREASING THE TARGET'S ATK", "REDUCING THE TARGET'S ATK", "DECREASE THE AFFECTED TARGET'S ATK", "DECREASES THE AFFECTED TARGET'S ATK", "DECREASING THE AFFECTED TARGET'S ATK", "REDUCING THE AFFECTED TARGET'S ATK", ]	},	{		"type": "statusEffect", "name": "PATK down", "keywords": ["DECREASE THEIR PHYSICAL DAMAGE", "DECREASES THEIR PHYSICAL DAMAGE", "DECREASING THEIR PHYSICAL DAMAGE", "REDUCING THEIR PHYSICAL DAMAGE", "DECREASE THE TARGET'S PHYSICAL DAMAGE", "DECREASES THE TARGET'S PHYSICAL DAMAGE", "DECREASING THE TARGET'S PHYSICAL DAMAGE", "REDUCING THE TARGET'S PHYSICAL DAMAGE", "DECREASE THE AFFECTED TARGET'S PHYSICAL DAMAGE", "DECREASES THE AFFECTED TARGET'S PHYSICAL DAMAGE", "DECREASING THE AFFECTED TARGET'S PHYSICAL DAMAGE", "REDUCING THE AFFECTED TARGET'S PHYSICAL DAMAGE", "DECREASE THEIR PDMG", "DECREASES THEIR PDMG", "DECREASING THEIR PDMG", "REDUCING THEIR PDMG", "DECREASE THE TARGET'S PDMG", "DECREASES THE TARGET'S PDMG", "DECREASING THE TARGET'S PDMG", "REDUCING THE TARGET'S PDMG", "DECREASE THE AFFECTED TARGET'S PDMG", "DECREASES THE AFFECTED TARGET'S PDMG", "DECREASING THE AFFECTED TARGET'S PDMG", "REDUCING THE AFFECTED TARGET'S PDMG"] },   {		"type": "statusEffect", "name": "MATK down", "keywords": ["DECREASE THEIR MAGIC DAMAGE", "DECREASES THEIR MAGIC DAMAGE", "DECREASING THEIR MAGIC DAMAGE", "REDUCING THEIR MAGIC DAMAGE", "DECREASE THE TARGET'S MAGIC DAMAGE", "DECREASES THE TARGET'S MAGIC DAMAGE", "DECREASING THE TARGET'S MAGIC DAMAGE", "REDUCING THE TARGET'S MAGIC DAMAGE", "DECREASE THE AFFECTED TARGET'S MAGIC DAMAGE", "DECREASES THE AFFECTED TARGET'S MAGIC DAMAGE", "DECREASING THE AFFECTED TARGET'S MAGIC DAMAGE", "REDUCING THE AFFECTED TARGET'S MAGIC DAMAGE",

"DECREASE THEIR MDMG", "DECREASES THEIR MDMG", "DECREASING THEIR MDMG", "REDUCING THEIR MDMG", "DECREASE THE TARGET'S MDMG", "DECREASES THE TARGET'S MDMG", "DECREASING THE TARGET'S MDMG", "REDUCING THE TARGET'S MDMG", "DECREASE THE AFFECTED TARGET'S MDMG", "DECREASES THE AFFECTED TARGET'S MDMG", "DECREASING THE AFFECTED TARGET'S MDMG", "REDUCING THE AFFECTED TARGET'S MDMG"] },   {		"type": "statusEffect", "name": "EATK down", "keywords": ["DECREASE THEIR ELEMENTAL DAMAGE", "DECREASES THEIR ELEMENTAL DAMAGE", "DECREASING THEIR ELEMENTAL DAMAGE", "REDUCING THEIR ELEMENTAL DAMAGE", "DECREASE THE TARGET'S ELEMENTAL DAMAGE", "DECREASES THE TARGET'S ELEMENTAL DAMAGE", "DECREASING THE TARGET'S ELEMENTAL DAMAGE", "REDUCING THE TARGET'S ELEMENTAL DAMAGE", "DECREASE THE AFFECTED TARGET'S ELEMENTAL DAMAGE", "DECREASES THE AFFECTED TARGET'S ELEMENTAL DAMAGE", "DECREASING THE AFFECTED TARGET'S ELEMENTAL DAMAGE", "REDUCING THE AFFECTED TARGET'S ELEMENTAL DAMAGE",

"DECREASE THEIR EDMG", "DECREASES THEIR EDMG", "DECREASING THEIR EDMG", "REDUCING THEIR EDMG", "DECREASE THE TARGET'S EDMG", "DECREASES THE TARGET'S EDMG", "DECREASING THE TARGET'S EDMG", "REDUCING THE TARGET'S EDMG", "DECREASE THE AFFECTED TARGET'S EDMG", "DECREASES THE AFFECTED TARGET'S EDMG", "DECREASING THE AFFECTED TARGET'S EDMG", "REDUCING THE AFFECTED TARGET'S EDMG"] },	{		"type": "statusEffect", "name": "DEF up", "keywords": ["INCREASE THE ARMOR", "INCREASES THE ARMOR", "INCREASEING THE ARMOR", "INCREASE OWN ARMOR", "INCREASES OWN ARMOR", "INCREASEING OWN ARMOR", "INCREASE SELF ARMOR", "INCREASES SELF ARMOR", "INCREASEING SELF ARMOR", "INCREASE THEIR ARMOR", "INCREASES THEIR ARMOR", "INCREASEING THEIR ARMOR", "INCREASE THE TARGET'S ARMOR", "INCREASES THE TARGET'S ARMOR", "INCREASEING THE TARGET'S ARMOR", "INCREASE THE AFFECTED TARGET'S ARMOR", "INCREASES THE AFFECTED TARGET'S ARMOR", "INCREASEING THE AFFECTED TARGET'S ARMOR"] },   {		"type": "statusEffect", "name": "PDEF up", "keywords": ["INCREASE THE PHYSICAL DEFENSE", "INCREASES THE PHYSICAL DEFENSE", "INCREASEING THE PHYSICAL DEFENSE", "INCREASE OWN PHYSICAL DEFENSE", "INCREASES OWN PHYSICAL DEFENSE", "INCREASEING OWN PHYSICAL DEFENSE", "INCREASE SELF PHYSICAL DEFENSE", "INCREASES SELF PHYSICAL DEFENSE", "INCREASEING SELF PHYSICAL DEFENSE", "INCREASE THEIR PHYSICAL DEFENSE", "INCREASES THEIR PHYSICAL DEFENSE", "INCREASEING THEIR PHYSICAL DEFENSE", "INCREASE THE TARGET'S PHYSICAL DEFENSE", "INCREASES THE TARGET'S PHYSICAL DEFENSE", "INCREASEING THE TARGET'S PHYSICAL DEFENSE", "INCREASE THE AFFECTED TARGET'S PHYSICAL DEFENSE", "INCREASES THE AFFECTED TARGET'S PHYSICAL DEFENSE", "INCREASEING THE AFFECTED TARGET'S PHYSICAL DEFENSE", "INCREASE THE PDEF", "INCREASES THE PDEF", "INCREASEING THE PDEF", "INCREASE OWN PDEF", "INCREASES OWN PDEF", "INCREASEING OWN PDEF", "INCREASE SELF PDEF", "INCREASES SELF PDEF", "INCREASEING SELF PDEF", "INCREASE THEIR PDEF", "INCREASES THEIR PDEF", "INCREASEING THEIR PDEF", "INCREASE THE TARGET'S PDEF", "INCREASES THE TARGET'S PDEF", "INCREASEING THE TARGET'S PDEF", "INCREASE THE AFFECTED TARGET'S PDEF", "INCREASES THE AFFECTED TARGET'S PDEF", "INCREASEING THE AFFECTED TARGET'S PDEF"] },   {		"type": "statusEffect", "name": "MDEF up", "keywords": ["INCREASE THE MAGIC DEFENSE", "INCREASES THE MAGIC DEFENSE", "INCREASEING THE MAGIC DEFENSE", "INCREASE OWN MAGIC DEFENSE", "INCREASES OWN MAGIC DEFENSE", "INCREASEING OWN MAGIC DEFENSE", "INCREASE SELF MAGIC DEFENSE", "INCREASES SELF MAGIC DEFENSE", "INCREASEING SELF MAGIC DEFENSE", "INCREASE THEIR MAGIC DEFENSE", "INCREASES THEIR MAGIC DEFENSE", "INCREASEING THEIR MAGIC DEFENSE", "INCREASE THE TARGET'S MAGIC DEFENSE", "INCREASES THE TARGET'S MAGIC DEFENSE", "INCREASEING THE TARGET'S MAGIC DEFENSE", "INCREASE THE AFFECTED TARGET'S MAGIC DEFENSE", "INCREASES THE AFFECTED TARGET'S MAGIC DEFENSE", "INCREASEING THE AFFECTED TARGET'S MAGIC DEFENSE", "INCREASE THE MDEF", "INCREASES THE MDEF", "INCREASEING THE MDEF", "INCREASE OWN MDEF", "INCREASES OWN MDEF", "INCREASEING OWN MDEF", "INCREASE SELF MDEF", "INCREASES SELF MDEF", "INCREASEING SELF MDEF", "INCREASE THEIR MDEF", "INCREASES THEIR MDEF", "INCREASEING THEIR MDEF", "INCREASE THE TARGET'S MDEF", "INCREASES THE TARGET'S MDEF", "INCREASEING THE TARGET'S MDEF", "INCREASE THE AFFECTED TARGET'S MDEF", "INCREASES THE AFFECTED TARGET'S MDEF", "INCREASEING THE AFFECTED TARGET'S MDEF"] },   {		"type": "statusEffect", "name": "EDEF up", "keywords": ["INCREASE THE ELEMENTAL DEFENSE", "INCREASES THE ELEMENTAL DEFENSE", "INCREASEING THE ELEMENTAL DEFENSE", "INCREASE OWN ELEMENTAL DEFENSE", "INCREASES OWN ELEMENTAL DEFENSE", "INCREASEING OWN ELEMENTAL DEFENSE", "INCREASE SELF ELEMENTAL DEFENSE", "INCREASES SELF ELEMENTAL DEFENSE", "INCREASEING SELF ELEMENTAL DEFENSE", "INCREASE THEIR ELEMENTAL DEFENSE", "INCREASES THEIR ELEMENTAL DEFENSE", "INCREASEING THEIR ELEMENTAL DEFENSE", "INCREASE THE TARGET'S ELEMENTAL DEFENSE", "INCREASES THE TARGET'S ELEMENTAL DEFENSE", "INCREASEING THE TARGET'S ELEMENTAL DEFENSE", "INCREASE THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "INCREASES THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "INCREASEING THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "INCREASE THE EDEF", "INCREASES THE EDEF", "INCREASEING THE EDEF", "INCREASE OWN EDEF", "INCREASES OWN EDEF", "INCREASEING OWN EDEF", "INCREASE SELF EDEF", "INCREASES SELF EDEF", "INCREASEING SELF EDEF", "INCREASE THEIR EDEF", "INCREASES THEIR EDEF", "INCREASEING THEIR EDEF", "INCREASE THE TARGET'S EDEF", "INCREASES THE TARGET'S EDEF", "INCREASEING THE TARGET'S EDEF", "INCREASE THE AFFECTED TARGET'S EDEF", "INCREASES THE AFFECTED TARGET'S EDEF", "INCREASEING THE AFFECTED TARGET'S EDEF"] },	{		"type": "statusEffect", "name": "DEF down", "keywords": ["DECREASE THE ARMOR", "DECREASES THE ARMOR", "DECREASING THE ARMOR", "REDUCING THE ARMOR", "DECREASE OWN ARMOR", "DECREASES OWN ARMOR", "DECREASING OWN ARMOR", "REDUCING OWN ARMOR", "DECREASE SELF ARMOR", "DECREASES SELF ARMOR", "DECREASING SELF ARMOR", "REDUCING SELF ARMOR", "DECREASE THEIR ARMOR", "DECREASES THEIR ARMOR", "DECREASING THEIR ARMOR", "REDUCING THEIR ARMOR", "DECREASE THE TARGET'S ARMOR", "DECREASES THE TARGET'S ARMOR", "DECREASING THE TARGET'S ARMOR", "REDUCING THE TARGET'S ARMOR", "DECREASE THE AFFECTED TARGET'S ARMOR", "DECREASES THE AFFECTED TARGET'S ARMOR", "DECREASING THE AFFECTED TARGET'S ARMOR", "REDUCING THE AFFECTED TARGET'S ARMOR"] },   {		"type": "statusEffect", "name": "PDEF down", "keywords": ["DECREASE THE PHYSICAL DEFENSE", "DECREASES THE PHYSICAL DEFENSE", "DECREASING THE PHYSICAL DEFENSE", "REDUCING THE PHYSICAL DEFENSE", "DECREASE OWN PHYSICAL DEFENSE", "DECREASES OWN PHYSICAL DEFENSE", "DECREASING OWN PHYSICAL DEFENSE", "REDUCING OWN PHYSICAL DEFENSE", "DECREASE SELF PHYSICAL DEFENSE", "DECREASES SELF PHYSICAL DEFENSE", "DECREASING SELF PHYSICAL DEFENSE", "REDUCING SELF PHYSICAL DEFENSE", "DECREASE THEIR PHYSICAL DEFENSE", "DECREASES THEIR PHYSICAL DEFENSE", "DECREASING THEIR PHYSICAL DEFENSE", "REDUCING THEIR PHYSICAL DEFENSE", "DECREASE THE TARGET'S PHYSICAL DEFENSE", "DECREASES THE TARGET'S PHYSICAL DEFENSE", "DECREASING THE TARGET'S PHYSICAL DEFENSE", "REDUCING THE TARGET'S PHYSICAL DEFENSE", "DECREASE THE AFFECTED TARGET'S PHYSICAL DEFENSE", "DECREASES THE AFFECTED TARGET'S PHYSICAL DEFENSE", "DECREASING THE AFFECTED TARGET'S PHYSICAL DEFENSE", "REDUCING THE AFFECTED TARGET'S PHYSICAL DEFENSE", "DECREASE THE PDEF", "DECREASES THE PDEF", "DECREASING THE PDEF", "REDUCING THE PDEF", "DECREASE OWN PDEF", "DECREASES OWN PDEF", "DECREASING OWN PDEF", "REDUCING OWN PDEF", "DECREASE SELF PDEF", "DECREASES SELF PDEF", "DECREASING SELF PDEF", "REDUCING SELF PDEF", "DECREASE THEIR PDEF", "DECREASES THEIR PDEF", "DECREASING THEIR PDEF", "REDUCING THEIR PDEF", "DECREASE THE TARGET'S PDEF", "DECREASES THE TARGET'S PDEF", "DECREASING THE TARGET'S PDEF", "REDUCING THE TARGET'S PDEF", "DECREASE THE AFFECTED TARGET'S PDEF", "DECREASES THE AFFECTED TARGET'S PDEF", "DECREASING THE AFFECTED TARGET'S PDEF", "REDUCING THE AFFECTED TARGET'S PDEF"] },   {		"type": "statusEffect", "name": "MDEF down", "keywords": ["DECREASE THE MAGIC DEFENSE", "DECREASES THE MAGIC DEFENSE", "DECREASING THE MAGIC DEFENSE", "REDUCING THE MAGIC DEFENSE", "DECREASE OWN MAGIC DEFENSE", "DECREASES OWN MAGIC DEFENSE", "DECREASING OWN MAGIC DEFENSE", "REDUCING OWN MAGIC DEFENSE", "DECREASE SELF MAGIC DEFENSE", "DECREASES SELF MAGIC DEFENSE", "DECREASING SELF MAGIC DEFENSE", "REDUCING SELF MAGIC DEFENSE", "DECREASE THEIR MAGIC DEFENSE", "DECREASES THEIR MAGIC DEFENSE", "DECREASING THEIR MAGIC DEFENSE", "REDUCING THEIR MAGIC DEFENSE", "DECREASE THE TARGET'S MAGIC DEFENSE", "DECREASES THE TARGET'S MAGIC DEFENSE", "DECREASING THE TARGET'S MAGIC DEFENSE", "REDUCING THE TARGET'S MAGIC DEFENSE", "DECREASE THE AFFECTED TARGET'S MAGIC DEFENSE", "DECREASES THE AFFECTED TARGET'S MAGIC DEFENSE", "DECREASING THE AFFECTED TARGET'S MAGIC DEFENSE", "REDUCING THE AFFECTED TARGET'S MAGIC DEFENSE", "DECREASE THE MDEF", "DECREASES THE MDEF", "DECREASING THE MDEF", "REDUCING THE MDEF", "DECREASE OWN MDEF", "DECREASES OWN MDEF", "DECREASING OWN MDEF", "REDUCING OWN MDEF", "DECREASE SELF MDEF", "DECREASES SELF MDEF", "DECREASING SELF MDEF", "REDUCING SELF MDEF", "DECREASE THEIR MDEF", "DECREASES THEIR MDEF", "DECREASING THEIR MDEF", "REDUCING THEIR MDEF", "DECREASE THE TARGET'S MDEF", "DECREASES THE TARGET'S MDEF", "DECREASING THE TARGET'S MDEF", "REDUCING THE TARGET'S MDEF", "DECREASE THE AFFECTED TARGET'S MDEF", "DECREASES THE AFFECTED TARGET'S MDEF", "DECREASING THE AFFECTED TARGET'S MDEF", "REDUCING THE AFFECTED TARGET'S MDEF"] },   {		"type": "statusEffect", "name": "EDEF down", "keywords": ["DECREASE THE ELEMENTAL DEFENSE", "DECREASES THE ELEMENTAL DEFENSE", "DECREASING THE ELEMENTAL DEFENSE", "REDUCING THE ELEMENTAL DEFENSE", "DECREASE OWN ELEMENTAL DEFENSE", "DECREASES OWN ELEMENTAL DEFENSE", "DECREASING OWN ELEMENTAL DEFENSE", "REDUCING OWN ELEMENTAL DEFENSE", "DECREASE SELF ELEMENTAL DEFENSE", "DECREASES SELF ELEMENTAL DEFENSE", "DECREASING SELF ELEMENTAL DEFENSE", "REDUCING SELF ELEMENTAL DEFENSE", "DECREASE THEIR ELEMENTAL DEFENSE", "DECREASES THEIR ELEMENTAL DEFENSE", "DECREASING THEIR ELEMENTAL DEFENSE", "REDUCING THEIR ELEMENTAL DEFENSE", "DECREASE THE TARGET'S ELEMENTAL DEFENSE", "DECREASES THE TARGET'S ELEMENTAL DEFENSE", "DECREASING THE TARGET'S ELEMENTAL DEFENSE", "REDUCING THE TARGET'S ELEMENTAL DEFENSE", "DECREASE THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "DECREASES THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "DECREASING THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "REDUCING THE AFFECTED TARGET'S ELEMENTAL DEFENSE", "DECREASE THE EDEF", "DECREASES THE EDEF", "DECREASING THE EDEF", "REDUCING THE EDEF", "DECREASE OWN EDEF", "DECREASES OWN EDEF", "DECREASING OWN EDEF", "REDUCING OWN EDEF", "DECREASE SELF EDEF", "DECREASES SELF EDEF", "DECREASING SELF EDEF", "REDUCING SELF EDEF", "DECREASE THEIR EDEF", "DECREASES THEIR EDEF", "DECREASING THEIR EDEF", "REDUCING THEIR EDEF", "DECREASE THE TARGET'S EDEF", "DECREASES THE TARGET'S EDEF", "DECREASING THE TARGET'S EDEF", "REDUCING THE TARGET'S EDEF", "DECREASE THE AFFECTED TARGET'S EDEF", "DECREASES THE AFFECTED TARGET'S EDEF", "DECREASING THE AFFECTED TARGET'S EDEF", "REDUCING THE AFFECTED TARGET'S EDEF"] },	{		"type": "statusEffect", "name": "PRES up", "keywords": [ "INCREASE THE PHYSICAL RESISTANCE", "INCREASES THE PHYSICAL RESISTANCE", "INCREASEING THE PHYSICAL RESISTANCE", "INCREASE OWN PHYSICAL RESISTANCE", "INCREASES OWN PHYSICAL RESISTANCE", "INCREASEING OWN PHYSICAL RESISTANCE", "INCREASE SELF PHYSICAL RESISTANCE", "INCREASES SELF PHYSICAL RESISTANCE", "INCREASEING SELF PHYSICAL RESISTANCE", "INCREASE THEIR PHYSICAL RESISTANCE", "INCREASES THEIR PHYSICAL RESISTANCE", "INCREASEING THEIR PHYSICAL RESISTANCE", "INCREASE THE TARGET'S PHYSICAL RESISTANCE", "INCREASES THE TARGET'S PHYSICAL RESISTANCE", "INCREASEING THE TARGET'S PHYSICAL RESISTANCE", "INCREASE THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "INCREASES THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "INCREASEING THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "INCREASE THE PRES", "INCREASES THE PRES", "INCREASEING THE PRES", "INCREASE OWN PRES", "INCREASES OWN PRES", "INCREASEING OWN PRES", "INCREASE SELF PRES", "INCREASES SELF PRES", "INCREASEING SELF PRES", "INCREASE THEIR PRES", "INCREASES THEIR PRES", "INCREASEING THEIR PRES", "INCREASE THE TARGET'S PRES", "INCREASES THE TARGET'S PRES", "INCREASEING THE TARGET'S PRES", "INCREASE THE AFFECTED TARGET'S PRES", "INCREASES THE AFFECTED TARGET'S PRES", "INCREASEING THE AFFECTED TARGET'S PRES"] },       {		"type": "statusEffect", "name": "MRES up", "keywords": ["INCREASE THE MAGIC RESISTANCE", "INCREASES THE MAGIC RESISTANCE", "INCREASEING THE MAGIC RESISTANCE", "INCREASE OWN MAGIC RESISTANCE", "INCREASES OWN MAGIC RESISTANCE", "INCREASEING OWN MAGIC RESISTANCE", "INCREASE SELF MAGIC RESISTANCE", "INCREASES SELF MAGIC RESISTANCE", "INCREASEING SELF MAGIC RESISTANCE", "INCREASE THEIR MAGIC RESISTANCE", "INCREASES THEIR MAGIC RESISTANCE", "INCREASEING THEIR MAGIC RESISTANCE", "INCREASE THE TARGET'S MAGIC RESISTANCE", "INCREASES THE TARGET'S MAGIC RESISTANCE", "INCREASEING THE TARGET'S MAGIC RESISTANCE", "INCREASE THE AFFECTED TARGET'S MAGIC RESISTANCE", "INCREASES THE AFFECTED TARGET'S MAGIC RESISTANCE", "INCREASEING THE AFFECTED TARGET'S MAGIC RESISTANCE", "INCREASE THE MRES", "INCREASES THE MRES", "INCREASEING THE MRES", "INCREASE OWN MRES", "INCREASES OWN MRES", "INCREASEING OWN MRES", "INCREASE SELF MRES", "INCREASES SELF MRES", "INCREASEING SELF MRES", "INCREASE THEIR MRES", "INCREASES THEIR MRES", "INCREASEING THEIR MRES", "INCREASE THE TARGET'S MRES", "INCREASES THE TARGET'S MRES", "INCREASEING THE TARGET'S MRES", "INCREASE THE AFFECTED TARGET'S MRES", "INCREASES THE AFFECTED TARGET'S MRES", "INCREASEING THE AFFECTED TARGET'S MRES"] },	{		"type": "statusEffect", "name": "ERES up", "keywords": ["INCREASE THE ELEMENTAL RESISTANCE", "INCREASES THE ELEMENTAL RESISTANCE", "INCREASEING THE ELEMENTAL RESISTANCE", "INCREASE OWN ELEMENTAL RESISTANCE", "INCREASES OWN ELEMENTAL RESISTANCE", "INCREASEING OWN ELEMENTAL RESISTANCE", "INCREASE SELF ELEMENTAL RESISTANCE", "INCREASES SELF ELEMENTAL RESISTANCE", "INCREASEING SELF ELEMENTAL RESISTANCE", "INCREASE THEIR ELEMENTAL RESISTANCE", "INCREASES THEIR ELEMENTAL RESISTANCE", "INCREASEING THEIR ELEMENTAL RESISTANCE", "INCREASE THE TARGET'S ELEMENTAL RESISTANCE", "INCREASES THE TARGET'S ELEMENTAL RESISTANCE", "INCREASEING THE TARGET'S ELEMENTAL RESISTANCE", "INCREASE THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "INCREASES THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "INCREASEING THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "INCREASE THE ERES", "INCREASES THE ERES", "INCREASEING THE ERES", "INCREASE OWN ERES", "INCREASES OWN ERES", "INCREASEING OWN ERES", "INCREASE SELF ERES", "INCREASES SELF ERES", "INCREASEING SELF ERES", "INCREASE THEIR ERES", "INCREASES THEIR ERES", "INCREASEING THEIR ERES", "INCREASE THE TARGET'S ERES", "INCREASES THE TARGET'S ERES", "INCREASEING THE TARGET'S ERES", "INCREASE THE AFFECTED TARGET'S ERES", "INCREASES THE AFFECTED TARGET'S ERES", "INCREASEING THE AFFECTED TARGET'S ERES"] },   {		"type": "statusEffect", "name": "PRES down", "keywords": ["DECREASE THE PHYSICAL RESISTANCE", "DECREASES THE PHYSICAL RESISTANCE", "DECREASING THE PHYSICAL RESISTANCE", "REDUCING THE PHYSICAL RESISTANCE", "DECREASE OWN PHYSICAL RESISTANCE", "DECREASES OWN PHYSICAL RESISTANCE", "DECREASING OWN PHYSICAL RESISTANCE", "REDUCING OWN PHYSICAL RESISTANCE", "DECREASE SELF PHYSICAL RESISTANCE", "DECREASES SELF PHYSICAL RESISTANCE", "DECREASING SELF PHYSICAL RESISTANCE", "REDUCING SELF PHYSICAL RESISTANCE", "DECREASE THEIR PHYSICAL RESISTANCE", "DECREASES THEIR PHYSICAL RESISTANCE", "DECREASING THEIR PHYSICAL RESISTANCE", "REDUCING THEIR PHYSICAL RESISTANCE", "DECREASE THE TARGET'S PHYSICAL RESISTANCE", "DECREASES THE TARGET'S PHYSICAL RESISTANCE", "DECREASING THE TARGET'S PHYSICAL RESISTANCE", "REDUCING THE TARGET'S PHYSICAL RESISTANCE", "DECREASE THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "DECREASES THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "DECREASING THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "REDUCING THE AFFECTED TARGET'S PHYSICAL RESISTANCE", "DECREASE THE PRES", "DECREASES THE PRES", "DECREASING THE PRES", "REDUCING THE PRES", "DECREASE OWN PRES", "DECREASES OWN PRES", "DECREASING OWN PRES", "REDUCING OWN PRES", "DECREASE SELF PRES", "DECREASES SELF PRES", "DECREASING SELF PRES", "REDUCING SELF PRES", "DECREASE THEIR PRES", "DECREASES THEIR PRES", "DECREASING THEIR PRES", "REDUCING THEIR PRES", "DECREASE THE TARGET'S PRES", "DECREASES THE TARGET'S PRES", "DECREASING THE TARGET'S PRES", "REDUCING THE TARGET'S PRES", "DECREASE THE AFFECTED TARGET'S PRES", "DECREASES THE AFFECTED TARGET'S PRES", "DECREASING THE AFFECTED TARGET'S PRES", "REDUCING THE AFFECTED TARGET'S PRES"] },   {		"type": "statusEffect", "name": "MRES down", "keywords": ["DECREASE THE MAGIC RESISTANCE", "DECREASES THE MAGIC RESISTANCE", "DECREASING THE MAGIC RESISTANCE", "REDUCING THE MAGIC RESISTANCE", "DECREASE OWN MAGIC RESISTANCE", "DECREASES OWN MAGIC RESISTANCE", "DECREASING OWN MAGIC RESISTANCE", "REDUCING OWN MAGIC RESISTANCE", "DECREASE SELF MAGIC RESISTANCE", "DECREASES SELF MAGIC RESISTANCE", "DECREASING SELF MAGIC RESISTANCE", "REDUCING SELF MAGIC RESISTANCE", "DECREASE THEIR MAGIC RESISTANCE", "DECREASES THEIR MAGIC RESISTANCE", "DECREASING THEIR MAGIC RESISTANCE", "REDUCING THEIR MAGIC RESISTANCE", "DECREASE THE TARGET'S MAGIC RESISTANCE", "DECREASES THE TARGET'S MAGIC RESISTANCE", "DECREASING THE TARGET'S MAGIC RESISTANCE", "REDUCING THE TARGET'S MAGIC RESISTANCE", "DECREASE THE AFFECTED TARGET'S MAGIC RESISTANCE", "DECREASES THE AFFECTED TARGET'S MAGIC RESISTANCE", "DECREASING THE AFFECTED TARGET'S MAGIC RESISTANCE", "REDUCING THE AFFECTED TARGET'S MAGIC RESISTANCE", "DECREASE THE MRES", "DECREASES THE MRES", "DECREASING THE MRES", "REDUCING THE MRES", "DECREASE OWN MRES", "DECREASES OWN MRES", "DECREASING OWN MRES", "REDUCING OWN MRES", "DECREASE SELF MRES", "DECREASES SELF MRES", "DECREASING SELF MRES", "REDUCING SELF MRES", "DECREASE THEIR MRES", "DECREASES THEIR MRES", "DECREASING THEIR MRES", "REDUCING THEIR MRES", "DECREASE THE TARGET'S MRES", "DECREASES THE TARGET'S MRES", "DECREASING THE TARGET'S MRES", "REDUCING THE TARGET'S MRES", "DECREASE THE AFFECTED TARGET'S MRES", "DECREASES THE AFFECTED TARGET'S MRES", "DECREASING THE AFFECTED TARGET'S MRES", "REDUCING THE AFFECTED TARGET'S MRES"] },   {		"type": "statusEffect", "name": "ERES down", "keywords": ["DECREASE THE ELEMENTAL RESISTANCE", "DECREASES THE ELEMENTAL RESISTANCE", "DECREASING THE ELEMENTAL RESISTANCE", "REDUCING THE ELEMENTAL RESISTANCE", "DECREASE OWN ELEMENTAL RESISTANCE", "DECREASES OWN ELEMENTAL RESISTANCE", "DECREASING OWN ELEMENTAL RESISTANCE", "REDUCING OWN ELEMENTAL RESISTANCE", "DECREASE SELF ELEMENTAL RESISTANCE", "DECREASES SELF ELEMENTAL RESISTANCE", "DECREASING SELF ELEMENTAL RESISTANCE", "REDUCING SELF ELEMENTAL RESISTANCE", "DECREASE THEIR ELEMENTAL RESISTANCE", "DECREASES THEIR ELEMENTAL RESISTANCE", "DECREASING THEIR ELEMENTAL RESISTANCE", "REDUCING THEIR ELEMENTAL RESISTANCE", "DECREASE THE TARGET'S ELEMENTAL RESISTANCE", "DECREASES THE TARGET'S ELEMENTAL RESISTANCE", "DECREASING THE TARGET'S ELEMENTAL RESISTANCE", "REDUCING THE TARGET'S ELEMENTAL RESISTANCE", "DECREASE THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "DECREASES THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "DECREASING THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "REDUCING THE AFFECTED TARGET'S ELEMENTAL RESISTANCE", "DECREASE THE ERES", "DECREASES THE ERES", "DECREASING THE ERES", "REDUCING THE ERES", "DECREASE OWN ERES", "DECREASES OWN ERES", "DECREASING OWN ERES", "REDUCING OWN ERES", "DECREASE SELF ERES", "DECREASES SELF ERES", "DECREASING SELF ERES", "REDUCING SELF ERES", "DECREASE THEIR ERES", "DECREASES THEIR ERES", "DECREASING THEIR ERES", "REDUCING THEIR ERES", "DECREASE THE TARGET'S ERES", "DECREASES THE TARGET'S ERES", "DECREASING THE TARGET'S ERES", "REDUCING THE TARGET'S ERES", "DECREASE THE AFFECTED TARGET'S ERES", "DECREASES THE AFFECTED TARGET'S ERES", "DECREASING THE AFFECTED TARGET'S ERES", "REDUCING THE AFFECTED TARGET'S ERES"] }];

function FilterSkills {	var list = document.getElementById("skills"); if (list == null) return; var oneIsChecked = false; for(var i=0; i<parsingData.length; i++) {		parsingData[i].checked = document.getElementById(parsingData[i].name).checked; if (parsingData[i].checked) {			oneIsChecked = true; }	}	for(var i=0; i<list.children.length; i++) {		var keywords = list.children[i].children["skill-keywords"].innerText; if (oneIsChecked) {			var found = false; for (var j=0; j<parsingData.length; j++) {				if (!parsingData[j].checked) {					continue; }				if (keywords.indexOf(parsingData[j].name) > -1) {					found = true; break; }			}			if (found) {				list.children[i].style.display = 'flex'; }			else {				list.children[i].style.display = 'none'; }		}		else {			list.children[i].style.display = 'flex'; }	} }

// populate keywords $(function {	var searchPriority = document.getElementById("SearchPriority");	var searchTarget = document.getElementById("SearchTarget");	var searchDamageType = document.getElementById("SearchDamageType");	var searchEffect = document.getElementById("SearchEffect");	if (searchPriority == null) return;	for (var i=0; i<parsingData.length; i++)	{		var data = parsingData[i];		switch(data.type)		{			case "priority":				searchPriority.innerHTML += '<input type="checkbox" onclick="FilterSkills" id="'+data.name+'"><label for="'+data.name+'">'+data.name+' ';				break;			case "target":				searchTarget.innerHTML += '<input type="checkbox" onclick="FilterSkills" id="'+data.name+'"><label for="'+data.name+'">'+data.name+' ';				break;			case "damageType":				searchDamageType.innerHTML += '<input type="checkbox" onclick="FilterSkills" id="'+data.name+'"><label for="'+data.name+'">'+data.name+' '; break; case "statusEffect": searchEffect.innerHTML += '<input type="checkbox" onclick="FilterSkills"id="'+data.name+'"><label for="'+data.name+'">'+data.name+' '; break; }	}	var list = document.getElementById("skills"); if (list == null) return;

for(var i=0; i<list.children.length; i++) {		var content = list.children[i].children["skill-description"].innerText.toUpperCase; var output = list.children[i].children["skill-keywords"]; // remove special characters and clean up whitespaces content.replace(/\/|[0-9]|%|\./g, ''); content.replace(/\s+/g, ' '); for(var j=0; j<parsingData.length; j++) {			var data = parsingData[j]; for(var k=0; k<data.keywords.length; k++) {				if(content.indexOf(data.keywords[k]) > -1) {					if (output.innerText === '') {						output.innerText = data.name; }					else {						output.innerText = output.innerText + ", " + data.name; }					break; }			}		}	} });