From 701bdd3d6f0be0a8ffe12b4fc50c6612e6553754 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Mon, 18 Jan 2021 19:09:08 +0100 Subject: [PATCH] Added Woodie card (#5699) Fixes #5653 Thanks to @RagnaWay --- db/re/item_db_etc.yml | 15 +++++++++++++++ sql-files/item_db_re_etc.sql | 1 + 2 files changed, 16 insertions(+) diff --git a/db/re/item_db_etc.yml b/db/re/item_db_etc.yml index 1fe6bd2219..82b8ee1988 100644 --- a/db/re/item_db_etc.yml +++ b/db/re/item_db_etc.yml @@ -10646,6 +10646,21 @@ Body: DropEffect: CLIENT Script: | bonus bMatk,25; + - Id: 4558 + AegisName: Woodie_Card + Name: Woodie Card + Type: Card + Buy: 20 + Weight: 10 + Locations: + Garment: true + Flags: + BuyingStore: true + DropEffect: CLIENT + Script: | + /* bonus bAllStats,2; only during event period */ + bonus2 bSubEle,Ele_Earth,20; + bonus3 bAutoSpellWhenHit,"PR_KYRIE",max(2,getskilllv("PR_KYRIE")),20; - Id: 4559 AegisName: M_Morocc_Card Name: Evil Morocc Card diff --git a/sql-files/item_db_re_etc.sql b/sql-files/item_db_re_etc.sql index 9463a33235..75a352621f 100644 --- a/sql-files/item_db_re_etc.sql +++ b/sql-files/item_db_re_etc.sql @@ -842,6 +842,7 @@ REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,` REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4555,'Scrat_Card','Scrat Card','Card',20,10,true,true,true,true,'CLIENT','bonus bMaxHP,100;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4556,'Fenrir_Card','Fenrir Card','Card',10,10,true,true,true,true,'CLIENT','bonus bMatk,50+getrefine()*5;\nbonus bFixedCastrate,-70;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_head_top`,`location_head_mid`,`location_head_low`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4557,'Fenrir_Card_','Weakened Fenrir Card','Card',10,10,true,true,true,true,'CLIENT','bonus bMatk,25;'); +REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_garment`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4558,'Woodie_Card','Woodie Card','Card',20,10,true,true,'CLIENT','/* bonus bAllStats,2; only during event period */\nbonus2 bSubEle,Ele_Earth,20;\nbonus3 bAutoSpellWhenHit,"PR_KYRIE",max(2,getskilllv("PR_KYRIE")),20;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_shoes`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4559,'M_Morocc_Card','Evil Morocc Card','Card',20,100,true,true,'CLIENT','bonus bAspd,1;\nbonus bMaxSPrate,-10;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4560,'Clown_Card','Clown Alphoccio Card','Card',20,10,true,true,'CLIENT','skill "BA_POEMBRAGI",10;\nbonus bFlee,(readparam(bVit)>=110)?40:20;'); REPLACE INTO `item_db_re` (`id`,`name_aegis`,`name_english`,`type`,`price_buy`,`weight`,`location_armor`,`flag_buyingstore`,`flag_dropeffect`,`script`) VALUES (4561,'Professor_Card','Professor Celia Card','Card',20,10,true,true,'CLIENT','bonus bMatkRate,(readparam(bDex)>=110)?14:7;\nbonus5 bAutoSpellWhenHit,"SA_LANDPROTECTOR",5,70,BF_MAGIC,0;');