diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-12 09:30:12 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-12 09:30:12 +0000 |
commit | 5edaf054f8cfac09b95583cbe4d5c64df850b82b (patch) | |
tree | 0204839448d00e0c90faff38840b235b1935bfe2 /src/common/db.h | |
parent | 058ff83d028db62ccb4deb474b3e23a8413e775c (diff) | |
download | hercules-5edaf054f8cfac09b95583cbe4d5c64df850b82b.tar.gz hercules-5edaf054f8cfac09b95583cbe4d5c64df850b82b.tar.bz2 hercules-5edaf054f8cfac09b95583cbe4d5c64df850b82b.tar.xz hercules-5edaf054f8cfac09b95583cbe4d5c64df850b82b.zip |
* Added support for skill names to script commands:
- skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill, petskillattack, petskillattack2, petskillsupport, skilleffect, npcskilleffect, unitskilluseid, unitskillusepos
- bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk, bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12814 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/db.h')
-rw-r--r-- | src/common/db.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/db.h b/src/common/db.h index eb6318869..eaa1ca13d 100644 --- a/src/common/db.h +++ b/src/common/db.h @@ -609,6 +609,7 @@ struct DBMap { #define stridb_alloc(opt,maxlen) db_alloc(__FILE__,__LINE__,DB_ISTRING,(opt),(maxlen)) #define db_destroy(db) ( (db)->destroy((db),NULL) ) // Other macros +#define db_clear(db) ( (db)->clear(db,NULL) ) #define db_iterator(db) ( (db)->iterator(db) ) #define dbi_first(dbi) ( (dbi)->first(dbi,NULL) ) #define dbi_last(dbi) ( (dbi)->last(dbi,NULL) ) |