Jump to content
  • 0

Requesting for a charm like item in diablo


doommap

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  11/21/12
  • Last Seen:  

I tried this http://www.eathena.ws/board/index.php?showtopic=246304 im using rAthena SVN r16928 and it doesnt work do you guys have alternate solutions for this? cause i really wanna make a misc item that adds attribute to a player.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  11/21/12
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...