summaryrefslogblamecommitdiff
path: root/src/emap/struct/itemdext.h
blob: b75bafd5ca5a98e2885d5a6ecc3df4cda9983016 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                         
                                            



                         

                  
           


                          


                      
 





                    




                        

                     
                      


                      

                          
 

                 

                   
                                 
                                                 
                                   
                                   
                                     
 

                 
                     
                   
                    


                            
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 - 2015 Evol developers

#ifndef EVOL_MAP_ITEMDEXT
#define EVOL_MAP_ITEMDEXT

struct ItemCardExt
{
    int id;
    unsigned short amount;
};

struct ItemdExt
{
    int floorLifeTime;

    int requiredStr;
    int requiredAgi;
    int requiredVit;
    int requiredInt;
    int requiredDex;
    int requiredLuk;
    int requiredMaxHp;
    int requiredMaxSp;
    int requiredAtk;
    int requiredMAtkMin;
    int requiredMAtkMax;
    int requiredDef;
    int requiredMDef;
    int requiredSkill;

    int useEffect;
    int useFailEffect;
    int unequipEffect;
    int unequipFailEffect;

    int minRange;

    int tmpUseType;

    VECTOR_DECL(int) allowedAmmo;
    VECTOR_DECL(struct ItemCardExt) allowedCards;
    struct script_code *dropScript;
    struct script_code *takeScript;
    struct script_code *insertScript;

    int16_t subX;
    int16_t subY;
    bool allowPickup;
    bool charmItem;
    bool identified;
};

#endif  // EVOL_MAP_ITEMDEXT