Yoga Posted December 23, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Share Posted December 23, 2012 Hello there,..my question is how to make script get skill in map? map: pvp_y_2-2 if player warp pvp_y_2-2 can use skill back sliding.. Quote Link to comment Share on other sites More sharing options...
llchrisll Posted December 23, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted December 23, 2012 (edited) Something like this? - script PvPSkills -1,{ end; OnPCLoadMapEvent: if(strcharinfo(3) != "pvp_y_2-2") end; if(BaseClass == Job_Thief) end; attachnpctimer; initnpctimer; skill 150,1,1; end; OnTimer5000: if(strcharinfo(3) == "pvp_y_2-2") if(getskilllv(150) > 0) end; else if(getskilllv(150) > 0) skill 150,0; initnpctimer; end; } pvp_y_2-2 mapflag loadevent Remember to exchange the spaces in the NPC header with TABS . Regards, Chris Edited December 23, 2012 by llchrisll Quote Link to comment Share on other sites More sharing options...
Yoga Posted December 24, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 66 Reputation: 1 Joined: 06/06/12 Last Seen: November 8, 2016 Author Share Posted December 24, 2012 i want all jobs get it skill back sliding if players warp map pvp_y_2-2 Quote Link to comment Share on other sites More sharing options...
llchrisll Posted December 24, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted December 24, 2012 Hmm it is giving all jobs? Except Thief Job Row which already have. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 25, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 25, 2012 (edited) OnPCStatCalcEvent_17043.patch - script kjdhfkdjfhksh -1,{ OnPCStatCalcEvent: if ( strcharinfo(3) == "pvp_y_2-2" ) { // trigger in the map if ( @back_sliding_tmp ) // if already save the variable skill 150, 1, 0; // gives skills else { // or if just warp in the map if ( getskilllv(150) ) end; // check is it a thief class already learned the skill ? @back_sliding_tmp = 1; // if it is not then save the variables ... skill 150, 1, 0; // and gives the skills } } else if ( @back_sliding_tmp ) { // otherwise if the player warp to other map and the variable is still there @back_sliding_tmp = 0; // reset the variable skill 150, 0, 0; // and reset back the skill level } end; } Edited December 26, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Question
Yoga
Hello there,..my question is how to make script get
skill in map?
map: pvp_y_2-2
if player warp pvp_y_2-2 can use skill back sliding..
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.