summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 00:20:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 00:20:36 +0000
commitb7d0f3d4c08f57f2dbfad5721c7f2253f89681cd (patch)
tree185cd91cceecea91414448e152477280198f08c5 /src/map
parent2e6b60b75297768f421f26a251491ab0e80dc30c (diff)
downloadhercules-b7d0f3d4c08f57f2dbfad5721c7f2253f89681cd.tar.gz
hercules-b7d0f3d4c08f57f2dbfad5721c7f2253f89681cd.tar.bz2
hercules-b7d0f3d4c08f57f2dbfad5721c7f2253f89681cd.tar.xz
hercules-b7d0f3d4c08f57f2dbfad5721c7f2253f89681cd.zip
- Fixed the linked bard/dancer skills toggling with each call to pc_calc_status
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5545 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 86c298376..753fa8455 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -999,7 +999,6 @@ int pc_calc_skilltree(struct map_session_data *sd)
sd->status.skill[i].lv=(sd->status.skill[i].flag==1)?0:sd->status.skill[i].flag-2;
sd->status.skill[i].flag=0;
}
- else
if(sd->sc.count && sd->sc.data[SC_SPIRIT].timer != -1 && sd->sc.data[SC_SPIRIT].val2 == SL_BARDDANCER && i >= DC_HUMMING && i<= DC_SERVICEFORYOU)
{ //Enable Bard/Dancer spirit linked skills.
if (sd->status.sex) { //Link dancer skills to bard.
@@ -6946,15 +6945,6 @@ int pc_equipitem(struct map_session_data *sd,int n,int pos)
}
status_calc_pc(sd,0);
- if(sd->special_state.infinite_endure) {
- if(sd->sc.data[SC_ENDURE].timer == -1)
- status_change_start(&sd->bl,SC_ENDURE,100,10,1,0,0,0,0);
- }
- else {
- if(sd->sc.count && sd->sc.data[SC_ENDURE].timer != -1 && sd->sc.data[SC_ENDURE].val2)
- status_change_end(&sd->bl,SC_ENDURE,-1);
- }
-
if(sd->sc.count) {
if (sd->sc.data[SC_SIGNUMCRUCIS].timer != -1 && !battle_check_undead(7,sd->def_ele))
status_change_end(&sd->bl,SC_SIGNUMCRUCIS,-1);