Jump to content
  • 0

Miracle (SG) ends when die. And height of union skill.


Question

Posted (edited)

I modified the SG Miracle to last after death.


like this> src\map pc.cpp
status_change_end (& sd-> bl, SC_MIRACLE, INVALID_TIMER);

// status_change_end (& sd-> bl, SC_MIRACLE, INVALID_TIMER);

but it's still canceling the effect on dying ...
I can change map and relog. But if I die, it's over.

 

How not to cancel the effect after death?

 

 

and how to increase flight height with Union skill
the distance between the ground and the SG?

Edited by Sacul71

2 answers to this question

Recommended Posts

  • 0
Posted

Go to status.c (11914) and change the order:

			switch (i) { // Type 0: PC killed -> Place here statuses that do not dispel on death.
			case SC_ELEMENTALCHANGE: // Only when its Holy or Dark that it doesn't dispell on death
				if( sc->data[i]->val2 != ELE_HOLY && sc->data[i]->val2 != ELE_DARK )
					break;
			[...]
			//SC_MIRACLE

to line 12034:

		if( type == 3 ) {
			switch (i) { // !TODO: This list may be incomplete
			case SC_WEIGHT50:
			case SC_WEIGHT90:
			case SC_NOCHAT:
			case SC_PUSH_CART:
			case SC_ALL_RIDING:
			case SC_STYLE_CHANGE:
			case SC_MIRACLE:


I believe it works

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...