3TAJIOH Posted January 10, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 73 Reputation: 1 Joined: 11/27/18 Last Seen: August 4, 2024 Share Posted January 10, 2021 I need to spawn not agressive monsters on event (normally monsters are agressive). Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted January 15, 2021 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 2 hours ago Share Posted January 15, 2021 .@total = 10; monster "prontera",0,0,"Quest Poring",1002,.@total,"NPCNAME::OnPoringKilled"; copyarray .@mob_gid, $@mobid, .@total; for (.@i = 0; .@i < .@total; .@i++) { getunitdata .@mob_gid[.@i], .@array; if (.@array[UMOB_MODE] & MD_AGGRESSIVE) setunitdata .@mob_gid[.@i], UMOB_MODE, (.@array[UMOB_MODE] - MD_AGGRESSIVE); } 2 Quote Link to comment Share on other sites More sharing options...
0 caos51 Posted January 12, 2021 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 26 Reputation: 1 Joined: 06/25/16 Last Seen: January 15, 2024 Share Posted January 12, 2021 I don´t know if there is an easiest way to do it. But... you can store each monster GID and modify their AI with a function. Quote Link to comment Share on other sites More sharing options...
0 3TAJIOH Posted January 15, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 73 Reputation: 1 Joined: 11/27/18 Last Seen: August 4, 2024 Author Share Posted January 15, 2021 (edited) Wow, thx a lot @Emistry Edited January 21, 2021 by 3TAJIOH Quote Link to comment Share on other sites More sharing options...
Question
3TAJIOH
I need to spawn not agressive monsters on event (normally monsters are agressive).
Link to comment
Share on other sites
3 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.