Fixes Marine Sphere behavior (#7333)

* Fixes #7332.
* Resolves an issue where Marine Sphere were not casting their skills after being hit.
Thanks to @violent01 and @Daegaladh!
This commit is contained in:
Aleos
2022-10-07 15:54:07 -04:00
committed by GitHub
parent 9d0fa3523e
commit 4ae56ba94c
4 changed files with 8 additions and 6 deletions

View File

@@ -2412,7 +2412,6 @@ void mob_damage(struct mob_data *md, struct block_list *src, int damage)
if( src != nullptr && md->special_state.ai == AI_SPHERE && !md->dmglog[0].id ) {//LOne WOlf explained that ANYONE can trigger the marine countdown skill. [Skotlex]
md->state.alchemist = 1;
mobskill_use(md, gettick(), MSC_ALCHEMIST);
unit_escape(&md->bl, src, 7, 2);
}
if (src && damage > 0) { //Store total damage...