summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-24 14:21:09 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-24 14:21:09 +0000
commit86566b76415cda705383b504c54cecc3c4fa3139 (patch)
treecd34c226d5f89ef552b85670f932573b5a42cc6d /src/map/status.c
parent5ac133e3b8736d62e57efc3dd42e3db6816605ad (diff)
downloadhercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.gz
hercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.bz2
hercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.xz
hercules-86566b76415cda705383b504c54cecc3c4fa3139.zip
Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen when sight is refreshed.
Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants. Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 343f7cbf7..ee9ef88ea 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -9513,12 +9513,12 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
if( --(sce->val4) >= 0 )
{
struct block_list *src = map_id2bl(sce->val3);
- int damage = 3 * status_get_max_hp(bl) / 100; // Non Elemental Damage
- if( status )
- damage += battle_attr_fix(NULL, bl, sce->val2, ELE_FIRE, status->def_ele, status->ele_lv);
+ int damage = 1000 + 3 * status_get_max_hp(bl) / 100; // Deals fixed (1000 + 3%*MaxHP)
map_freeblock_lock();
- status_fix_damage(src,bl,damage,clif_damage(bl,bl,tick,0,0,damage,0,0,0));
+ clif_damage(bl,bl,tick,0,0,damage,1,9,0); //damage is like endure effect with no walk delay
+ status_damage(src, bl, damage, 0, 0, 1);
+
if( sc->data[type]){ // Target still lives. [LimitLine]
sc_timer_next(2000 + tick, status_change_timer, bl->id, data);
}