perception.c

skylib_fluffos_v3/mudlib/std/shadows/ingested/perception.c · 453 B

From the archive skylib_fluffos_v3.zip

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