summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index c7918ce93..4967a0ec3 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2834,7 +2834,7 @@ int mob_warpslave(struct block_list *bl, int range)
}
/*==========================================
- * 画面内の取り巻きの数計算用(foreachinarea)
+ * Count slave sub, curently chking if mob master is the given id
*------------------------------------------*/
int mob_countslave_sub(struct block_list *bl,va_list ap)
{
@@ -2849,7 +2849,7 @@ int mob_countslave_sub(struct block_list *bl,va_list ap)
}
/*==========================================
- * 画面内の取り巻きの数計算
+ * Cout how many slave a mob got on map
*------------------------------------------*/
int mob_countslave(struct block_list *bl)
{
@@ -2955,7 +2955,8 @@ int mob_summonslave(struct mob_data *md2,int *value,int amount,int skill_id)
}
/*==========================================
- *MOBskillから該当skillidのskillidxを返す
+ * MOBskill lookup (get skillindex trough skillid)
+ * return -1 if not found
*------------------------------------------*/
int mob_skillid2skillidx(int class_,int skillid)
{
@@ -3965,7 +3966,7 @@ static bool mob_readdb_mobavail(char* str[], int columns, int current)
class_=atoi(str[0]);
- if(mob_db(class_) == mob_dummy) // 値が異常なら処理しない。
+ if(mob_db(class_) == mob_dummy) // invalid class (probably undefined in db)
{
ShowWarning("mob_readdb_mobavail: Unknown mob id %d.\n", class_);
return false;