Ignore:
Timestamp:
Jan 16, 2012 7:56:19 AM (4 months ago)
Author:
MELERIX
Message:

STABLE: Sync with BETA [8629]

Location:
trunk/L2J_DataPack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/L2J_DataPack

  • trunk/L2J_DataPack/dist/game/data/scripts/custom/ShadowWeapons/ShadowWeapons.java

    r8406 r8630  
    6565                        return htmltext; 
    6666 
    67                 long has_d = st.getQuestItemsCount(D_COUPON); 
    68                 long has_c = st.getQuestItemsCount(C_COUPON); 
     67                boolean has_d = st.hasQuestItems(D_COUPON); 
     68                boolean has_c = st.hasQuestItems(C_COUPON); 
    6969 
    70                 if (has_d > 0 || has_c > 0) 
     70                if (has_d  || has_c) 
    7171                { 
    7272                        // let's assume character had both c & d-grade coupons, we'll confirm later 
    7373                        String multisell = "306893003"; 
    74                         if (has_d < 1) 
     74                        if (!has_d) 
    7575                        { 
    7676                                // if s/he had c-grade only... 
    7777                                multisell = "306893002"; 
    7878                        } 
    79                         else if (has_c < 1) 
     79                        else if (!has_c) 
    8080                        { 
    8181                                // or d-grade only. 
Note: See TracChangeset for help on using the changeset viewer.