Jump to content
  • 0

Requesting for a charm like item in diablo


Question

3 answers to this question

Recommended Posts

Posted (edited)

thanks alot for your help but im still having an error i think its about this

EDITED:

clif_updatestatus(sd,SP_WEIGHT);

//Auto-equip

if(data->flag.autoequip) pc_equipitem(sd, i, data->equip);

+ if(sd->inventory_data->type == IT_CHARM) status_calc_pc(sd,0);

return 0;

}

should i still add return 0; } ? cause when i try removing that thing compilation doesnt have errors

and i think you forgot to put this

--- map/itemdb.c Sat May 03 14:36:36 2008

+++ map/itemdb.c Sat Oct 11 20:24:47 2008

@@ -358,10 +358,11 @@

switch(type) {

case IT_WEAPON:

case IT_ARMOR:

case IT_PETEGG:

case IT_PETARMOR:

+ case IT_CHARM:

return 0;

default:

return 1;

}

}

@@ -375,10 +376,11 @@

switch(data->type) {

case IT_WEAPON:

case IT_ARMOR:

case IT_PETEGG:

case IT_PETARMOR:

+ case IT_CHARM:

return 0;

default:

return 1;

}

}

* GOT IT FIXED THANKS FOR HELPING

Edited by doommap

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...