mphate
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Jan 7, 2025 5:14 pm
Geomancer
GroupAdministrators
Posts1,988
JoinedJul 26, 2005
Ok, so fast question since im working on help files and Samson maybe you have an idea here on what it should do?
While doing this help file and looking at the code I see this
So should we just leave it as all mobiles with that vnum start hating the player? Chances are that its meant for a single mobile that would then hunt you down....but well lol.
Syntax: mphate <player> <vnum> This sets the first mobile with the vnum to start hating the player. Actually...Every mobile with that vnum to hating the player...
While doing this help file and looking at the code I see this
if( arg2[0] == '\0' ) { progbug( "Mphate - bad syntax, no aggressor", ch ); return; } else { if( is_number( arg2 ) ) { vnum = atoi( arg2 ); if( vnum < 1 || vnum > MAX_VNUM ) { progbug( "Mphate -- aggressor vnum out of range", ch ); return; } } else { progbug( "Mphate -- aggressor no vnum", ch ); return; } } for( mob = first_char; mob; mob = mob->next ) { if( !IS_NPC( mob ) || !mob->in_room || !mob->pIndexData->vnum ) continue; if( vnum == mob->pIndexData->vnum ) start_hating( mob, victim ); }
So should we just leave it as all mobiles with that vnum start hating the player? Chances are that its meant for a single mobile that would then hunt you down....but well lol.
#2 Jan 7, 2025 5:16 pm
Geomancer
GroupAdministrators
Posts1,988
JoinedJul 26, 2005
same for mphunt and mpfear as well
#3 Jan 7, 2025 5:24 pm
Black Hand
GroupAdministrators
Posts3,714
JoinedJan 1, 2002
I don't see a problem with leaving this alone because it appears the intent is to make all currently loaded references to the VNUM hostile toward the victim.
As those get killed off and new ones replace them the hatred should subside naturally.
As those get killed off and new ones replace them the hatred should subside naturally.
#4 Jan 7, 2025 7:16 pm
Geomancer
GroupAdministrators
Posts1,988
JoinedJul 26, 2005
Sounds good
Pages:<< prev 1 next >>