summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 17:39:44 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-29 17:39:44 +0000
commit241ebe1c9cac17f0b583b10d7227f7d3c87638bd (patch)
tree2defe5e18cf670d0f96875d4e7f6d3efc8d5bfee /src/map/pc.c
parent29cea2719c282d8e748f2c1ed1553131f6ad980d (diff)
downloadhercules-241ebe1c9cac17f0b583b10d7227f7d3c87638bd.tar.gz
hercules-241ebe1c9cac17f0b583b10d7227f7d3c87638bd.tar.bz2
hercules-241ebe1c9cac17f0b583b10d7227f7d3c87638bd.tar.xz
hercules-241ebe1c9cac17f0b583b10d7227f7d3c87638bd.zip
Updated Quagmire, Enchant Deadly Poison, Fog Wall
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@416 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 72fa48646..c9083ce03 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1517,10 +1517,12 @@ int pc_calcstatus(struct map_session_data* sd,int first)
if(sd->sc_data[SC_LOUD].timer!=-1 && sd->sc_data[SC_QUAGMIRE].timer == -1) // ラウドボイス
sd->paramb[0]+= 4;
if(sd->sc_data[SC_QUAGMIRE].timer!=-1){ // クァグマイア
- int agib = (sd->status.agi+sd->paramb[1]+sd->parame[1])*(sd->sc_data[SC_QUAGMIRE].val1*10)/100;
- int dexb = (sd->status.dex+sd->paramb[4]+sd->parame[4])*(sd->sc_data[SC_QUAGMIRE].val1*10)/100;
- sd->paramb[1]-= agib > 50 ? 50 : agib;
- sd->paramb[4]-= dexb > 50 ? 50 : dexb;
+ //int agib = (sd->status.agi+sd->paramb[1]+sd->parame[1])*(sd->sc_data[SC_QUAGMIRE].val1*10)/100;
+ //int dexb = (sd->status.dex+sd->paramb[4]+sd->parame[4])*(sd->sc_data[SC_QUAGMIRE].val1*10)/100;
+ //sd->paramb[1]-= agib > 50 ? 50 : agib;
+ //sd->paramb[4]-= dexb > 50 ? 50 : dexb;
+ sd->paramb[1]-= sd->sc_data[SC_QUAGMIRE].val1*5;
+ sd->paramb[4]-= sd->sc_data[SC_QUAGMIRE].val1*5;
sd->speed = sd->speed*3/2;
}
if(sd->sc_data[SC_TRUESIGHT].timer!=-1){ // トゥル?サイト