summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-05 18:07:31 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-05 18:07:31 +0000
commita7574756fd69e9935bbb98d0d0fe6c3d3645d71f (patch)
treedf23a8e42a8a66d8334f3408f2ac445bc782a083 /src/map/atcommand.c
parent888584986b05b663898726aa5bf9f4ea9f3d8495 (diff)
downloadhercules-a7574756fd69e9935bbb98d0d0fe6c3d3645d71f.tar.gz
hercules-a7574756fd69e9935bbb98d0d0fe6c3d3645d71f.tar.bz2
hercules-a7574756fd69e9935bbb98d0d0fe6c3d3645d71f.tar.xz
hercules-a7574756fd69e9935bbb98d0d0fe6c3d3645d71f.zip
* update from Skotlex
- Fixed NPC_STOP's visual effect not clearing when the status ends - Corrected @homshuffle making the skill tree be lost. - Corrected homunculus skills being unusable if the master was sitting or inflicted by a disabling status (eg: petrify, stun) - Some fixes to the cell no stacking mod (mainly mobs would just get stuck behind each other and not properly surround you) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10856 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index bfcb2600c..ccd5b37ed 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -8550,7 +8550,7 @@ int atcommand_homshuffle(const int fd, struct map_session_data* sd, const char*
struct homun_data *hd;
int lv, i, skillpts;
unsigned int exp;
- struct skill b_skill;
+ struct skill b_skill[MAX_HOMUNSKILL];
TBL_PC* tsd = sd;
nullpo_retr(-1, sd);
@@ -8591,6 +8591,7 @@ int atcommand_homshuffle(const int fd, struct map_session_data* sd, const char*
hd->homunculus.exp = exp;
memcpy(&hd->homunculus.hskill, &b_skill, sizeof(b_skill));
hd->homunculus.skillpts = skillpts;
+ clif_homskillinfoblock(hd->master);
status_calc_homunculus(hd,0);
status_percent_heal(&hd->bl, 100, 100);
clif_misceffect2(&hd->bl,568);