View Single Post
Old 09-05-2009, 06:19 PM   #1
riayi
New Member
 
Join Date: Aug 2009
Posts: 2
riayi is on a distinguished road
Weapon material immunities

Hello. I installed a FirstMud server, and have modified it a bit. I want to get imms/res/vulns to weapon materials working, and have churned out some code. In handler.c I've got this:
In fight.c, the damage modifier is checked like so:
In defines.h, I set up material types (I think):
And lastly, in proto.h, the check_material function is defined:
I've just begun coding, and I'm using the functions already in place, as well as whatever I can find on the net, to guide my modifications. I have managed to achieve most of what I've started, but right now the compiler complains that The referenced line is the first one from fight.c: I'd appreciate any help anyone could give me. Thanks in advance!
riayi is offline   Reply With Quote