From f8c3c67ef319c10808fbaf2589dec7991a0ed9bf Mon Sep 17 00:00:00 2001 From: Atemo Date: Sun, 12 Dec 2021 17:45:55 +0100 Subject: [PATCH] Small correction with subtype card (#6405) --- npc/events/RWC_2012.txt | 2 +- npc/re/merchants/enchan_ko.txt | 4 ++-- npc/re/merchants/enchan_upg.txt | 2 +- npc/re/quests/quests_malangdo.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/npc/events/RWC_2012.txt b/npc/events/RWC_2012.txt index 48066bddd4..6db28b144a 100644 --- a/npc/events/RWC_2012.txt +++ b/npc/events/RWC_2012.txt @@ -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?"; close; } - if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { + if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) { mes "[Goldberg]"; mes "Hm... this equipment is clean. I cannot initialize it if there's nothing! Check it again."; close; diff --git a/npc/re/merchants/enchan_ko.txt b/npc/re/merchants/enchan_ko.txt index 18a22e4466..3273363d44 100644 --- a/npc/re/merchants/enchan_ko.txt +++ b/npc/re/merchants/enchan_ko.txt @@ -263,14 +263,14 @@ que_ng,75,20,3 script Artisan Tene#ko 762,{ // Initialization if (.@select == 2) { 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 "The third slot is is not enchanted. Please check again."; //custom translation close; } set .@equip_card[2],0; } 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 "This equipment is is not enchanted. Please check again."; //custom translation close; diff --git a/npc/re/merchants/enchan_upg.txt b/npc/re/merchants/enchan_upg.txt index af67a91683..648e9c3e9c 100644 --- a/npc/re/merchants/enchan_upg.txt +++ b/npc/re/merchants/enchan_upg.txt @@ -250,7 +250,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 63,{ mes "You need to bring some money to initialize!!"; 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!"; close; } diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index a4d118cc4c..c50fb1b245 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -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!"; close; } - if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) == CARD_NORMAL) { + if (getiteminfo(.@equip_card[3], ITEMINFO_SUBTYPE) != CARD_ENCHANT) { mes "[Fallen Angel]"; mes "This equipment has not been enchanted, please check it again!"; close;