Skip to content

Commit

Permalink
Fixes NPC_COMET duration (rathena#7388)
Browse files Browse the repository at this point in the history
* Fixes rathena#7355.
* Follow up to 2993c0b.
* Resolves an issue with the duration of Burning overlapping with the duration of NPC_COMET.
Thanks to @sonniez and @OptimusM!
  • Loading branch information
aleos89 authored and Singe-Horizontal committed Nov 5, 2022
1 parent 4f74598 commit 86eff97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/re/skill_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17022,7 +17022,7 @@ Body:
Range: 11
Hit: Multi_Hit
HitCount: -20
Duration1: 18000
Duration2: 18000
SplashArea: 9
Knockback: 2
CastCancel: true
Expand Down
2 changes: 1 addition & 1 deletion src/map/skill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
sc_start(src, bl, SC_MAGIC_POISON, 100, skill_lv, 20000);
break;
case NPC_COMET:
sc_start4(src,bl,SC_BURNING,100,skill_lv,1000,src->id,0,skill_get_time(skill_id,skill_lv));
sc_start4(src,bl,SC_BURNING,100,skill_lv,1000,src->id,0,skill_get_time2(skill_id,skill_lv));
break;
case NPC_JACKFROST:
sc_start(src,bl,SC_FREEZE,200,skill_lv,skill_get_time(skill_id,skill_lv));
Expand Down

0 comments on commit 86eff97

Please sign in to comment.