sisgurogames Posted November 13, 2020 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 10 Reputation: 0 Joined: 05/19/20 Last Seen: June 5, 2021 Share Posted November 13, 2020 Hello, Below is the script for Mental potion item, { specialeffect2 EF_SPELLBREAKER; bonus_script "{ bonus bUseSPrate,-10; bonus bMaxSPrate,10; }",1800; },{},{} How can I disable it when the player is killed? Thanks! SiguRO games Quote Link to comment Share on other sites More sharing options...
0 fusqueta Posted November 14, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 32 Reputation: 0 Joined: 10/26/20 Last Seen: February 13, 2021 Share Posted November 14, 2020 check status.cpp void status_change_clear_buffs(struct block_list* bl, uint8 type) ... switch (i) { // Stuff that cannot be removed case SC_WEIGHT50: case SC_WEIGHT90: case SC_COMBO: case SC_SMA: ..... check if your buff is in list then comment with // Quote Link to comment Share on other sites More sharing options...
Question
sisgurogames
Hello,
Below is the script for Mental potion item,
How can I disable it when the player is killed?
Thanks!
SiguRO games
Link to comment
Share on other sites
1 answer 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.