cloak.c

skylib_fluffos_v3/mudlib/std/shadows/other/cloak.c · 337 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

inherit "/std/effect_shadow";


int test_for_effect( object thing ) {
   return member_array( "/std/effects/other/cloak",
      (string *)thing->query_wear_effects() ) != -1;
}

void taken_off(object what, string eff)
{
  if (eff != "/std/effects/other/cloak")
    player->taken_off(what, eff);
  else {
    remove_this_effect();
  }
}

Site Stats

Snippets: 1791
Codebases: 571