> Why not have it remove the weapon when an affect wears off > (ie: AFF_ASTRAL), and have the spello call both MAG_MANUAL and > MAG_AFFECTS, where MAG_AFFECTS sets the astral flag. if the affect is on the char, then what happens if the player junks the weapon before the affect runs out..i was thinking about adding in object affects (basically the same as char affects) so that i could have time based affections on objects (ie, bless, poison, etc) but..well..i haven't gotten to it :) to give an answer to the original question..just look at the corpse code, and make a reproduction of it for your astral weapon..then make sure you set the object's timer..i know that circle didn't have support for anything beyond corpse extraction, but it was simple to change.. siv +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST