care1190 Posted May 24, 2019 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 31 Reputation: 1 Joined: 11/12/18 Last Seen: February 17, 2020 Share Posted May 24, 2019 (edited) Hi im looking to make a custom item that when its used makes pasive mobs agressive for certain time, its there something like that? Edited May 25, 2019 by care1190 Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted May 28, 2019 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Monday at 09:07 AM Share Posted May 28, 2019 Not easily, but if you know to code then the easiest approach is to create a new skill and make the item use that skill. The skill then needs be implemented in: int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, uint16 skill_id, uint16 skill_lv, t_tick tick, int flag) And need some code along those lines: if (!status_has_mode(&dstmd->status,MD_AGGRESSIVE)) sc_start4(src, bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000); Quote Link to comment Share on other sites More sharing options...
Question
care1190
Hi
im looking to make a custom item that when its used makes pasive mobs agressive for certain time, its there something like that?
Edited by care1190Link 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.