Jump to content
  • 0

Despair song modification


Question

11 answers to this question

Recommended Posts

Posted

Open you skill_db.txt and look for skill ID 2419 and edit it to the following:

2419,0,6,4,0,0x1,0,10,1,no,0,0x20,0,misc,0,

Do the same with the skill id 2422.

2422,0,6,4,0,0x1,0,10,1,no,0,0x20,0,misc,0,

Posted (edited)

at skill.c [Lullaby Deep Sleep]

case NC_COLDSLOWER:
case NC_ARMSCANNON:
case RK_DRAGONBREATH:
case WM_LULLABY_DEEPSLEEP:
       i = skill_get_splash(skillid,skilllv);
       map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR,
       src,skillid,skilllv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id);
       break;

change to

case NC_COLDSLOWER:
case NC_ARMSCANNON:
case RK_DRAGONBREATH:
case WM_LULLABY_DEEPSLEEP:
	i = skill_get_splash(skillid,skilllv);
	map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR,
	src,skillid,skilllv,tick,(skillid == WM_LULLABY_DEEPSLEEP)? flag|BCT_ALL|1 :	
	flag|BCT_ENEMY|1,skill_castend_damage_id);
	break;

at skill_unit_db.txt [Poem of Netherworld]

2419,0xde,	,  0, 1,1000,enemy, 0x010  //WM_POEMOFNETHERWORLD

change to

2419,0xde,	,  0, 1,1000,all, 0x010  //WM_POEMOFNETHERWORLD

please feedback if you found a error

Edited by Daredevil
Posted

try this

case NC_COLDSLOWER:
case NC_ARMSCANNON:
case RK_DRAGONBREATH:
case WM_LULLABY_DEEPSLEEP:
       i = skill_get_splash(skillid,skilllv);
       map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR,
       src,skillid,skilllv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id);

       if (skillid == WM_LULLABY_DEEPSLEEP)
           target = BCT_ALL;
       break;

Posted

case NC_COLDSLOWER:

case NC_ARMSCANNON:

case RK_DRAGONBREATH:

case WM_LULLABY_DEEPSLEEP:

i = skill_get_splash(skillid,skilllv);

map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR,

src,skillid,skilllv,tick,(skillid == WM_LULLABY_DEEPSLEEP)? flag|BCT_ALL|1 :

flag|BCT_ENEMY|1,skill_castend_damage_id);

break;

Working but the user is also affected w/ Lullaby :<

Posted (edited)

oh i remember

keep deep sleep lullaby at skill.c like this

case NC_COLDSLOWER:
case NC_ARMSCANNON:
case RK_DRAGONBREATH:
case WM_LULLABY_DEEPSLEEP:
i = skill_get_splash(skillid,skilllv);
map_foreachinarea(skill_area_sub,src->m,x-i,y-i,x+i,y+i,BL_CHAR,
src,skillid,skilllv,tick,flag|BCT_ENEMY|1,skill_castend_damage_id);
break;

at skill_db

2422,7,6,2,0,0x3,5:6:7:8:9,5,1,yes,0,0,0,none,0, WM_LULLABY_DEEPSLEEP,Deep Sleep Lullaby

change to

2422,7,6,2,0,0x3,5:6:7:8:9,5,1,yes,0,0x1200,0,none,0, WM_LULLABY_DEEPSLEEP,Deep Sleep Lullaby

Edited by Daredevil
Posted (edited)

a little mistake

2419,0xde, , 0, 1,1000,enemy, 0x010 //WM_POEMOFNETHERWORLD

change to

2419,0xde, , 0, 1,1000,friend 0x010 //WM_POEMOFNETHERWORLD

Edited by Daredevil

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...