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! |
Re: Weapon material immunities
Your CharData is a string pointer and your ObjData is an object pointer. You can't do that without a Mixed array.
|
All times are GMT -4. The time now is 03:32 PM. |
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022