Skip to content

Commit

Permalink
Fixes blade turbulance using a wrong formula, addresses #134
Browse files Browse the repository at this point in the history
  • Loading branch information
JianmengYu authored and Ruin0x11 committed Jan 3, 2023
1 parent 3491218 commit a679756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.05-custom-gx/proc.hsp
Original file line number Diff line number Diff line change
Expand Up @@ -16956,7 +16956,7 @@
if ( synccheck(cc, -1) ) {
snd SOUNDLIST_SONIC
}
dmghp tc, (sdata(SKILL_ATTR_PER, cc) / 5 + 5) * ((sdata(SKILL_NORMAL_MARKSMAN, cc) + 1) / 5 + 5) + (rnd(sdata(SKILL_ATTR_PER, cc) * 2 + 5) + (limit(cdata(CDATA_LEVEL, cc) - 50, 1, 2000) + limit(cdata(CDATA_LEVEL, cc) - 100, 1, 2000)) * 2 * sqrt(limit(cdata(CDATA_LEVEL, cc), 1, 2000) * 3) + 30) / homing, cc, SKILL_RESDMG_CRUSH, 1000
dmghp tc, sdata(SKILL_NORMAL_CONTROL_MAGIC, cc) * 2 + 5, cc, SKILL_RESDMG_CUT, 100
dmgcon tc, CONDITION_BLEED, cdata(CDATA_INIT_SPEED, tc)
loop
goto *effect_end
Expand Down

0 comments on commit a679756

Please sign in to comment.