diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 14:09:01 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 14:09:01 +0000 |
commit | 7740a68642e66bb59368042d109262332d849298 (patch) | |
tree | eb9cb5b75c38753e9956604e70f8281695e428e0 /src/map/script.c | |
parent | 68b7108daded2d1b35ae383e6acd9d251112e22d (diff) | |
download | hercules-7740a68642e66bb59368042d109262332d849298.tar.gz hercules-7740a68642e66bb59368042d109262332d849298.tar.bz2 hercules-7740a68642e66bb59368042d109262332d849298.tar.xz hercules-7740a68642e66bb59368042d109262332d849298.zip |
- getnameditem will now also work on stackable items
- Corrected battle_calc_weapon_attack so that all skills ignore your left-hand weapon, and that the Katar's double-attack damage bonus for the offhand damage applies ONLY on normal attacks.
- Fixed Resurrect Homunculus's % to 20*lv%
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8426 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index 7d199721d..79cdb517a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5276,9 +5276,8 @@ int buildin_getnameditem(struct script_state *st) }else nameid = conv_num(st,data); - if(!itemdb_exists(nameid) || itemdb_isstackable(nameid)) - { //We don't allow non-equipable/stackable items to be named - //to avoid any qty exploits that could happen because of it. + if(!itemdb_exists(nameid)/* || itemdb_isstackable(nameid)*/) + { //Even though named stackable items "could" be risky, they are required for certain quests. push_val(st->stack,C_INT,0); return 0; } |