Basicly what was happening, was that any attack was called "icy shards" instead
of your sword or (for example) The Lawyer from Hell's "icy shards" . So
what i did (with a gentle nudge in the right direction, was add in
int dam2;
int dt2;
if (affect_find(ch->affected,skill_lookup("iceshield")));
{
dt2 = skill_lookup("iceshield");
dam2 = number_range(50,100);
//commented out, doesnt seem to have an effect
//damage(ch,victim,dam2,dt2,DAM_COLD,FALSE);
cold_effect(victim,ch->level,dam2,TARGET_CHAR);
result = damage( ch, victim, dam2, dt2, dam_type, TRUE );
}
and it works properly. Now if i can add in a chance that it only hits
sometimes, that'd be great :-D thanks for input and help list.
Atm, Of Forgotten Empire
__________________________________________________________________
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