where you may use a limite of 2 of the marked as restricted cards
and if you equip more han 2, you will un-equip all
this is the script im using
function script Card {
setarray .Card[0],4357,4359,4361,4363,4365,4367,4457,4463,4462,4459,4456,4458,4441,4408,4430,4263,4403,4419,4376,4399,4407,4451;
for( set .@i,0; .@i<getarraysize(.Card); set .@i,.@i+1 ) {
if ( isequipped(.Card[.@i]) == 1 ) {
set @Card,@Card+1;
if ( @Card > 2){
dispbottom "Superaste el limite de 2 cartas restringidas, por favor usa maximo dos.";
set @Card,0;
nude;
}
}
}
end;
}
The problem is, that when i run that script, i can NOT use 2 mvp cards of the restricted IDs, when i do, everything is un-equiped. Well the main problem is that even if i use 1 of the restricted mvp cards, anyway it will un-equip everything.
I just want to make it un-equip your armos if you use more than 2 of the restricted mvp cards, but this just won't happen, i also tryied to define it more than 3 if ( @Card > 3){ but same problema.
Question
Kido
Well i'm trying to restrict mvp card
where you may use a limite of 2 of the marked as restricted cards
and if you equip more han 2, you will un-equip all
this is the script im using
The problem is, that when i run that script, i can NOT use 2 mvp cards of the restricted IDs, when i do, everything is un-equiped. Well the main problem is that even if i use 1 of the restricted mvp cards, anyway it will un-equip everything.
I just want to make it un-equip your armos if you use more than 2 of the restricted mvp cards, but this just won't happen, i also tryied to define it more than 3 if ( @Card > 3){ but same problema.
Please help ):
13 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.