summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 14:12:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-01 14:12:51 +0000
commitd3adab9f6f417979f9f7a5915930604d0add5c64 (patch)
tree2d9b1b661dd4a9323d8036bfbd379cb0b7cda32a /src/map/pc.c
parent116eb2b7f492f871e0348c05fbe075191d14c4d6 (diff)
downloadhercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.gz
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.bz2
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.tar.xz
hercules-d3adab9f6f417979f9f7a5915930604d0add5c64.zip
- Soul Breaker will now be affected by Lex Aeterna on both parts of the attack.
- Some minor code cleanups - Cleaned Adaptation's code to not require to check the Skill Unit group structure to extract the skill lv info. - Status changes with no skill and no SCB* data will now go through if they have an SI* icon. This should fix SC_MIRACLE - Reverted switching a mob's adelay/amotion when the later is longer than the former, now both get updated to amotion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8574 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 25f79b3a9..af0603086 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2939,7 +2939,6 @@ int pc_useitem(struct map_session_data *sd,int n)
}
sd->canuseitem_tick= tick + battle_config.item_use_interval; //Update item use time.
- //sd->npc_id = fake_nd->bl.id;
run_script(script,0,sd->bl.id,fake_nd->bl.id);
potion_flag = 0;
return 1;
@@ -4032,7 +4031,7 @@ int pc_checkbaselevelup(struct map_session_data *sd)
sc_start(&sd->bl,SkillStatusChangeTable(PR_GLORIA),100,1,skill_get_time(PR_GLORIA,1));
sc_start(&sd->bl,SkillStatusChangeTable(PR_SUFFRAGIUM),100,1,skill_get_time(PR_SUFFRAGIUM,1));
} else
- if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON || (sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR)
+ if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON || (sd->class_&MAPID_UPPERMASK) == MAPID_STAR_GLADIATOR)
{
sc_start(&sd->bl,SkillStatusChangeTable(AL_INCAGI),100,10,600000);
sc_start(&sd->bl,SkillStatusChangeTable(AL_BLESSING),100,10,600000);