62003,Spirit of Gryphon,GryphonEggScroll,18,20,,10,,,,,0xFFFFFFFF,63,2,,,,,,{.@i= rand(100);if(.@i<3){.@x= callfunc("F_Rand",20069,5471); getitem .@x,1; announce "("+ strcharinfo(0)+"), won a <"+ getitemname(.@x)+"> from <"+ getitemname(62003)+">!",bc_all,0xFFFF00;}elseif(.@i<7){ getitem callfunc("F_Rand",6230,6234),1;}elseif(.@i<15){ getitem callfunc("F_Rand",19537,20270,19669,5660),1;}else{ getitem callfunc("F_Rand",12684,14524,12710,12437,12214,12210),rand(3);}},{},{}
So i have this custom item where i used nested if as the item script, but sometimes when i open there are chances that you will not get any item at all.
what seems to be wrong here?
*note : i know we have item_package but i find it easier using this method because i dont have to add const id when making scrolls.
Question
iubantot
So i have this custom item where i used nested if as the item script, but sometimes when i open there are chances that you will not get any item at all.
what seems to be wrong here?
*note : i know we have item_package but i find it easier using this method because i dont have to add const id when making scrolls.
Link to comment
Share on other sites
2 answers 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.