xilence01 Posted July 4, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Share Posted July 4, 2016 Hi, i tried putting the skill "NPC_Rebirth" to priest class. According to IRO WIKI: Supportive skill Levels: 3 When the caster dies, it immediately respawns in the same spot with half HP. I successfully added it but the problem is, my player doesn't revive. I think this is a src error or db error. not sure. My scenario: I casted LVL 3 NPC_Rebirth to my character. Enemy killed me. Did i revive? NOPE. Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted July 4, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Author Share Posted July 4, 2016 You'll have to write your own handling what should happen when a PC has SC_REBIRTH. Right now it only handles monsters (status.c -> status_damage): if (target->type == BL_MOB && sc && sc->data[SC_REBIRTH] && !((TBL_MOB*) target)->state.rebirth) { // Ensure the monster has not already rebirthed before doing so. status_revive(target, sc->data[SC_REBIRTH]->val2, 0); status_change_clear(target,0); ((TBL_MOB*)target)->state.rebirth = 1; return (int)(hp+sp); } how can i make it work like SL_KAIZEL? and you can cast it to yourself and other party members. Nvm. Thanks for the help playtester and stolao. Fixed it already. Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted July 4, 2016 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted July 4, 2016 Why not use SL skill Kazail? Quote Link to comment Share on other sites More sharing options...
0 xilence01 Posted July 4, 2016 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 177 Reputation: 4 Joined: 05/23/12 Last Seen: April 16, 2019 Author Share Posted July 4, 2016 (edited) Why not use SL skill Kazail? I'm planning to do that. but i dont want to change that skill. Any idea how to make NPC_Rebirth work like SL_Kaizel? but you can cast it to yourself and/or party members? Edited July 4, 2016 by xilence01 Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted July 4, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Monday at 09:07 AM Share Posted July 4, 2016 You'll have to write your own handling what should happen when a PC has SC_REBIRTH. Right now it only handles monsters (status.c -> status_damage): if (target->type == BL_MOB && sc && sc->data[SC_REBIRTH] && !((TBL_MOB*) target)->state.rebirth) { // Ensure the monster has not already rebirthed before doing so. status_revive(target, sc->data[SC_REBIRTH]->val2, 0); status_change_clear(target,0); ((TBL_MOB*)target)->state.rebirth = 1; return (int)(hp+sp); } Quote Link to comment Share on other sites More sharing options...
Question
xilence01
Hi, i tried putting the skill "NPC_Rebirth" to priest class.
According to IRO WIKI:
When the caster dies, it immediately respawns in the same spot with half HP.
I successfully added it but the problem is, my player doesn't revive.
I think this is a src error or db error. not sure.
My scenario:
I casted LVL 3 NPC_Rebirth to my character.
Enemy killed me.
Did i revive? NOPE.
Link to comment
Share on other sites
4 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.