Find
You are looking at a material called showspecials
Put this material on your weapon and you will be able to check out its damage and any special attacks it contains just by examining it. If there are enchantments, it will show the number of charges left.
Created by
thorn
, last updated 13 Dec 2008
Code
if target of examines then showspecs;
##showspecs:
$health = $actor's health;
$healthmax = $actor's healthmax;
sayto $init_obj,"[$actor] is $health/$healthmax";
foreach in $actor do showspec2;
##showspec2:
if $for_id's material like magic then showspec3 else showspec4;
##showspec3:
$health = $for_id's health;
sayto $init_obj," - [$for_id] has $health charges left.";
##showspec4:
sayto $init_obj," - [$for_id] is present";