summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-16 23:33:35 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-16 23:33:35 +0200
commitddc52570a9bf694cdba6445bc02350a94856a583 (patch)
tree495dd01a9e42e0585cafa7fd718b660914e46180 /src/map/script.c
parent8ab61745b81d1cf0602c7998f590aac8749187da (diff)
downloadhercules-ddc52570a9bf694cdba6445bc02350a94856a583.tar.gz
hercules-ddc52570a9bf694cdba6445bc02350a94856a583.tar.bz2
hercules-ddc52570a9bf694cdba6445bc02350a94856a583.tar.xz
hercules-ddc52570a9bf694cdba6445bc02350a94856a583.zip
Follow: https://github.com/HerculesWS/Hercules/commit/8ab61745b81d1cf0602c7998f590aac8749187da
This fixed all mob size problem :) Fix estin estun not working properly (bug:7891)
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index cbea20e55..dee678b4c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -9072,7 +9072,7 @@ BUILDIN(monster)
int class_ = script_getnum(st,6);
int amount = script_getnum(st,7);
const char *event = "";
- unsigned int size = SZ_MEDIUM;
+ unsigned int size = SZ_SMALL;
unsigned int ai = AI_NONE;
int mob_id;
@@ -9181,7 +9181,7 @@ BUILDIN(areamonster) {
int class_ = script_getnum(st,8);
int amount = script_getnum(st,9);
const char *event = "";
- unsigned int size = SZ_MEDIUM;
+ unsigned int size = SZ_SMALL;
unsigned int ai = AI_NONE;
int mob_id;
@@ -13501,7 +13501,7 @@ BUILDIN(summon)
clif->skill_poseffect(&sd->bl,AM_CALLHOMUN,1,sd->bl.x,sd->bl.y,tick);
- md = mob->once_spawn_sub(&sd->bl, sd->bl.m, sd->bl.x, sd->bl.y, str, class_, event, SZ_MEDIUM, AI_NONE);
+ md = mob->once_spawn_sub(&sd->bl, sd->bl.m, sd->bl.x, sd->bl.y, str, class_, event, SZ_SMALL, AI_NONE);
if (md) {
md->master_id=sd->bl.id;
md->special_state.ai = AI_ATTACK;