View Single Post
Old 04-27-2009, 06:39 PM   #2
Newworlds
Legend
 
Join Date: Aug 2007
Name: NewWorlds
Home MUD: New Worlds
Posts: 1,425
Newworlds will become famous soon enoughNewworlds will become famous soon enough
Re: need help with a broken function

I'm doubting many can help you with this jumble of code (many imbedded functions significant only to God Wars), but there is the creator of God Wars on here and his name is Kavir. You might try Pming him for some help.




My best guess is that you have a structured damage range that isn't modifiable OR this snippet:
if (dt == gsn_sfury && IS_CLASS(ch, CLASS_HIGHLANDER))
dam = number_range(2500,5000);
is false, thereby reverting to the structured damage range. Try debugging to ensure that your dam variable is used (a good trick is to remove the qualifier).
Newworlds is offline   Reply With Quote