I found where to modify the object specific limits in oedit.c, but the
problem I have is that if you are an implementor, I want you to be able to
violate my limits... so where the code below woul limit the +hit to 5, I
would like LVL_IMPL to be able to break that limit... if anyone has any
ideas I would greatly appreciate it... all of this is in the procedure
oedit_parse.
Thanx - Carlton
/*******************************/
case OEDIT_VALUE_1:
number = atoi(arg);
switch (GET_OBJ_TYPE(OLC_OBJ(d))) {
case ITEM_WEAPON:
if (number>5)
break;
else
GET_OBJ_VAL(OLC_OBJ(d), 0) = number;
oedit_disp_val2_menu(d);
default:
/* Proceed to menu 2 */
GET_OBJ_VAL(OLC_OBJ(d), 0) = number;
oedit_disp_val2_menu(d);
return;
}
/* Only gets here on failure */
oedit_disp_val1_menu(d);
return;
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/26/03 PDT