diff options
author | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-21 12:04:13 +0000 |
---|---|---|
committer | epoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-21 12:04:13 +0000 |
commit | d1762b173630883123e6a9f6e8f48fec69f33c53 (patch) | |
tree | 06696df49d0643a016d0661ced43e0cdc0fe6030 /src | |
parent | 34b3665f3df1c05445062101f5de0b1c2c378e6b (diff) | |
download | hercules-d1762b173630883123e6a9f6e8f48fec69f33c53.tar.gz hercules-d1762b173630883123e6a9f6e8f48fec69f33c53.tar.bz2 hercules-d1762b173630883123e6a9f6e8f48fec69f33c53.tar.xz hercules-d1762b173630883123e6a9f6e8f48fec69f33c53.zip |
- Fixed Randomize Spell not casting the skills properly. (bugreport:5480)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15741 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.h | 2 | ||||
-rw-r--r-- | src/map/skill.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index a64c3f48e..1a3b54ac2 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -110,7 +110,7 @@ struct map_session_data { unsigned int rest : 1; unsigned int storage_flag : 2; //0: closed, 1: Normal Storage open, 2: guild storage open [Skotlex] unsigned int snovice_dead_flag : 1; //Explosion spirits on death: 0 off, 1 used. - unsigned int abra_flag : 1; // Abracadabra bugfix by Aru + unsigned int abra_flag : 2; // Abracadabra bugfix by Aru unsigned int autocast : 1; // Autospell flag [Inkfish] unsigned int autotrade : 1; //By Fantik unsigned int reg_dirty : 3; //By Skotlex (marks whether registry variables have been saved or not yet) diff --git a/src/map/skill.c b/src/map/skill.c index aee08d304..2a6e8634e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7990,6 +7990,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_nodamage (src, bl, skillid, skilllv, 1); if( sd ) { + sd->state.abra_flag = 2; sd->skillitem = improv_skillid; sd->skillitemlv = improv_skilllv; clif_item_skill(sd, improv_skillid, improv_skilllv); |