Yomigaeru Posted August 12, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 89 Reputation: 5 Joined: 12/25/11 Last Seen: January 3, 2019 Share Posted August 12, 2013 i'm having errors with my clone script. it's kinda weird. here's my item script: 20060,Konoha_Head_Protector,Konoha Head Protector,5,0,,150,,1,,1,0xFFFFFFFF,7,2,256,,0,1,1141,{ autobonus2 "{ callfunc \"Bunshin\"; }",1000,1000,BF_WEAPON|BF_MAGIC|BF_MISC,"{ specialeffect2 666; }"; },{},{} here's my function: //Kage Bunshin function script Bunshin { sleep2 1000; // every 1 second spawn one, change this to 3 minutes getmapxy .@map$, .@x, .@y, 0; if ( mobcount( .@map$, "clonecheck::on"+ getcharid(0) ) < 1 ) // limit spawn to 3 clone .@map$, .@x, .@y, "clonecheck::On"+ getcharid(0), getcharid(0), getcharid(0), 0x8D, 1; } i got that script from eA. the problem is, there is no clone limit. when i'm hit a clone always respawn, how can I prevent this from happening? Quote Link to comment Share on other sites More sharing options...
Question
Yomigaeru
i'm having errors with my clone script. it's kinda weird.
here's my item script:
20060,Konoha_Head_Protector,Konoha Head Protector,5,0,,150,,1,,1,0xFFFFFFFF,7,2,256,,0,1,1141,{ autobonus2 "{ callfunc \"Bunshin\"; }",1000,1000,BF_WEAPON|BF_MAGIC|BF_MISC,"{ specialeffect2 666; }"; },{},{}
here's my function:
Link to comment
Share on other sites
0 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.