diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-10 10:16:06 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-10 10:16:06 +0000 |
commit | 7536331ae203d5576166cd50a3243b735cd30f75 (patch) | |
tree | 2cf87c8b716d5ce273c5d21de1320c2509124124 /src/map/pc.c | |
parent | 31840066c4795124a887cd12996cf7dc13fcef25 (diff) | |
download | hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.gz hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.bz2 hercules-7536331ae203d5576166cd50a3243b735cd30f75.tar.xz hercules-7536331ae203d5576166cd50a3243b735cd30f75.zip |
* Fixed some typos and exploits in the Blacksmith and Hunter job quest
* Modified 'wedding' script command to work with "OnTimer" scripts
* Added 'attachnpctimer' and 'detachnpctimer' script command
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@944 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 417ca0272..4aa2e7342 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1048,9 +1048,10 @@ int pc_calc_skilltree(struct map_session_data *sd) for(j=0;j<5;j++) { if( skill_tree[s][c][i].need[j].id && pc_checkskill(sd,skill_tree[s][c][i].need[j].id) < - skill_tree[s][c][i].need[j].lv) + skill_tree[s][c][i].need[j].lv) { f=0; - break; + break; + } } } if(f && sd->status.skill[id].id==0 ){ |