viewing paste summon selected mvp with zeny cost. | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
 
prontera,264,210,3  script  Miyabi  906,{
    mes "Hi~ ";
    emotion 30;
    mes "You can choose your friend here !";
    mes "1 Friend for 10M Zeny";
    mes "If you choose all only 80M Zeny";
    next;
    if( select("I want Friend ! ","I don't want Friend") == 1 ) {
        .@i = select( .mob_list_menu$ );
        .@is_all = ( .@i > .mob_list_size );
    
        mes "Zeny : "+.zeny[.@is_all];
        
        emotion 35;
        if ( Zeny >= .zeny[.@is_all] )
            if ( select( "Pay","Cancel" ) == 1 ) {
                Zeny -= .zeny[.@is_all];
                if ( .@is_all )
                    for ( .@i = 0; .@i < .mob_list_size; .@i++ )
                        monster "this",-1,-1,"--ja--",.mob_list[.@i],1;
                else 
                    monster "this",-1,-1,"--ja--",.mob_list[.@i-1],1;
            }
    }
    close;
    
    OnInit:
        setarray .zeny,
            10000000,
            80000000;
            
        setarray .mob_list,1150,1505,1564,1370,1647,1630,2238,2098,2241,1649,1651,1646,2237,1650;
        
        .mob_list_size = getarraysize( .mob_list );
        while ( .@i < .mob_list_size )
            .mob_list_menu$ = .mob_list_menu$ + getmonsterinfo( .mob_list[.@i++],MOB_NAME ) + ":";
        .mob_list_menu$ = .mob_list_menu$ + "^FF0000Summon All^000000";
        end;
}
 
Viewed 1227 times, submitted by Emistry.