Jump to content
  • 0

Pneuma


Unknown

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   1
  • Joined:  09/07/12
  • Last Seen:  

Hello, I would like to make pneuma last a specific number of hits instead of "X" seconds. How can I do that? Any suggestion?

Thank you in advance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

i think there's no other way than src code edit
its non-small src edit, what i mean is it will be hard for starters.
you should ask someone for this to avoid conflicts in the server.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   46
  • Joined:  03/27/13
  • Last Seen:  

Hello, I would like to make pneuma last a specific number of hits instead of "X" seconds. How can I do that? Any suggestion?

Thank you in advance

 

Try this one:

 

in src/map/skill.c

Find:

	case MG_SAFETYWALL:
#ifdef RENEWAL
		val2 = status_get_max_hp(src) * 3;
#else
		val2 = skill_lv+1;
#endif
		break;

Then just add that case AL_PNEUMA line i wrote below the first break so it'll be like this:

	case MG_SAFETYWALL:
#ifdef RENEWAL
		val2 = status_get_max_hp(src) * 3;
#else
		val2 = skill_lv+1;
#endif
		break;
	case AL_PNEUMA:
		val2 = skill_lv;
		break;

Then recompile.

 

Always remember to make a back up of your skill.c first before doing the process.

 

EDIT: And uh i haven't tested this yet so i dunno if It'll work out well.

Edited by Scylla
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...