diff options
author | shennetsind <ind@henn.et> | 2013-11-08 16:31:26 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-08 16:31:26 -0200 |
commit | 7803b4e0d437681aa09113b5240363d03d85a1b8 (patch) | |
tree | 67e270856f941ab9672eda516be1625981150ab0 /src/map/skill.c | |
parent | 4858233f3aebe920417eaa9531fa298bc2763c04 (diff) | |
download | hercules-7803b4e0d437681aa09113b5240363d03d85a1b8.tar.gz hercules-7803b4e0d437681aa09113b5240363d03d85a1b8.tar.bz2 hercules-7803b4e0d437681aa09113b5240363d03d85a1b8.tar.xz hercules-7803b4e0d437681aa09113b5240363d03d85a1b8.zip |
Fixed 5 Homun Bugs
1. Homun cooldowns are no longer reset upon being vaporized.
2. Call Homun now displays the skill title above the char upon success.
3. Homuns that have been out of owners sight for over 3 seconds will now be teleport back to master.
4. pc_jobchange now correctly vaporizes the homun.
5. New homunculus now spawn with full health.
Special Thanks to kyeme/Beret for all the information and official server testing.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c16ab832c..f468b5364 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7541,8 +7541,12 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin break; case AM_CALLHOMUN: //[orn] - if (sd && homun->call(sd)) - clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); + if( sd ) { + if (homun->call(sd)) + clif->skill_nodamage(src, bl, skill_id, skill_lv, 1); + else + clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); + } break; case AM_REST: |