summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-03 13:58:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-03 13:58:57 -0300
commit9edc4c2e8a2e3df1706d652caad261b3843830ef (patch)
treeac9c71e186c911a0257ffaa9f999a883e20219dd /src/emap/init.c
parent4a6c4e17275bc82c20bb768861ce8918d35b9965 (diff)
downloadevol-hercules-9edc4c2e8a2e3df1706d652caad261b3843830ef.tar.gz
evol-hercules-9edc4c2e8a2e3df1706d652caad261b3843830ef.tar.bz2
evol-hercules-9edc4c2e8a2e3df1706d652caad261b3843830ef.tar.xz
evol-hercules-9edc4c2e8a2e3df1706d652caad261b3843830ef.zip
Add new function: readparam2(-)
Works similar to readparam, but it reads from battle status. It returns stats with the bonuses, defense, and attack, besides MaxHP/MaxMP.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 266e6cf..2c85e39 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -223,6 +223,7 @@ HPExport void plugin_init (void)
addScriptCommand("deployhomunculus","",deployhomunculus);
addScriptCommand("recallhomunculus","",recallhomunculus);
addScriptCommand("homstatus","",homstatus);
+ addScriptCommand("readparam2","i?",readparam2);
addScriptCommand("npcshopattach","s?",npcshopattach);
do_init_langs();