Well, with this line:
damage(ch,victim,dam,dt,DAM_COLD,FALSE);
^^^^^^
The damage isn't going to show. FALSE means 'Don't show damage message'.
You'll have to make it TRUE (and of course make sure the
spell has a noun_message), or show the victim/chars manually with sprintf's or
acts.
What exactly is one_hit screwing up on? Vague. Show some physical examples,
maybe be a bit more descriptive?
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 04, 2003 3:24 AM
Subject: Iceshield problems (one hit)
> 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
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom