MuffinEater Posted October 10, 2016 Share Posted October 10, 2016 item drop penalty po ito based on karma kapag + karma ka may chance mahulugan ka ng item ang problema ko po gusto ko po sana na mahuhulugan ka lang kapag player lang ang naka kill sayo at lalabas sana sa chat box kung anong item nahulog sayo maraming Salamat ! - script penalty_drop -1,{ OnPCDieEvent: if ( killedrid != getcharid(3) && KARMAPOINTS > -800 ) { if ( KARMAPOINTS <= 1000 ) { [email protected]_count = rand( 1,2 ); [email protected] = 20; } else if ( KARMAPOINTS >= 1001 && KARMAPOINTS <= 20000 ) { [email protected]_count = rand( 1,3 ); [email protected] = 100; } else if ( KARMAPOINTS >= 20001 && KARMAPOINTS <= 30000 ) { [email protected]_count = rand( 2,4 ); [email protected] = 100; } else if ( KARMAPOINTS >= 30001 && KARMAPOINTS <= 40000 ) { [email protected]_count = rand( 2,5 ); [email protected] = 100; } else if ( KARMAPOINTS >= 40001 && KARMAPOINTS <= 50000 ) { [email protected]_count = rand( 3,5 ); [email protected] = 100; } else if ( KARMAPOINTS >= 50001 && KARMAPOINTS <= 60000 ) { [email protected]_count = rand( 4,6 ); [email protected] = 100; } else if ( KARMAPOINTS >= 60001 && KARMAPOINTS <= 70000 ) { [email protected]_count = rand( 5,7 ); [email protected] = 100; } else if ( KARMAPOINTS >= 70001 ) { [email protected]_count = rand( 5,7 ); [email protected] = 100; } if ( [email protected] > 0 && [email protected]_count > 0 ) { while( [email protected] < [email protected]_count ) { getinventorylist; if ( @inventorylist_count == 0 ) end; [email protected] = rand( @inventorylist_count ); getmapxy( [email protected]$,[email protected],[email protected],0 ); if ( countitem2(@inventorylist_id[[email protected]],@inventorylist_identify[[email protected]],@inventorylist_refine[[email protected]],@inventorylist_attribute[[email protected]],@inventorylist_card1[[email protected]],@inventorylist_card2[[email protected]],@inventorylist_card3[[email protected]],@inventorylist_card4[[email protected]]) ) { delitem2 @inventorylist_id[[email protected]],@inventorylist_amount[[email protected]],@inventorylist_identify[[email protected]],@inventorylist_refine[[email protected]],@inventorylist_attribute[[email protected]],@inventorylist_card1[[email protected]],@inventorylist_card2[[email protected]],@inventorylist_card3[[email protected]],@inventorylist_card4[[email protected]]; makeitem2 @inventorylist_id[[email protected]],@inventorylist_amount[[email protected]],[email protected]$,[email protected],[email protected],@inventorylist_identify[[email protected]],@inventorylist_refine[[email protected]],@inventorylist_attribute[[email protected]],@inventorylist_card1[[email protected]],@inventorylist_card2[[email protected]],@inventorylist_card3[[email protected]],@inventorylist_card4[[email protected]]; [email protected]++; } } } } end; } Quote Link to comment Share on other sites More sharing options...