BFPkiller Posted July 31, 2019 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 111 Reputation: 2 Joined: 05/09/13 Last Seen: May 12, 2021 Share Posted July 31, 2019 (edited) Hello I would like to request a script that limits the cards used in WoE. E.g Per char limit the active mvp cards to 1, but let it be 1 mvp card of choice. Is this possible ? Thanks Edited July 31, 2019 by BFPkiller Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 24, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 24, 2019 you can try something like this. - script Sample -1,{ OnInit: .max_card_count = 1; setarray .@map$, "prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04", "prtg_cas05"; .@map_size = getarraysize(.@map$); .compare_map$ = "#"; for (.@i = 0; .@i < .@map_size; .@i++) { setmapflag .@map$[.@i], mf_loadevent; .compare_map$ = .compare_map$ + .@map$[.@i] + "#"; } end; OnPCLoadMapEvent: if (compare(.compare_map$, "#"+strcharinfo(3)+"#")) { if (isequippedcnt(4001,4002,4003,4004,4005) >= .max_card_count) { warp "SavePoint", 0, 0; } } end; } list all the mvp card here. if (isequippedcnt(4001,4002,4003,4004,4005) >= .max_card_count) { Quote Link to comment Share on other sites More sharing options...
Question
BFPkiller
Hello
I would like to request a script that limits the cards used in WoE.
E.g
Per char limit the active mvp cards to 1, but let it be 1 mvp card of choice.
Is this possible ?
Thanks
Edited by BFPkillerLink 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.