The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
makeitem2 not dropping on floor
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Onairda
hi, i messing with this script so much hours , i dont see any drop items in the floor , the items is succesfully deleted on my inventory, but the items is not dropping on the ground and there is no error, and i think there was something wrong in makeitem2
prontera,150,155,3 script penalty_drop 103,{ OnPCDieEvent: if ( .@karma > -1000 ) { .@rate = ( pkpoints / 1000 ); if ( .@rate < 0 ) .@rate = 1; if ( .@rate < rand( 100 ) ) { for ( .@i = 1; .@i <= 10; .@i++ ) if ( getequipid( .@i ) != -1 ) .@equip_part_found++; if ( .@equip_part_found ) { do { .@equip_part = rand( 1,10 ); .@item_id = getequipid( .@equip_part ); } while( .@item_id == -1 ); .@refine = getequiprefinerycnt( .@equip_part ); for ( .@i = 0; .@i < 4; .@i++ ) .@card[.@i] = getequipcardid( .@equip_part,.@i ); getmapxy( .@map$,.@x,.@y,0 ); delequip .@equip_part; makeitem2 .@item_id,1,.@map$,.@x,.@y,1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3]; dispbottom "One of your equipment dropped."; } } } end; }
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.