Jump to content

Conversion of 'skill_break_equip' in skill.c


nanakiwurtz

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

I'd like to request a conversion of 'skill_break_equip' in skill.c into a script command, where the command would break the current equipped equipment they wear and put it on their inventory.

This is the opposite of 'repair' command.

 

I think this command will be useful in quests or events map (+ noskill mapflag), so blacksmiths can't use their 'Repair Weapon' skill. 

So the players can't eq-equip their equipments again during the quest/event.. /ok

Edited by nanakiwurtz
  • Upvote 1
Link to comment
Share on other sites


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

I don't see why not. Any objections?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

you can achieve this using delequip + getitem2 ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Thanks Emistry :)

It's easier to use one single command to achieve it, isn't it? :P

Link to comment
Share on other sites

  • 2 weeks later...

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

Implemented in r17502/17d0006.

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...