call.c
./lib/skills/paladin/call.c · 431 B
From the archive h7v3.0a.tar.gz
Download the archive « Back to the archive contents
#define MIN_LEVEL_TO_CALL 16
status call(string str, mixed alt_type) {
if(this_player()->query_level() < MIN_LEVEL_TO_CALL) {
notify_fail("You have not yet proven yourself worthy.\n");
return 0;
}
if(!str) {
notify_fail("Call what?\n");
return 0;
}
if(str == "horse" || str == "warhorse" || str == "steed") {
return call_other("/skills/paladin/whistle", "whistle", str, alt_type);
}
return 0;
}