Przeglądaj źródła

- Removed a few useless lines.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6991 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 lat temu
rodzic
commit
0c12ec4df6
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      src/map/skill.c

+ 1 - 6
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: