Jump to content

Skill/Item Map Restriction (Now Supports Multiple Maps!)


Recommended Posts

  • 1 month later...
Posted

@clydelion, ok I just looked this diff and you have 2 major typo :

- clif_colormes(sd,COLOR_RED,e_msg);

+ clif_colormes(sd,color_table[color_RED],e_msg);

This was change since channel implementation since they where using a different color table.

 

- if( skill_db[skill_id].mapdeny[m].deny_flag ){

+ uint16 idx = skill_get_index(skill_id);

+ if( skill_db[idx].mapdeny[m].deny_flag ){

The array doesn't have 8K+ index like this would have be the case if idx == skill_id, In this array the skill are added without the id gap to minimize his size. (but you did the assigment right when reading he db).

 

Nb: That functionality is quite the same as db/skill_nocast_db.txt without the need of defining some zone.

  • 1 month later...
  • 6 months later...
  • 5 months later...
  • 3 months later...
  • 4 weeks later...
  • 3 weeks later...
  • 5 years later...

Join the conversation

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

Guest
Reply to this topic...

×   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...