summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 16:50:23 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-24 16:50:23 +0000
commit01476c09aec449f89f52761b98da61e6c541e563 (patch)
treeb256b9cb2f53f834798b267d5356b4b06f3b8142 /src/map/status.c
parentdb1cd48635235a32a7c0d0db4c81eea517a73361 (diff)
downloadhercules-01476c09aec449f89f52761b98da61e6c541e563.tar.gz
hercules-01476c09aec449f89f52761b98da61e6c541e563.tar.bz2
hercules-01476c09aec449f89f52761b98da61e6c541e563.tar.xz
hercules-01476c09aec449f89f52761b98da61e6c541e563.zip
- Fixed EDP's damage being 100% more than it should (should be 5x, not 6x on normal attacks)
- Self Destruction will only hit everyone and not just enemies when used by mobs (non marine spheres) unless the map is a versus map. - Spider Web's duration is now halved on players (before it was halved in pvp maps only) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9314 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4c78c26ea..4d68e9527 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4862,6 +4862,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
break;
case SC_EDP: // [Celest]
val2 = val1 + 2; //Chance to Poison enemies.
+ val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)
break;
case SC_POISONREACT:
val2=(val1+1)/2 + val1/10; // Number of counters [Skotlex]
@@ -5623,7 +5624,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
tick = 3000;
break;
case SC_SPIDERWEB:
- if (map[bl->m].flag.pvp)
+ if (bl->type == BL_PC)
tick /=2;
break;
case SC_ARMOR: