Tio Akima 74 Posted November 16, 2019 hy guis Does anyone know if the Token of Siegfried rebirth function is coded on the client side only? I mean the setting (code) to trigger the autorevive button Quote Share this post Link to post Share on other sites
0 Naruto 38 Posted November 17, 2019 (edited) static void clif_parse_AutoRevive(int fd, struct map_session_data *sd) __attribute__((nonnull (2))); /// Request to resurrect oneself using Token of Siegfried (CZ_STANDING_RESURRECTION). /// 0292 static void clif_parse_AutoRevive(int fd, struct map_session_data *sd) { int item_position = pc->search_inventory(sd, ITEMID_TOKEN_OF_SIEGFRIED); int hpsp = 100; if (item_position == INDEX_NOT_FOUND) { if (sd->sc.data[SC_LIGHT_OF_REGENE]) hpsp = 20 * sd->sc.data[SC_LIGHT_OF_REGENE]->val1; else return; } if (sd->sc.data[SC_HELLPOWER]) //Cannot res while under the effect of SC_HELLPOWER. return; if (!status->revive(&sd->bl, hpsp, hpsp)) return; if (item_position == INDEX_NOT_FOUND) status_change_end(&sd->bl,SC_LIGHT_OF_REGENE,INVALID_TIMER); else pc->delitem(sd, item_position, 1, 0, DELITEM_SKILLUSE, LOG_TYPE_CONSUME); clif->skill_nodamage(&sd->bl,&sd->bl,ALL_RESURRECTION,4,1); } pretty straight forward to me, seems it does it without any inventory stuff, just a check for the inventory item not really sure what your question is though, couldnt you use Kaizel from soul linker tree ? e: Oh you mean that button, Yeah I have no idea where it is but you can modify it if thats the case Edited November 17, 2019 by Naruto Quote Share this post Link to post Share on other sites
hy guis
Does anyone know if the Token of Siegfried rebirth function is coded on the client side only?
I mean the setting (code) to trigger the autorevive button
Share this post
Link to post
Share on other sites