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



                         





                          


                      
 





                    




                        

                     


                      

                          
 
                                         
                                   
                                   
                                     
 
                     
                   


                            
// 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
{
    unsigned short 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 useEffect;
    int useFailEffect;
    int unequipEffect;
    int unequipFailEffect;

    struct ItemCardExt allowedCards[100];
    struct script_code *dropScript;
    struct script_code *takeScript;
    struct script_code *insertScript;

    bool allowPickup;
    bool charmItem;
};

#endif  // EVOL_MAP_ITEMDEXT