diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-08 13:30:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-08 13:30:43 +0000 |
commit | 5d658f9d7b68c96839baf7932dc8a3cb30adef5f (patch) | |
tree | b84a2d99b5045775b57908b25bd7dccd2056c9b5 /src/map/unit.c | |
parent | e134818e33b34c84eba8770087a330f99607c4b6 (diff) | |
download | hercules-5d658f9d7b68c96839baf7932dc8a3cb30adef5f.tar.gz hercules-5d658f9d7b68c96839baf7932dc8a3cb30adef5f.tar.bz2 hercules-5d658f9d7b68c96839baf7932dc8a3cb30adef5f.tar.xz hercules-5d658f9d7b68c96839baf7932dc8a3cb30adef5f.zip |
- Made the pc reg variables receive a const char* as the argument, since they duplicate the value anyway (and they were receiving const char* values from the setd function)
- Fixed Wand of Hermod not starting the SC_HERMOD status change (which blocks spells)
- Fixed a missing break in the cast cancel code.
- Fixed additional def/mdef from vit/int bonuses being lost when a status change that affects def/mdef triggers (for homunculus)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12033 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index b1ee72a2f..bdb2935f5 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -878,8 +878,8 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh if(ud->skillid != skill_num){ sd->skillid_old = ud->skillid; sd->skilllv_old = ud->skilllv; - break; } + break; case BD_ENCORE: //Prevent using the dance skill if you no longer have the skill in your tree. if(!sd->skillid_dance || pc_checkskill(sd,sd->skillid_dance)<=0){ |