Sacul71 Posted August 12, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 25 Reputation: 0 Joined: 03/03/17 Last Seen: March 3 Share Posted August 12, 2019 (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 August 12, 2019 by Sacul71 Quote Link to comment Share on other sites More sharing options...
0 Gladius Posted August 12, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 235 Reputation: 64 Joined: 04/29/19 Last Seen: 10 hours ago Share Posted August 12, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 rabmaster Posted September 16, 2020 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 06/18/12 Last Seen: November 27, 2021 Share Posted September 16, 2020 can you help me same with mapchange ? Quote Link to comment Share on other sites More sharing options...
Question
Sacul71
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
Edited by Sacul71the distance between the ground and the SG?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.