diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-16 23:24:39 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-16 23:24:39 +0000 |
commit | db1f65c3ed119044754d1a4deefc6cf36461554b (patch) | |
tree | b9bfea8ba4ed7af623f21d3397f149575ea0e50e /src/map/battle.c | |
parent | 68584f714db13e550ae532674fc39a6aeff428dc (diff) | |
download | hercules-db1f65c3ed119044754d1a4deefc6cf36461554b.tar.gz hercules-db1f65c3ed119044754d1a4deefc6cf36461554b.tar.bz2 hercules-db1f65c3ed119044754d1a4deefc6cf36461554b.tar.xz hercules-db1f65c3ed119044754d1a4deefc6cf36461554b.zip |
* Venom Splasher fixes according to bugreport:230
- added passive skillv*30% bonus from Poison React
- added official splash damage calculation - damage gets split by the number of targets at range 1, then applied to all targets in range 2
- reverted some very old code - clif_calc_delay() - that was preventing skills from displaying properly, by erroneously assuming that if the target has ddelay 0, it has endure effect activated
- TODO: the skill should not consume a gemstone when it fails
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11494 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 1d0cbd046..eade2f167 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1464,9 +1464,9 @@ static struct Damage battle_calc_weapon_attack( skillratio += 100+100*skill_lv; break; case AS_SPLASHER: - i = 400+50*skill_lv; - if (wflag>1) i /= 4; // FIXME: Should be 25% of damage inflicted to target, not 25% of skillratio bonus - skillratio += i; + skillratio += 400+50*skill_lv; + if(sd) + skillratio += 30 * pc_checkskill(sd,AS_POISONREACT); break; case ASC_BREAKER: skillratio += 100*skill_lv-100; |