Rizz Posted January 2, 2019 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted January 2, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share 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 Link to comment Share on other sites More sharing options...
1 Haruka Mayumi Posted January 2, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 485 Reputation: 271 Joined: 06/13/17 Last Seen: Monday at 10:43 AM Share 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 Link to comment Share on other sites More sharing options...
0 Rizz Posted January 2, 2019 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share Posted January 2, 2019 Thanks again Haruka Quote Link to comment Share on other sites More sharing options...
0 Rizz Posted January 12, 2019 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 72 Reputation: 0 Joined: 07/29/17 Last Seen: December 28, 2022 Author Share Posted January 12, 2019 Thanks sir emistry Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.