View Single Post
  #9  
Old 05-03-2009, 10:54 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by KLS View Post
Throw a diff on submissions and I'll commit it with the rest of this combat stuff I'm finishing up(if no one else does first)
here you go.

Quote:
Index: npc.h
================================================== =================
--- npc.h (revision 459)
+++ npc.h (working copy)
@@ -324,8 +324,8 @@
void AIDoSpellCast(int8 i, Mob* tar, sint32 mana_cost, int32* oDontDoAgainBefore = 0);


- int16 max_dmg;
- int16 min_dmg;
+ int32 max_dmg;
+ int32 min_dmg;
sint32 accuracy_rating;

//pet crap:
Index: zonedump.h
================================================== =================
--- zonedump.h (revision 459)
+++ zonedump.h (working copy)
@@ -82,8 +82,8 @@
int8 luclinface; // and beard);
int8 beard; // solar: this probably doesn't work right, was missing from here
// int8 aa_title; ////not loaded from DB
- int16 min_dmg;
- int16 max_dmg;
+ int32 min_dmg;
+ int32 max_dmg;
char npc_attacks[30];
// float fixedZ;
int16 d_meele_texture1;
Reply With Quote