diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-30 15:50:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-30 15:50:54 +0000 |
commit | c09b285a4ed34188ae0f4d13a9f235352e12009e (patch) | |
tree | 736189f0c9b04fd6b0f76ba2783d0ffee0a430ad /src/map/pc.c | |
parent | b463207e4730edf3877b57577e8ac91decaca5c8 (diff) | |
download | hercules-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/pc.c')
-rw-r--r-- | src/map/pc.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 57f4b8d50..815a03391 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1475,7 +1475,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val) if(sd->state.lr_flag != 2) {
sd->special_state.infinite_endure = 1;
if (sd->sc.data[SC_ENDURE].timer == -1)
- sc_start(&sd->bl, SC_ENDURE,100,1,0);
+ sc_start(&sd->bl,SC_ENDURE,100,11,600000);
}
break;
case SP_INTRAVISION: // Maya Purple Card effect allowing to see Hiding/Cloaking people [DracoRPG]
@@ -4608,22 +4608,6 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage) skill_rest(sd,0);
}
- // ? いていたら足を止める
- if (sd->sc.count) {
- if (sd->sc.data[SC_ENDURE].timer != -1 && (src != NULL && src->type == BL_MOB) && !map_flag_gvg(sd->bl.m)) {
- if (!sd->special_state.infinite_endure && (--sd->sc.data[SC_ENDURE].val2) < 0)
- status_change_end(&sd->bl, SC_ENDURE, -1);
- }
- if (sd->sc.data[SC_GRAVITATION].timer != -1 &&
- sd->sc.data[SC_GRAVITATION].val3 == BCT_SELF) {
- struct skill_unit_group *sg = (struct skill_unit_group *)sd->sc.data[SC_GRAVITATION].val4;
- if (sg) {
- skill_delunitgroup(sg);
- status_change_end(&sd->bl, SC_GRAVITATION, -1);
- }
- }
- }
-
// 演奏/ダンスの中?
if(damage > sd->status.max_hp>>2)
skill_stop_dancing(&sd->bl);
|