I have implemented a iceshield in my mud, but my problem is getting it to show
damage properly without screwing up the rest of one_hit.
here is what i have
/*
* Bonuses.
*/
if (affect_find(ch->affected,skill_lookup("iceshield")));
{
dt = skill_lookup("iceshield");
dam = number_range(100,100); /* set both numbers to 100 for testing
purposes*/
damage(ch,victim,dam,dt,DAM_COLD,FALSE);
cold_effect(victim,ch->level,dam,TARGET_CHAR);
}
Any help, comments, advice?
Atm, of Forgotten Empire (not open for players. Contact me if interested in
beta/bug testing)
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455