diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:13:16 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-30 18:13:16 +0000 |
commit | 08d47edb4cd49b4c4fa77085257127c8e2cee74a (patch) | |
tree | 9275f509d1dca8459ecaf7b6035130f67df74276 /src/map/skill.c | |
parent | a871325dd0d55160996124d4a67c7ba23d748be0 (diff) | |
download | hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.gz hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.bz2 hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.tar.xz hercules-08d47edb4cd49b4c4fa77085257127c8e2cee74a.zip |
[Optimized]:
- clif_specialeffect to use the enums.
[Improved]:
- buildin_specialeffect and buildin_specialeffect2 to accept effect area definition.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6855 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 41ed65342..79c1e048c 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5206,7 +5206,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in } do { eff = rand() % 14; - clif_specialeffect(bl, 523 + eff, 0); + clif_specialeffect(bl, 523 + eff, AREA); switch (eff) { case 0: // heals SP to 0 @@ -10106,7 +10106,7 @@ int skill_produce_mix( struct map_session_data *sd, int skill_id, break; default: //Those that don't require a skill? if (skill_produce_db[idx].itemlv==11) //Cooking items. - clif_specialeffect(&sd->bl, 608, 0); + clif_specialeffect(&sd->bl, 608, AREA); break; } } @@ -10146,7 +10146,7 @@ int skill_produce_mix( struct map_session_data *sd, int skill_id, break; default: if (skill_produce_db[idx].itemlv==11) - clif_specialeffect(&sd->bl, 609, 0); + clif_specialeffect(&sd->bl, 609, AREA); } } return 0; |