diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 18:58:14 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 18:58:14 +0000 |
commit | 44ade8dfd6c775c9c2c0e47f049e2b99807ed3c1 (patch) | |
tree | 8e45d475ad540ecfa2fc4591213c477e9bacbf68 /src/map/skill.c | |
parent | 7751fc21990d18f215dff82669a470b7c3660b11 (diff) | |
download | hercules-44ade8dfd6c775c9c2c0e47f049e2b99807ed3c1.tar.gz hercules-44ade8dfd6c775c9c2c0e47f049e2b99807ed3c1.tar.bz2 hercules-44ade8dfd6c775c9c2c0e47f049e2b99807ed3c1.tar.xz hercules-44ade8dfd6c775c9c2c0e47f049e2b99807ed3c1.zip |
- Made Land Protector Block Hammerfall.
- More signed/unsigned comparison fixes.
- Added dummy_item variable to itemdb. It will be used on all itemdb_searches that do not yield a valid item from the db.
- Added itemdb_load, which is the one used for item_db loading (if the item does not exists, it'll be created)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5270 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index cd44beabb..df195df00 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3949,6 +3949,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_nodamage(src,bl,skillid,skilllv,0);
break;
}
+ if(map_getcell(bl->m,bl->x,bl->y,CELL_CHKLANDPROTECTOR))
+ break; //Land Protector blocks Hammer Fall [Skotlex]
+
clif_skill_nodamage(src,bl,skillid,skilllv,
status_change_start(bl,SC_STAN,(20 + 10 * skilllv),
skilllv,0,0,0,skill_get_time2(skillid,skilllv),0));
|