summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2014-09-14 17:20:46 +0200
committerHerculesWSAPI <Hercules@efficiently.awesome>2014-09-14 17:20:46 +0200
commit27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b (patch)
treeff662855c879da23546e238c03860c9bac65af7f /src/map
parent51fd6b4def852bbdc9f53cff6f42206ce270287e (diff)
downloadhercules-27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b.tar.gz
hercules-27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b.tar.bz2
hercules-27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b.tar.xz
hercules-27a5dde4ad7f1e295d79abc1e82ec5ec0db15d2b.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 27758201c..2b31a84db 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1006,7 +1006,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
case LK_SPIRALPIERCE:
case ML_SPIRALPIERCE:
- if( dstsd || ( dstmd && !is_boss(bl) ) ) //Does not work on bosses
+ if( dstsd || ( dstmd && !is_boss(bl) ) ) //Does not work on bosses
sc_start(src,bl,SC_STOP,100,0,skill_get_time2(skill_id,skill_lv));
break;
@@ -6746,13 +6746,13 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
sp += sp * i / 100;
}
} else {
- //Maybe replace with potion_hp, but I'm unsure how that works [Playtester]
- switch (skill_lv) {
- case 1: hp = 45; break;
- case 2: hp = 105; break;
- case 3: hp = 175; break;
- default: hp = 325; break;
- }
+ //Maybe replace with potion_hp, but I'm unsure how that works [Playtester]
+ switch (skill_lv) {
+ case 1: hp = 45; break;
+ case 2: hp = 105; break;
+ case 3: hp = 175; break;
+ default: hp = 325; break;
+ }
hp = (hp + rnd()%(skill_lv*20+1)) * (150 + skill_lv*10) / 100;
hp = hp * (100 + (tstatus->vit<<1)) / 100;
if( dstsd )