skyroofficial Posted June 2, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 04/16/17 Last Seen: January 31 Share Posted June 2, 2017 So, hi again I would like to request an npc that looks like this If the player have this item 32508 , they can use command @vipbuff and also, if the player have vip status (group_id 5 as default on SQL) , they also can use command @vvipbuff Thanks for the replies ! Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted June 4, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted June 4, 2017 - script VIPBUFF -1,{ OnInit: bindatcmd "vipbuffs", strnpcinfo(3) +"::OnBUFF"; end; OnBUFF: if(countitem(32508) || (getgroupid() >= 5 )){ specialeffect2 EF_HEAL2; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10; specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10; specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3; specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5; specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5; } end; } didnt tested Quote Link to comment Share on other sites More sharing options...
0 skyroofficial Posted June 5, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 04/16/17 Last Seen: January 31 Author Share Posted June 5, 2017 20 hours ago, Cyro said: - script VIPBUFF -1,{ OnInit: bindatcmd "vipbuffs", strnpcinfo(3) +"::OnBUFF"; end; OnBUFF: if(countitem(32508) || (getgroupid() >= 5 )){ specialeffect2 EF_HEAL2; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,600000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,600000,10; specialeffect2 EF_ANGELUS; sc_start SC_ANGELUS,600000,10; specialeffect2 EF_SUFFRAGIUM; sc_start SC_SUFFRAGIUM,600000,3; specialeffect2 EF_IMPOSITIO; sc_start SC_IMPOSITIO,600000,5; specialeffect2 EF_GLORIA; sc_start SC_GLORIA,600000,5; } end; } didnt tested hi ! sorry for the late replies. tested .. but it didnt work Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted June 5, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted June 5, 2017 Any errors? Quote Link to comment Share on other sites More sharing options...
Question
skyroofficial
So, hi again
I would like to request an npc that looks like this
If the player have this item 32508 , they can use command @vipbuff
and also, if the player have vip status (group_id 5 as default on SQL) , they also can use command @vvipbuff
Thanks for the replies !
Link to comment
Share on other sites
3 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.