summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-30 15:50:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-30 15:50:54 +0000
commitc09b285a4ed34188ae0f4d13a9f235352e12009e (patch)
tree736189f0c9b04fd6b0f76ba2783d0ffee0a430ad /src/map/unit.c
parentb463207e4730edf3877b57577e8ac91decaca5c8 (diff)
downloadhercules-c09b285a4ed34188ae0f4d13a9f235352e12009e.tar.gz
hercules-c09b285a4ed34188ae0f4d13a9f235352e12009e.tar.bz2
hercules-c09b285a4ed34188ae0f4d13a9f235352e12009e.tar.xz
hercules-c09b285a4ed34188ae0f4d13a9f235352e12009e.zip
- the auth function in login.c won't jstrescapecpy passwords that were encrypted.
- Moved the Endure and Gravitation sc ends to battle_damage from pc_damage. - Endure level 11 and above are now considered infinite-endure. - Set the minimum pet hungry delay to 10 - modified function skill_delayfix to only receive skill/lv, actual time is now always acquired from skill_get_delay. It also now will never return a value below min_skill_delay_limit. - Modified brandish spear so you won't see the skill-animation for every targetted mob. Also cleaned it up to use map_foreachincell calls. - splitted skill_cast_fix into skill_cast_fix and skill_cast_fix_sc, the first does cast adjustments based on dex and server settings, the later only based on sc changes. Mobs use the later while everyone else use the former (which invokes the later when appropiate) - Added the Steel Body icon to auto-berserk. - Now you can't cast auto-counter while the previous one is active. - For the duration of Berserk, infinite-endure is activated. - Added Veider's suggestion to do a hack-report when players request the name of an invisible/cloaked character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5813 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index fee09279c..e441bc693 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -524,7 +524,7 @@ int unit_skilluse_id(struct block_list *src, int target_id, int skill_num, int s
return unit_skilluse_id2(
src, target_id, skill_num, skill_lv,
- skill_castfix(src, skill_num, skill_lv, skill_get_cast(skill_num, skill_lv)),
+ skill_castfix(src, skill_num, skill_lv),
skill_get_castcancel(skill_num)
);
}
@@ -803,7 +803,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int
case ALL_RESURRECTION: /* リザレクション */
if(battle_check_undead(status_get_race(target),status_get_elem_type(target))){ /* 敵がアンデッドなら */
temp=1; /* ターンアンデットと同じ詠唱時間 */
- casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv, skill_get_cast(PR_TURNUNDEAD, skill_lv));
+ casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv);
}
break;
case MO_FINGEROFFENSIVE: /* 指弾 */
@@ -906,7 +906,7 @@ int unit_skilluse_pos(struct block_list *src, int skill_x, int skill_y, int skil
return 0;
return unit_skilluse_pos2(
src, skill_x, skill_y, skill_num, skill_lv,
- skill_castfix(src, skill_num, skill_lv, skill_get_cast(skill_num, skill_lv)),
+ skill_castfix(src, skill_num, skill_lv),
skill_get_castcancel(skill_num)
);
}