summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorcookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-22 21:38:27 +0000
committercookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-22 21:38:27 +0000
commit0148769f9d09dc63e7fc71b176860df96f01d29e (patch)
treec93cd6bb2154aba275bb03a792053fb041d32fef /src/map/pc.c
parent71012de06ad0803ab1f158a4aefb37a8d80c76d2 (diff)
downloadhercules-0148769f9d09dc63e7fc71b176860df96f01d29e.tar.gz
hercules-0148769f9d09dc63e7fc71b176860df96f01d29e.tar.bz2
hercules-0148769f9d09dc63e7fc71b176860df96f01d29e.tar.xz
hercules-0148769f9d09dc63e7fc71b176860df96f01d29e.zip
Added params for bCritical, and bASPD for usage in NPC scripts per Euphy's request.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16945 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index abb99a865..b73a633d8 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6817,6 +6817,8 @@ int pc_readparam(struct map_session_data* sd,int type)
case SP_FAME: val = sd->status.fame; break;
case SP_KILLERRID: val = sd->killerrid; break;
case SP_KILLEDRID: val = sd->killedrid; break;
+ case SP_CRITICAL: val = sd->battle_status.cri/10; break;
+ case SP_ASPD: val = (2000-sd->battle_status.amotion)/10; break;
}
return val;