Re: у кого есть 7-ка(ки) лучники?
там все просто,сам настрой призрачки вот
if(parseInt(top.Battle.oBattle.arrRes["spirit"].innerHTML) >= 5)
{
if(top.Battle.oBattle.oEnemySlot.oLayer.innerHTML.match(/axe[\d]+.gif/))
_name = "spirit_12_prot_100";
else if(top.Battle.oBattle.oEnemySlot.oLayer.innerHTML.match(/knife[\d]+.gif/))
_name = "spirit_11_prot_100";
else if(top.Battle.oBattle.oEnemySlot.oLayer.innerHTML.match(/crossbow[\d]+.gif/) || top.Battle.oBattle.oEnemySlot.oLayer.innerHTML.match(/hammer[\d]+.gif/))
_name = "spirit_13_prot_100";
else if(top.Battle.oBattle.oEnemySlot.oLayer.innerHTML.match(/sword[\d]+.gif/))
_name = "spirit_14_prot_100";
}
if((typeof(top.Battle.oBattle.oMySlot.arrEffects["spirit_11_prot_100"]) != "object") &&
(typeof(top.Battle.oBattle.oMySlot.arrEffects["spirit_12_prot_100"]) != "object") &&
(typeof(top.Battle.oBattle.oMySlot.arrEffects["spirit_13_prot_100"]) != "object") &&
(typeof(top.Battle.oBattle.oMySlot.arrEffects["spirit_14_prot_100"]) != "object") &&
(typeof(top.Battle.oBattle.oMySlot.arrEffects["defence_bestposition_blk"]) != "object") &&
(typeof(top.Battle.oBattle.oMySlot.arrEffects["defence_bestposition_hit"]) != "object") && parseInt(top.Battle.oBattle.arrRes["spirit"].innerHTML) >= 10)
_name = "spirit_block25";