summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-04 09:33:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-04 09:33:24 +0000
commit41d79204a9a27ca396b0e9f158b19860aa878f9a (patch)
treead5c7d3f9d2677b78acd9f25a2c4675a6f61f93d /src
parent58a49148ed8667e49214d4814fe771e7cceec427 (diff)
downloadhercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.gz
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.bz2
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.tar.xz
hercules-41d79204a9a27ca396b0e9f158b19860aa878f9a.zip
- Fixed Music Lesson's effect on Assassin Cross of Sunset.
- Fixed a possible crash in status_change_timer when debug mode is disabled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12006 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
-rw-r--r--src/map/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 92c58809e..692a94e23 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6271,7 +6271,7 @@ struct skill_unit_group* skill_unitsetting (struct block_list *src, short skilli
case BA_ASSASSINCROSS:
val1 = 100+10*skilllv+status->agi; // ASPD increase
if(sd)
- val1 += pc_checkskill(sd,BA_MUSICALLESSON);
+ val1 += 5*pc_checkskill(sd,BA_MUSICALLESSON);
break;
case DC_FORTUNEKISS:
val1 = 10+skilllv+(status->luk/10); // Critical increase
diff --git a/src/map/status.c b/src/map/status.c
index 85c17215d..c4cca766a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6662,7 +6662,7 @@ int status_change_timer(int tid, unsigned int tick, int id, int data)
struct status_change_entry *sce;
bl = map_id2bl(id);
- sc = status_get_sc(bl);
+ sc = bl?status_get_sc(bl):NULL;
status = status_get_status_data(bl);
if(!(bl && sc && (sce = sc->data[type])))