clerosheen Posted February 1, 2013 Posted February 1, 2013 i want to remove save point on AL_WARP ( Warp Portal ) This is the real script on trunk/src/map/skill.c case AL_WARP:if(sd) { clif_skill_warppoint(sd, skillid, skilllv, sd->status.save_point.map, (skilllv >= 2) ? sd->status.memo_point[0].map : 0, (skilllv >= 3) ? sd->status.memo_point[1].map : 0, (skilllv >= 4) ? sd->status.memo_point[2].map : 0 ); } return 0; // not to consume item. i want change to case AL_WARP:if(sd) { clif_skill_warppoint(sd, skillid, skilllv, sd->status.memo_point[0].map : 0, (skilllv >= 2) ? sd->status.memo_point[0].map : 0, (skilllv >= 3) ? sd->status.memo_point[1].map : 0, (skilllv >= 4) ? sd->status.memo_point[2].map : 0 ); } return 0; // not to consume item. will this work? Quote
Emistry Posted February 2, 2013 Posted February 2, 2013 i think like this should be okay ~ clif_skill_warppoint(sd, skillid, skilllv, sd->status.memo_point[0].map, (skilllv >= 2) ? sd->status.memo_point[1].map : 0, (skilllv >= 3) ? sd->status.memo_point[2].map : 0, 0 ); set it to 0 instead of having same map for memo ~ Quote
Question
clerosheen
i want to remove save point on AL_WARP ( Warp Portal )
This is the real script on trunk/src/map/skill.c
i want change to
will this work?
1 answer 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.