• 0
Sign in to follow this  
Sacul71

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

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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

Share this post


Link to post
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.

Loading...
Sign in to follow this