function preventEvent(b){b=b||event;if(b.preventDefault){b.preventDefault()}else{b.returnResult=false}if(b.stopPropagation){b.stopPropagation()}else{b.cancelBubble=true}return false}function PStigmaSlot(c,b,f,g,d){var e=this;this._index=c;this._level=g;this._planer=d;this._slotElement=pge(b);this._iconContainerElement=pge(b+"_icon");this._greaterSlot=f;this._currentStigmaItem=null;this._selected=false;this.mouseOverEvent=function(h){if(e._selected==false){e._iconContainerElement.style.background="url(/img/aion/stigmaplaner/stigmaslot_selected.png)"}if(e._currentStigmaItem==null){e._tooltip.setContent('<span class="aion_tooltiptitle aion_skill">'+p_("Empty Stigma Slot")+'</span><br><hr class="aion_tooltip_hr">'+p_("Click to select a stimga skill."));e._tooltip.setLocation(p_getMousePosX(h),p_getMousePosY(h));e._tooltip.show()}};this.mouseOutEvent=function(h){if(e._selected==false){e.unselect()}e._tooltip.hide()};this.mouseMoveEvent=function(h){e._tooltip.setLocation(p_getMousePosX(h),p_getMousePosY(h))};this.clickEvent=function(h){h=h||event;rbtn=h.which?(h.which==3):(h.button==2);if(rbtn){e._planer.setStigmaItem(e._index,null,true);e.select()}else{e._planer.selectStigmaSlot(e)}};this._iconElement=pce("img",{marginTop:"2px",marginLeft:"3px",_border:"0",width:"40px",height:"40px",_src:"/img/1pxspacer.gif"});pac(this._iconContainerElement,this._iconElement);p_addListener(this._iconContainerElement,"mouseover",this.mouseOverEvent);p_addListener(this._iconContainerElement,"mouseout",this.mouseOutEvent);p_addListener(this._iconContainerElement,"mousemove",this.mouseMoveEvent);p_addListener(this._iconContainerElement,"click",this.clickEvent);p_addListener(this._iconContainerElement,"mouseup",this.clickEvent);p_addListener(this._iconContainerElement,"contextmenu",preventEvent);document.write('<div id="sp_tooltipcontainer" class="map_tooltip" style="display:none"><table cellspacing="0" cellpadding="0" border="0" width="100%"><tbody><tr><td class="map_tooltip_border" style="padding-top:6px;padding-left:6px;" id="sp_tooltipcontent"></td><th class="map_tooltip_border" style="background-position: right top;"> </th></tr><tr><th class="map_tooltip_border" style="background-position: left bottom;"><img src="/img/1pxspacer.gif" width="1" height="1"></th><th class="map_tooltip_border" style="background-position: right bottom;"><img src="/img/1pxspacer.gif" width="1" height="1"></th></tr></tbody></table></div>');this._tooltip=new PTooltip("sp_tooltipcontainer","sp_tooltipcontent")}PStigmaSlot.prototype.setStigmaItem=function setStigmaItem(b){this._currentStigmaItem=b;this.setIcon(b.skillIcon);aionInjector.injectTooltip(this._iconContainerElement,this._planer._baseUrl+"skill/"+b.skillId);if(this._greaterSlot){this._slotElement.style.background="url(/img/aion/stigmaplaner/advancedstigma_used.png)"}else{this._slotElement.style.background="url(/img/aion/stigmaplaner/normalstigma_used.png)"}};PStigmaSlot.prototype.setIcon=function setIcon(b){if(b){this._iconElement.style.background="url(/res/icons/40/"+b+".png)"}else{this._iconElement.style.background=""}};PStigmaSlot.prototype.clear=function clear(){if(this._currentStigmaItem){if(this._currentStigmaItem.childskills){for(var b=0;b<this._currentStigmaItem.childskills.length;b++){for(var c=0;c<this._planer._stigmaSlot.length;c++){if(this._planer._stigmaSlot[c]._currentStigmaItem!=null){if(this._planer._stigmaSlot[c]._currentStigmaItem.skillId==this._currentStigmaItem.childskills[b]){this._planer.setStigmaItem(this._planer._stigmaSlot[c]._index,null,true)}}}}}}this._currentStigmaItem=null;this.setIcon(null);this.unselect();if(this._greaterSlot){this._slotElement.style.background="url(/img/aion/stigmaplaner/advancedstigma_unused.png)"}else{this._slotElement.style.background="url(/img/aion/stigmaplaner/normalstigma_unused.png)"}};PStigmaSlot.prototype.disable=function disable(){this.clear();this._slotElement.style.display="none";this._iconContainerElement.style.display="none";this.unselect()};PStigmaSlot.prototype.enable=function enable(){this._slotElement.style.display="";this._iconContainerElement.style.display=""};PStigmaSlot.prototype.select=function select(){this._selected=true;this._iconContainerElement.style.background="url(/img/aion/stigmaplaner/stigmaslot_selected.png)";if(this._currentStigmaItem){summaryTable=pge("sum_"+this._currentStigmaItem.skillId);if(summaryTable){summaryTable.style.background="#2F4755"}}};PStigmaSlot.prototype.unselect=function unselect(){this._selected=false;this._iconContainerElement.style.background="";if(this._currentStigmaItem){summaryTable=pge("sum_"+this._currentStigmaItem.skillId);if(summaryTable){summaryTable.style.background="#223A47"}}};function PStigmaPlaner(e,c,g,h,f,b){var d=this;this._race=2;this._baseUrl=e;this._planerPrefix=c;this._summaryContainer=pge(g);this._stigmaItemsContainer=pge(h);this._advstigmaItemsContainer=pge(f);this._linkTextbox=pge(b);this._stigmaItems=[];this._stigmaSlot=[];this._stigmaSlot[0]=new PStigmaSlot(0,"slot_normal1",false,20,this);this._stigmaSlot[1]=new PStigmaSlot(1,"slot_normal2",false,20,this);this._stigmaSlot[2]=new PStigmaSlot(2,"slot_normal3",false,30,this);this._stigmaSlot[3]=new PStigmaSlot(3,"slot_normal4",false,40,this);this._stigmaSlot[4]=new PStigmaSlot(4,"slot_normal5",false,50,this);this._stigmaSlot[5]=new PStigmaSlot(5,"slot_normal6",false,55,this);this._stigmaSlot[6]=new PStigmaSlot(6,"slot_adv1",true,45,this);this._stigmaSlot[7]=new PStigmaSlot(7,"slot_adv2",true,50,this);this._stigmaSlot[8]=new PStigmaSlot(8,"slot_adv3",true,50,this);this._stigmaSlot[9]=new PStigmaSlot(9,"slot_adv4",true,55,this);this._stigmaSlot[10]=new PStigmaSlot(10,"slot_adv5",true,55,this);this._level=55;this.tooltipModifier=function(j,k,i){currentStigmaSlot=d.getSelectedSlot();if(currentStigmaSlot==null){i+='<table width="100%"><tr><td><hr class="aion_tooltip_hr"></td></tr><tr><td style="color:#EF4112">'+p_("[Please select a stigma slot first]")+"</td></tr></table>"}else{if(k&&k.src.indexOf("_gray.png")==-1){i+='<table width="100%"><tr><td><hr class="aion_tooltip_hr"></td></tr><tr><td style="color:#69E15E">'+p_("[Click to add this stigma into the selected slot]")+"</td></tr></table>"}else{stigmaItem=d.getStigmaBySkill(k.id.toString().substring(k.id.toString().indexOf("_")+1));if(stigmaItem.greater&&currentStigmaSlot._greaterSlot==false){i+='<table width="100%"><tr><td><hr class="aion_tooltip_hr"></td></tr><tr><td style="color:#EF4112">'+p_("[This skill requires a greater stigma slot]")+"</td></tr></table>"}else{if(d.hasRequirements(stigmaItem)==false){i+='<table width="100%"><tr><td><hr class="aion_tooltip_hr"></td></tr><tr><td style="color:#EF4112">'+p_("[Not all required stigmas used to unlock this skill]")+"</td></tr></table>"}else{i+='<table width="100%"><tr><td><hr class="aion_tooltip_hr"></td></tr><tr><td style="color:#ECD72A">'+p_("[Used stimga]")+"</td></tr></table>"}}}}return i}}PStigmaPlaner.prototype.loadStigmaData=function loadStigmaData(c){for(var b=0;b<c.items.length;b++){this._stigmaItems.push(c.items[b])}this._toplevelstigmas=c.toplevelstigmas;this.createStigmaItemsContainer();this._stigmaSlot[0].select();this.setRace(this._race)};PStigmaPlaner.prototype.selectStigmaItem=function selectStigmaItem(b){img=pge("stigma_"+b);if(!img){img=pge("0reqstigma_"+b)}if(!img){img=pge("1reqstigma_"+b)}if(!img){img=pge("2reqstigma_"+b)}if(img&&img.src.indexOf("_gray.png")!=-1){return}currentStigmaSlot=this.getSelectedSlot();if(currentStigmaSlot){this.setStigmaItem(currentStigmaSlot._index,b,true)}};PStigmaPlaner.prototype.setStigmaItem=function setStigmaItem(b,e,d){if(e&&e!=0){for(var c=0;c<this._stigmaItems.length;c++){if(this._stigmaItems[c].skillId==e){if(this._stigmaItems[c].greaterStigma==true&&this._stigmaSlot[b]._greaterSlot==false){alert(p_("Can't put an greater stigma stone into this slot."));break}this._stigmaSlot[b].setStigmaItem(this._stigmaItems[c]);break}}}else{this._stigmaSlot[b].clear()}if(d){this.refreshSummaryContainer();this.refreshStigmaItemsContainer()}};PStigmaPlaner.prototype.getMaxLevelUsed=function getMaxLevelUsed(){result=0;for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){if(result<this._stigmaSlot[b]._currentStigmaItem.level){result=this._stigmaSlot[b]._currentStigmaItem.level}}}return result};PStigmaPlaner.prototype.refreshStigmaSlots=function refreshStigmaSlots(){for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._level<=this._level){this._stigmaSlot[b].enable()}else{this._stigmaSlot[b].disable()}}this.refreshStigmaItemsContainer()};PStigmaPlaner.prototype.getLink=function getLink(){var b=this._level;b+=(":"+this._race);for(var c=0;c<this._stigmaSlot.length;c++){if(this._stigmaSlot[c]._currentStigmaItem!=null){b+=(":"+this._stigmaSlot[c]._currentStigmaItem.skillId)}else{b+=":0"}}return b};PStigmaPlaner.prototype.loadLink=function loadLink(d){if(d==null){return}var c=d.split(":");if(c.length===10){this.setLevel(c[0]);this.setRace(c[1]);for(var b=0;b<this._stigmaSlot.length;b++){this.setStigmaItem(b,c[b+2],false)}}this._stigmaSlot[0].select();this.refreshSummaryContainer();this.refreshStigmaItemsContainer();this.refreshLinks()};PStigmaPlaner.prototype.getShardAmount=function getShardAmount(){result=0;for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){result+=this._stigmaSlot[b]._currentStigmaItem.shards}}return result};PStigmaPlaner.prototype.getSelectedSlot=function getSelectedSlot(){for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._selected==true){return this._stigmaSlot[b]}}return null};PStigmaPlaner.prototype.reset=function reset(){for(var b=0;b<this._stigmaSlot.length;b++){this._stigmaSlot[b].clear()}this._stigmaSlot[0].select();this.refreshStigmaItemsContainer();this.refreshSummaryContainer()};PStigmaPlaner.prototype.refreshSummaryContainer=function refreshSummaryContainer(){var d;pcl(this._summaryContainer);usedSlots=0;for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){usedSlots++;currentStigmaItem=this._stigmaSlot[b]._currentStigmaItem;table=pce("table",{marginBottom:"2px",_className:"stigma-summarytable",width:"100%",_id:"sum_"+currentStigmaItem.skillId});tbody=pce("tbody");tr=pce("tr");td=pce("td",{verticalAlign:"top",width:"42px",height:"42px"});if(this._stigmaSlot[b]._selected){table.style.background="#2F4755"}pac(table,tbody);pac(tbody,tr);pac(tr,td);img=pce("img",{border:"1px solid #cccccc",cursor:"pointer",width:"40px",height:"40px",_src:"/res/icons/40/"+currentStigmaItem.skillIcon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+currentStigmaItem.skillId);pac(td,img);td=pce("td",{width:"60%"});pac(tr,td);pac(td,pce("span",{_className:"stigmaname aion_q"+currentStigmaItem.quality},pct(currentStigmaItem.skillName)));pac(td,pce("br"));for(var c=0;c<this._stigmaItems.length;c++){if(this._stigmaItems[c].level>this._level||(this._stigmaItems[c].race!=3&&this._stigmaItems[c].race!=this._race)){continue}if(this._stigmaItems[c].categoryId==currentStigmaItem.categoryId){d=pce("div",{marginTop:"3px",marginRight:"2px",marginBottom:"2px",cursor:"pointer",width:"20px",height:"20px",_className:"stigmalevel"},pct(this._stigmaItems[c].level));if(this._stigmaItems[c]==this._stigmaSlot[b]._currentStigmaItem){d.style.border="1px solid #cccccc"}aionInjector.injectTooltip(d,this._baseUrl+"skill/"+this._stigmaItems[c].skillId);pae(d,"click",this.setStigmaItem.pbind(this,this._stigmaSlot[b]._index,this._stigmaItems[c].skillId,true));pac(td,d)}}pac(td,pce("br"));img=pce("img",{width:"16px",height:"16px",_align:"absmiddle",_border:0,_src:"/res/icons/16/icon_item_crystal.png"});pac(td,img);pac(td,pce("small",null,pct(" "+currentStigmaItem.shards)));td=pce("td",{verticalAlign:"top",width:"100px",_align:"right"});pac(tr,td);img=pce("img",{cursor:"pointer",width:"20px",height:"20px",_alt:p_("Remove"),_title:p_("Remove"),_border:0,_src:"/img/aion/stigmaplaner/clear.png"});pae(img,"click",this.setStigmaItem.pbind(this,this._stigmaSlot[b]._index,null,true));pac(td,img);pac(td,pce("br"));pac(td,pce("br"));img=pce("img",{width:"16px",height:"16px",_align:"absmiddle",_border:0,_src:"/res/icons/16/"+currentStigmaItem.itemIcon+".png"});a=pce("a",{_href:"/item/"+currentStigmaItem.itemId});pac(a,img);pac(td,pce("small",null,p_("Source")+": "));pac(td,a);pac(this._summaryContainer,table)}}if(usedSlots>0){table=pce("table",{width:"100%"});tbody=pce("tbody");tr=pce("tr");td=pce("td",{_align:"right"});pac(table,tbody);pac(tbody,tr);pac(tr,td);img=pce("img",{width:"16px",height:"16px",_align:"absmiddle",_border:0,_src:"/res/icons/16/icon_item_crystal.png"});pac(td,pct(p_("Total stigma shards required:")));pac(td,img);pac(td,pce("b",null,pct(" "+this.getShardAmount())));pac(this._summaryContainer,table);this.refreshLinks()}};PStigmaPlaner.prototype.refreshLinks=function refreshLinks(){window.location.replace(window.location.pathname+window.location.search+"#"+this.getLink());this._linkTextbox.value=this._baseUrl+this._planerPrefix+"#"+this.getLink()};PStigmaPlaner.prototype.createStigmaItemsContainer=function createStigmaItemsContainer(){pcl(this._stigmaItemsContainer);for(var c=0;c<this._stigmaItems.length;c++){if(this._stigmaItems[c].greater==false){img=pce("img",{padding:"1px",margin:"1px",cursor:"pointer",_id:"stigma_"+this._stigmaItems[c].skillId,width:"40px",height:"40px",_border:0,_src:"/res/icons/40/"+this._stigmaItems[c].skillIcon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+this._stigmaItems[c].skillId,this.tooltipModifier);pae(img,"click",this.selectStigmaItem.pbind(this,this._stigmaItems[c].skillId));p_addListener(img,"contextmenu",preventEvent);pac(this._stigmaItemsContainer,img)}}for(var c=0;c<this._toplevelstigmas.length;c++){td=pge("tls"+c);td_req1=pge("tls"+c+"_1");td_req1_1=pge("tls"+c+"_1_1");td_req1_2=pge("tls"+c+"_1_2");td_req2=pge("tls"+c+"_2");td_req2_1=pge("tls"+c+"_2_1");td_req2_2=pge("tls"+c+"_2_2");img=pce("img",{padding:"1px",cursor:"pointer",_id:"stigma_"+this._toplevelstigmas[c].skillId,width:"40px",height:"40px",_border:0,_src:"/res/icons/40/"+this._toplevelstigmas[c].icon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+this._toplevelstigmas[c].skillId,this.tooltipModifier);pae(img,"click",this.selectStigmaItem.pbind(this,this._toplevelstigmas[c].skillId));p_addListener(img,"contextmenu",preventEvent);pac(td,img);for(var b=0;b<this._toplevelstigmas[c].req1.skills.length;b++){stigmaItem=this.getStigmaBySkill(this._toplevelstigmas[c].req1.skills[b]);img=pce("img",{padding:"1px",cursor:"pointer",_id:c+"reqstigma_"+stigmaItem.skillId,width:"40px",height:"40px",_border:0,_src:"/res/icons/40/"+stigmaItem.skillIcon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+stigmaItem.skillId,this.tooltipModifier);pae(img,"click",this.selectStigmaItem.pbind(this,stigmaItem.skillId));p_addListener(img,"contextmenu",preventEvent);pac(td_req1,img)}for(var b=0;b<this._toplevelstigmas[c].req2.skills.length;b++){stigmaItem=this.getStigmaBySkill(this._toplevelstigmas[c].req2.skills[b]);img=pce("img",{padding:"1px",cursor:"pointer",_id:c+"reqstigma_"+stigmaItem.skillId,width:"40px",height:"40px",_border:0,_src:"/res/icons/40/"+stigmaItem.skillIcon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+stigmaItem.skillId,this.tooltipModifier);pae(img,"click",this.selectStigmaItem.pbind(this,stigmaItem.skillId));p_addListener(img,"contextmenu",preventEvent);pac(td_req2,img)}for(var b=0;b<4;b++){td_req=null;skills=null;switch(b){case 0:td_req=td_req1_1;skills=this._toplevelstigmas[c].req1.req1.skills;break;case 1:td_req=td_req2_1;skills=this._toplevelstigmas[c].req2.req1.skills;break;case 2:td_req=td_req1_2;skills=this._toplevelstigmas[c].req1.req2.skills;break;case 3:td_req=td_req2_2;skills=this._toplevelstigmas[c].req2.req2.skills;break}if(skills){for(var d=0;d<skills.length;d++){stigmaItem=this.getStigmaBySkill(skills[d]);if(this.isHighestRank(stigmaItem)){img=pce("img",{padding:"1px",cursor:"pointer",_id:c+"reqstigma_"+stigmaItem.skillId,width:"40px",height:"40px",_border:0,_src:"/res/icons/40/"+stigmaItem.icon+".png"});aionInjector.injectTooltip(img,this._baseUrl+"skill/"+stigmaItem.skillId,this.tooltipModifier);pae(img,"click",this.selectStigmaItem.pbind(this,stigmaItem.skillId));p_addListener(img,"contextmenu",preventEvent);pac(td_req,img)}}}}}this.refreshStigmaItemsContainer()};PStigmaPlaner.prototype.getStigmaBySkill=function getStigmaBySkill(c){for(var b=0;b<this._stigmaItems.length;b++){if(this._stigmaItems[b].skillId==c){return this._stigmaItems[b]}}return null};PStigmaPlaner.prototype.refreshStigmaItemsContainer=function refreshStigmaItemsContainer(){currentStigmaSlot=this.getSelectedSlot();if(this._level<45){this._advstigmaItemsContainer.style.display="none"}else{this._advstigmaItemsContainer.style.display=""}for(var b=0;b<this._toplevelstigmas.length;b++){table=pge("ttls"+b);if(this._toplevelstigmas[b].race!=3&&this._toplevelstigmas[b].race!=this._race){table.style.display="none"}else{table.style.display=""}}for(var b=0;b<this._stigmaItems.length;b++){for(var c=0;c<this._toplevelstigmas.length+1;c++){img=pge((c==0?"":(c-1)+"req")+"stigma_"+this._stigmaItems[b].skillId);if(!img){continue}if(this._stigmaItems[b].level<=this._level&&(this._stigmaItems[b].race==3||this._stigmaItems[b].race==this._race)){if(currentStigmaSlot&&currentStigmaSlot._greaterSlot==false&&this._stigmaItems[b].greater==true){img.src="/res/icons/40/"+this._stigmaItems[b].skillIcon+"_gray.png";if(!this.isHighestRank(this._stigmaItems[b])){img.style.display="none"}else{img.style.display=""}if(this.hasRequirements(this._stigmaItems[b])){if(this.isCategoryUsed(this._stigmaItems[b].categoryId)){img.style.border="1px solid #cccccc"}else{img.style.border="1px solid #69E15E"}}else{img.style.border="1px solid #EF4112"}}else{if(!this.isHighestRank(this._stigmaItems[b])){img.style.display="none"}else{img.style.display="";if(this.isCategoryUsed(this._stigmaItems[b].categoryId)||this.hasRequirements(this._stigmaItems[b])==false){img.src="/res/icons/40/"+this._stigmaItems[b].skillIcon+"_gray.png";if(this.isCategoryUsed(this._stigmaItems[b].categoryId)){img.style.border="1px solid #cccccc"}else{img.style.border="1px solid #EF4112"}}else{img.src="/res/icons/40/"+this._stigmaItems[b].skillIcon+".png";img.style.border="1px solid #69E15E"}}}}else{img.style.display="none"}}}};PStigmaPlaner.prototype.isCategoryUsed=function isCategoryUsed(c){for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){if(this._stigmaSlot[b]._currentStigmaItem.categoryId==c){return true}}}return false};PStigmaPlaner.prototype.hasRequirements=function hasRequirements(c){if(c.requirement1){valid=false;for(var b=0;b<c.requirement1.length;b++){if(this.isSkillUsed(c.requirement1[b])){valid=true;break}}if(valid==false){return false}}if(c.requirement2){valid=false;for(var b=0;b<c.requirement2.length;b++){if(this.isSkillUsed(c.requirement2[b])){valid=true;break}}if(valid==false){return false}}return true};PStigmaPlaner.prototype.isSkillUsed=function isSkillUsed(c){for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){if(this._stigmaSlot[b]._currentStigmaItem.skillId==c){return true}}}return false};PStigmaPlaner.prototype.isHighestRank=function isHighestRank(c){for(var b=0;b<this._stigmaItems.length;b++){if(this._stigmaItems[b].level>this._level||(this._stigmaItems[b].race!=3&&this._stigmaItems[b].race!=this._race)){continue}if(this._stigmaItems[b].categoryId==c.categoryId){if(this._stigmaItems[b].level>c.level){return false}}}return true};PStigmaPlaner.prototype.selectStigmaSlot=function selectStigmaSlot(b){if(b){for(var c=0;c<this._stigmaSlot.length;c++){if(this._stigmaSlot[c]==b){this._stigmaSlot[c].select()}else{this._stigmaSlot[c].unselect()}}}this.refreshStigmaItemsContainer()};PStigmaPlaner.prototype.setLevel=function setLevel(c){this._level=c;if(this.getMaxLevelUsed()>c){for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){if(this._stigmaSlot[b]._currentStigmaItem.level>this._level){this._stigmaSlot[b].clear()}}}}this.refreshStigmaSlots();this.refreshSummaryContainer()};PStigmaPlaner.prototype.setRace=function setRace(c){this._race=c;for(var b=0;b<this._stigmaSlot.length;b++){if(this._stigmaSlot[b]._currentStigmaItem!=null){if(this._stigmaSlot[b]._currentStigmaItem.race!=3&&this._stigmaSlot[b]._currentStigmaItem.race!=this._race){this._stigmaSlot[b].clear()}}}img_race1=pge("race1");img_race2=pge("race2");img_race1.style.background=(this._race==1)?"#223A47":"transparent";img_race2.style.background=(this._race==2)?"#223A47":"transparent";img_race1.style.border=(this._race==1)?"1px solid #69E15E":"0px";img_race2.style.border=(this._race==2)?"1px solid #69E15E":"0px";this.refreshStigmaItemsContainer();this.refreshSummaryContainer()};