Skip to content

Commit

Permalink
Updated Chaos Panic effect
Browse files Browse the repository at this point in the history
* Placing Chaos Panic down again will remove the previous instance.
  • Loading branch information
aleos89 committed Dec 10, 2015
1 parent 4358504 commit 66298f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/map/skill.c
Expand Up @@ -12368,6 +12368,7 @@ struct skill_unit_group *skill_unitsetting(struct block_list *src, uint16 skill_
case SA_VOLCANO:
case SA_DELUGE:
case SA_VIOLENTGALE:
case SC_CHAOSPANIC:
{
struct skill_unit_group *old_sg;
if ((old_sg = skill_locate_element_field(src)) != NULL)
Expand Down Expand Up @@ -16732,6 +16733,7 @@ int skill_clear_group(struct block_list *bl, int flag)
case SA_LANDPROTECTOR:
case NJ_SUITON:
case NJ_KAENSIN:
case SC_CHAOSPANIC:
if (flag&1)
group[count++] = ud->skillunit[i];
break;
Expand Down Expand Up @@ -16779,6 +16781,7 @@ struct skill_unit_group *skill_locate_element_field(struct block_list *bl)
case NJ_SUITON:
case SO_CLOUD_KILL:
case SO_WARMER:
case SC_CHAOSPANIC:
return ud->skillunit[i];
}
}
Expand Down

0 comments on commit 66298f3

Please sign in to comment.