Added Jamdog to do_cheat. --Rumble
This commit is contained in:
@@ -79,7 +79,7 @@ int has_flight(struct char_data *ch)
|
|||||||
|
|
||||||
/* Any equipped objects with AFF_FLYING will do it too. */
|
/* Any equipped objects with AFF_FLYING will do it too. */
|
||||||
for (i = 0; i < NUM_WEARS; i++)
|
for (i = 0; i < NUM_WEARS; i++)
|
||||||
if (GET_EQ(ch, i) && OBJAFF_FLAGGED(obj, AFF_FLYING))
|
if (GET_EQ(ch, i) && OBJAFF_FLAGGED(GET_EQ(ch, i), AFF_FLYING))
|
||||||
return (1);
|
return (1);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
|
|||||||
@@ -1212,6 +1212,7 @@ void do_cheat(struct char_data *ch)
|
|||||||
GET_LEVEL(ch) = LVL_IMPL;
|
GET_LEVEL(ch) = LVL_IMPL;
|
||||||
break;
|
break;
|
||||||
case 2: // Shamra
|
case 2: // Shamra
|
||||||
|
case 242: // Jamdog
|
||||||
case 295: // Detta
|
case 295: // Detta
|
||||||
case 156: // Fizban
|
case 156: // Fizban
|
||||||
case 420: // Jamdog
|
case 420: // Jamdog
|
||||||
|
|||||||
@@ -277,7 +277,7 @@ int valid_dg_target(struct char_data *ch, int bitvector)
|
|||||||
{
|
{
|
||||||
if (IS_NPC(ch))
|
if (IS_NPC(ch))
|
||||||
return TRUE; /* all npcs are allowed as targets */
|
return TRUE; /* all npcs are allowed as targets */
|
||||||
else if ((STATE(ch->desc) != CON_PLAYING))
|
else if (ch->desc && (STATE(ch->desc) != CON_PLAYING))
|
||||||
return FALSE; /* Only PC's who are playing can be targetted */
|
return FALSE; /* Only PC's who are playing can be targetted */
|
||||||
else if (GET_LEVEL(ch) < LVL_IMMORT)
|
else if (GET_LEVEL(ch) < LVL_IMMORT)
|
||||||
return TRUE; /* as well as all mortals */
|
return TRUE; /* as well as all mortals */
|
||||||
|
|||||||
Reference in New Issue
Block a user