clerosheen Posted February 1, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 10 Reputation: 1 Joined: 02/12/12 Last Seen: December 14, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 2, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 20 hours ago Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.