summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-09 03:09:25 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-09 03:09:25 +0000
commit2685644efe22ad7b250d1c3de02141993f287d38 (patch)
tree964af5a1913f6bd3116218bc6b995c1c9e133014 /src/map/skill.c
parent6a3573e5f5bf52330b278dd0736112bf7f6f8938 (diff)
downloadhercules-2685644efe22ad7b250d1c3de02141993f287d38.tar.gz
hercules-2685644efe22ad7b250d1c3de02141993f287d38.tar.bz2
hercules-2685644efe22ad7b250d1c3de02141993f287d38.tar.xz
hercules-2685644efe22ad7b250d1c3de02141993f287d38.zip
Added some renewal behaviors of skills from bugreport:5302 (all under renewal mode)
- Venom Splasher no longer requires target to be at 3/4 or lower health to work. - Deluge, Volcano and Violent Gale no longer require user to be of it's specific armor property to receive it's bonus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15555 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5b931e99f..b060e7db5 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6224,7 +6224,14 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case AS_SPLASHER:
- if(tstatus->mode&MD_BOSS || tstatus-> hp > tstatus->max_hp*3/4) {
+ if(tstatus->mode&MD_BOSS
+ /**
+ * Renewal dropped the 3/4 hp requirement
+ **/
+ #if isOFF(REMODE)
+ || tstatus-> hp > tstatus->max_hp*3/4
+ #endif
+ ) {
if (sd) clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
map_freeblock_unlock();
return 1;