Rizz Posted January 2, 2019 Posted January 2, 2019 Hi, I have a problem in adding item script. I intend to make a certain item could kill the user for certain chance ( for event purpose ). 12233,Kvass,Kvass,0,20,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ skilleffect "AC_CONCENTRATION",0; atcommand "@kill",50; },{},{} I want to make this Kvass could instakill the user for 50% chance. I hope someone can help, thanks anyway Quote
0 Emistry Posted January 2, 2019 Posted January 2, 2019 2 hours ago, Haruka Mayumi said: percentheal -100,-100; use unitkill() instead. percentheal aren't a good example although it do the same trick. { skilleffect "AC_CONCENTRATION",0; if (rand(100) < 50) unitkill getcharid(3); },{},{} 1 Quote
1 Haruka Mayumi Posted January 2, 2019 Posted January 2, 2019 12233,Kvass,Kvass,0,20,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ skilleffect "AC_CONCENTRATION",0; if(rand(100)<50) percentheal -100,-100; },{},{} 1 Quote
Question
Rizz
Hi, I have a problem in adding item script. I intend to make a certain item could kill the user for certain chance ( for event purpose ).
12233,Kvass,Kvass,0,20,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ skilleffect "AC_CONCENTRATION",0; atcommand "@kill",50; },{},{}
I want to make this Kvass could instakill the user for 50% chance.

I hope someone can help, thanks anyway
4 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.