zap_stat_cache

skylib_fluffos_v3/mudlib/doc/new/living/zap_stat_cache · 572 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.DT 
zap_stat_cache 
$MUDNAME$ living help
zap_stat_cache 

Name
.SI 5
zap_stat_cache - Reset's the stat cache.
.EI

Syntax
.SI 5
void zap_stat_cache(string stat);
.EI

Description
.SP 5 5
Resets the stat cache back to its original empty stat.  This is used
in the stat changeing thingys to make sure that the skills are correctly
modified by the newly changed stats.  If stat is 0 it will zap the entire
array, if it is a string it will only zap the ones that that particular
stat has something to do with.
.EP

See also
.SP 5 5
query_stat_cache, query_skill_bonus
.EP

Site Stats

Snippets: 1791
Codebases: 571