viewing paste Unknown #487 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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;
Viewed 1430 times, submitted by Lilith.