ngek202 Posted February 10, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 10, 2012 Is there a global way to disable Mob/MVP Teleporting Skill? Quote Link to comment Share on other sites More sharing options...
Brian Posted February 10, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted February 10, 2012 You could add the 'monster_noteleport' mapflag to all maps. mapflag#monster_noteleport (This might be easier than disabling every mob's Teleport skill.) The source equivalent would be "enable flag.monster_noteleport on every map by default". add this in map.c around line 2812: // on all maps, block monsters from teleporting map[i].flag.monster_noteleport = 1; So now that function looks like: /// Initializes map flags and adjusts them depending on configuration. void map_flags_init(void) { int i; for( i = 0; i < map_num; i++ ) { // mapflags memset(&map[i].flag, 0, sizeof(map[i].flag)); // additional mapflag data map[i].zone = 0; // restricted mapflag zone map[i].nocommand = 0; // nocommand mapflag level map[i].bexp = 100; // per map base exp multiplicator map[i].jexp = 100; // per map job exp multiplicator memset(map[i].drop_list, 0, sizeof(map[i].drop_list)); // pvp nightmare drop list // adjustments if( battle_config.pk_mode ) map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris] // on all maps, block monsters from teleporting map[i].flag.monster_noteleport = 1; } } Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 10, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Author Share Posted February 10, 2012 wow thanks Sir Brian will try this Quote Link to comment Share on other sites More sharing options...
Question
ngek202
Is there a global way to disable Mob/MVP Teleporting Skill?
Link to comment
Share on other sites
2 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.