sisgurogames Posted November 13, 2020 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 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...
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