diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-05 21:33:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-05 21:33:35 +0000 |
commit | 648ae0ed97038f822104ccc9f78f2c5c1272d73a (patch) | |
tree | 2b970b5b8f6f765fe0affaa0b22d62fcf6a473b9 /src/map | |
parent | 6ff16ebb815edc14af8b62a2a5515da1e25e54a0 (diff) | |
download | hercules-648ae0ed97038f822104ccc9f78f2c5c1272d73a.tar.gz hercules-648ae0ed97038f822104ccc9f78f2c5c1272d73a.tar.bz2 hercules-648ae0ed97038f822104ccc9f78f2c5c1272d73a.tar.xz hercules-648ae0ed97038f822104ccc9f78f2c5c1272d73a.zip |
- Removed a few useless lines.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6991 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index b057f256b..2a0f04527 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -979,9 +979,7 @@ int skill_additional_effect (struct block_list* src, struct block_list *bl, int if (!tsc) //skill additional effect is about adding effects to the target... //So if the target can't be inflicted with statuses, this is pointless. return 0; - if (!sstatus || !tstatus) - return 0; //Required for stat data. - + switch(skillid){ case 0: // Normal attacks (no skill used) { @@ -3645,9 +3643,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv))); break; - - if(sd->spiritball >= 4 && sd->sc.data[SC_ADJUSTMENT].timer!=-1) - status_change_end(&sd->bl,SC_ADJUSTMENT,-1); case SG_SUN_WARM: case SG_MOON_WARM: case SG_STAR_WARM: |