perception.c

skylib_mudos_v1/mudlib/std/shadows/ingested/perception.c · 446 B

From the archive skylib_mudos_v1.tar.gz

Download the archive   « Back to the archive contents

/*  -*- LPC -*-  */
/*
 * $Locker:  $
 * $Id: perception.c,v 1.1 1998/01/06 04:36:51 ceres Exp $
 * $Log: perception.c,v $
 * Revision 1.1  1998/01/06 04:36:51  ceres
 * Initial revision
 * 
*/
inherit "/std/effect_shadow";

#define SKILL "other.perception"
#define BONUS 100

int query_skill_bonus(string skill) {
    int bonus;

    bonus = player->query_skill_bonus(skill);
    if (skill == SKILL) {
	bonus += BONUS;
    }
    return bonus;
}

Site Stats

Snippets: 1791
Codebases: 571