Index: skill.c
===================================================================
--- skill.c (revision 15)
+++ skill.c (working copy)
@@ -13146,6 +13146,19 @@
// Check for cost reductions due to skills & SCs
switch(skill) {
+ case ASC_EDP:
+ {
+ int i;
+ for(i = 0; i < MAX_INVENTORY; i++)
+ {
+ if(sd->status.inventory[i].nameid == 20001)
+ {
+ req.itemid[0] = 20001;
+ req.amount[0] = 1;
+ }
+ }
+ }
+ break;
case MC_MAMMONITE:
if(pc_checkskill(sd,BS_UNFAIRLYTRICK)>0)
req.zeny -= req.zeny*10/100;