Jump to content
  • 0
prism

Changing the jail map/Kyrie Eleison

Question

How would I go about doing this? I want to change the jail map to lhz_in03 259 259.

Also, how can I make it where Kyrie can be used on mobs again? My understanding is the ability to do this was removed long ago.

Edited by prism
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

1. Jail is hard coded, meaning in src/common/mapindex.h

Find, #define MAP_JAIL "sec_pri" and change the stuff inside the quote to what ever you want and recompile, should however possibly consider the x and y coordinates which are as well hard coded in atcommand.c

2. Try pressing shift before you click the monster, to my understanding that should make it work.

  • Upvote 1
Link to comment
Share on other sites

In status.c

search this:

case SC_KYRIE:
 if (bl->type == BL_MOB)
  return 0;

and change to

/* case SC_KYRIE:
 if (bl->type == BL_MOB)
  return 0;*/

  • Upvote 1
Link to comment
Share on other sites

Thanks, that helped Lilith.

My next question is, if i change the jail map, how do i set where it spawns players? I saw the map in the mapindex.h but didn't see where it tells players to appear when warped.

Edit: nevermind, i found it in map/atcommand.c

Edited by prism
  • Upvote 1
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.