File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 290290 < button id ="ma_zoomin "> Zoom in</ button >
291291 < button id ="ma_zoomout "> Zoom out</ button >
292292 </ div >
293- < p > < br /> v177 </ p >
293+ < p > < br /> v178 </ p >
294294 < script >
295295 //////////////////////////////////////////////////////////////////////////////////////////////INIT VARS
296296 var mouseX = 0 ;
581581 }
582582
583583 }
584- document . getElementById ( "in_text" ) . innerHTML = char_name [ char_rarity ] [ char_num ] + "-" + ranks [ char_rarity ] + ": #" + ( char_rarity * 5 + char_num ) . toString ( ) ;
584+ document . getElementById ( "in_text" ) . innerHTML = char_name [ char_rarity ] [ char_num ] + "-" + ranks [ char_rarity ] + ": #" + ( char_rarity * 5 + char_num + 1 ) . toString ( ) ;
585585 }
586586 //////////////////////////////////////////////////////////////////////////////////////////////BUTTONS-MANDELBROT
587587 document . getElementById ( "ma" ) . onclick = function ( ) {
858858 }
859859 } ;
860860 //////////////////////////////////////////////////////////////////////////////////////////////INVENTORY-EQUIP
861- for ( var iter = 0 ; iter < 15 ; iter ++ ) {
861+ for ( var iter = 0 ; iter < 20 ; iter ++ ) {
862862 document . getElementById ( iter ) . onclick = function ( ) {
863863 char_rarity = Math . floor ( this . id / 5 ) ;
864864 char_num = this . id % 5 ;
865- document . getElementById ( "in_text" ) . innerHTML = char_name [ char_rarity ] [ char_num ] + "-" + ranks [ char_rarity ] + ": #" + this . id ;
865+ document . getElementById ( "in_text" ) . innerHTML = char_name [ char_rarity ] [ char_num ] + "-" + ranks [ char_rarity ] + ": #" + ( this . id + 1 ) . tostring ( ) ;
866866 } ;
867867 } ;
868868 </ script >
You can’t perform that action at this time.
0 commit comments