Small correction with subtype card (#6405)

This commit is contained in:
Atemo 2021-12-12 17:45:55 +01:00 committed by GitHub
parent b143a0cf3f
commit f8c3c67ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -315,7 +315,7 @@ prontera,147,59,3 script Goldberg#pron 878,{
mes "I'm sorry. But you don't have the RWC Initialization coupon. Can you check your inventory?"; mes "I'm sorry. But you don't have the RWC Initialization coupon. Can you check your inventory?";
close; close;
} }
if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) {
mes "[Goldberg]"; mes "[Goldberg]";
mes "Hm... this equipment is clean. I cannot initialize it if there's nothing! Check it again."; mes "Hm... this equipment is clean. I cannot initialize it if there's nothing! Check it again.";
close; close;

View File

@ -263,14 +263,14 @@ que_ng,75,20,3 script Artisan Tene#ko 762,{
// Initialization // Initialization
if (.@select == 2) { if (.@select == 2) {
if (.@sot03_ck) {// reset only 3rd slot if (.@sot03_ck) {// reset only 3rd slot
if (getiteminfo(.@equip_card[2], ITEMINFO_SUBTYPE) == CARD_NORMAL) { // Armor Enchant System if (getiteminfo(.@equip_card[2], ITEMINFO_SUBTYPE) != CARD_ENCHANT) { // Armor Enchant System
mes "[Artisan Tene]"; mes "[Artisan Tene]";
mes "The third slot is is not enchanted. Please check again."; //custom translation mes "The third slot is is not enchanted. Please check again."; //custom translation
close; close;
} }
set .@equip_card[2],0; set .@equip_card[2],0;
} else { } else {
if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { // Armor Enchant System if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) { // Armor Enchant System
mes "[Artisan Tene]"; mes "[Artisan Tene]";
mes "This equipment is is not enchanted. Please check again."; //custom translation mes "This equipment is is not enchanted. Please check again."; //custom translation
close; close;

View File

@ -250,7 +250,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 63,{
mes "You need to bring some money to initialize!!"; mes "You need to bring some money to initialize!!";
close; close;
} }
if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) {
mes "This item is not enchanted!"; mes "This item is not enchanted!";
close; close;
} }

View File

@ -10678,7 +10678,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 403,{
mes "I can't do it if you can't pay!"; mes "I can't do it if you can't pay!";
close; close;
} }
if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) {
mes "[Fallen Angel]"; mes "[Fallen Angel]";
mes "This equipment has not been enchanted, please check it again!"; mes "This equipment has not been enchanted, please check it again!";
close; close;