forked from tanglewoodforest/src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdruid.cc
More file actions
80 lines (63 loc) · 1.8 KB
/
druid.cc
File metadata and controls
80 lines (63 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "define.h"
#include "struct.h"
bool spell_polymorph( char_data*, char_data*, void*, int, int )
{
return false;
}
void do_polymorph( char_data*, const char * )
{
/*
char_data* mob;
obj_data* obj;
player_data* player;
return;
if( !ch->link )
return;
if( ch->link->original ) {
send_to_char( "You can only polymorph in human form.\n\r", ch );
return;
}
send_to_char( "You transform into a tiger.\n\r", ch );
mob = new Mob_Data( get_species( 690 ) );
char_to_room( mob, ch->in_room );
act( "The air around $n fades into a strange array of swirling colors.",
ch, 0, 0, TO_ROOM );
act( "$e is enveloped by the colors and when they recede you see $N.",
ch, 0, mob, TO_ROOM );
if( ch->contents ) {
send_to_char( "You equipment clatters to the floor.\n\r", ch );
while( ch->contents ) {
obj = remove( ch->contents, ch->contents->number );
put_obj( obj, ch->in_room );
}
act( "$n's equipment lies scattered %s.",
ch, 0, 0, TO_ROOM, ***room position );
}
char_from_room( ch );
ch->link->character = mob;
ch->link->original = player;
mob->link = ch->link;
ch->link = 0;
mob->pcdata = ch->pcdata;
mob->timer = 0;
set_bit( ch->status, STAT_POLYMORPH );
*/
}
void monk_return( char_data* )
{
/*
remove_bit( ch->link->original->status, STAT_POLYMORPH );
send_to_char( "You transform back to human form.\n\r", ch );
ch->link->character = ch->link->original;
ch->link->original = 0;
ch->link->character->link = ch->link;
char_to_room( ch->link->character, ch->in_room );
ch->link = 0;
ch->pcdata = 0;
ch->Extract( );
*/
}