diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/skill.c | 6 | ||||
-rw-r--r-- | src/map/status.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8525858a1..1524831a5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6272,9 +6272,13 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil case NJ_KAENSIN:
case NJ_BAKUENRYU:
case NJ_HYOUSYOURAKU:
- case NJ_RAIGEKISAI:
skill_unitsetting(src,skillid,skilllv,x,y,0);
break;
+ case NJ_RAIGEKISAI:
+ map_foreachinrange(skill_attack_area, src,
+ skill_get_splash(skillid, skilllv), BL_CHAR,
+ BF_MAGIC, src, src, skillid, skilllv, tick, flag, BCT_ENEMY);
+ break;
}
if (sc && sc->data[SC_MAGICPOWER].timer != -1)
diff --git a/src/map/status.c b/src/map/status.c index 1142f6810..c6152530a 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -5740,12 +5740,12 @@ int status_readdb(void) { char *split[MAX_WEAPON_TYPE + 5];
if(line[0]=='/' && line[1]=='/')
continue;
- for(j=0,p=line;j<22 && p;j++){
+ for(j=0,p=line;j<(MAX_WEAPON_TYPE + 5) && p;j++){ //not 22 anymore [blackhole89]
split[j]=p;
p=strchr(p,',');
if(p) *p++=0;
}
- if(j<22)
+ if(j<(MAX_WEAPON_TYPE + 5))
continue;
if(atoi(split[0])>=MAX_PC_CLASS)
continue;
|