summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-20 12:42:06 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-20 12:42:06 +0000
commit9847103a4169a5593a1da851d8f0823a158694b9 (patch)
tree5fc4cfcb6c70a7a10320f4f7ebbfdea10cd9cbdf /src/map/skill.c
parent701fc9b87e2688f357ac3fde17c0970def7d68ed (diff)
downloadhercules-9847103a4169a5593a1da851d8f0823a158694b9.tar.gz
hercules-9847103a4169a5593a1da851d8f0823a158694b9.tar.bz2
hercules-9847103a4169a5593a1da851d8f0823a158694b9.tar.xz
hercules-9847103a4169a5593a1da851d8f0823a158694b9.zip
* Now fiberlocking a fiberlocked target doesn't renew the timer but instead increases its fireweakness [Inkfish]
- This makes doublecasting firebolts on a double fiberlocked target having double damage from both 2 bolts possible = =(bugreport:3061) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13799 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8c755434e..77f27f643 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7355,6 +7355,12 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
break;
case UNT_SPIDERWEB:
+ if( tsc && tsc->data[SC_SPIDERWEB] && tsc->data[SC_SPIDERWEB]->val1 > 0 )
+ { // If you are fiberlocked and can't move, it will only increase your fireweakness level. [Inkfish]
+ tsc->data[SC_SPIDERWEB]->val2++;
+ sg->interval = -1;
+ break;
+ }
case UNT_ANKLESNARE:
if( ( sg->val2 == 0 || sg->unit_id == UNT_SPIDERWEB ) && tsc )
{