Knights
![]() ![]() |
I remember reading something about how the script picks knights randomly to avoid picking an unavailable knight. Would it be possible to edit the script so that it won't pick knights below a certain attack skill? Or just not pick knights with 55 attack? |
![]() ![]() |
Change the line in the script from... knightSelect.selectedIndex=1+Math.floor(Math.random()*(knightSelect.options.length-1)); To(pick last knight in the list)... knightSelect.selectedIndex=knightSelect.options.length-1; |
![]() ![]() |
Try this: function knightMinAtkIndex(knightSelect, minAtk)
|
![]() ![]() |
That for-loop didn't paste right: for(k=0;k<knightselect> |
![]() ![]() |
Try again: for(k=0;k<knightselect> |
![]() ![]() |
For-loop still pastes bad, but this function is a little better: function knightMinAtkIndex(knightSelect, minAtk)
|

