hello guys,
I am trying to implement NPC_WIDEWEB skill but the location of skill unit is fixed on the caster coordinate while officially it should only affect the targets around caster for 15x15 aoe size.
Below are the modification i did on source and db files
//skill.cpp under skill_castend_pos2 block
case NPC_WIDEWEB:
flag|=1;//Set flag to 1 to prevent deleting ammo (it will be deleted on group-delete).
case GS_GROUNDDRIFT: //Ammo should be deleted right away.
case GN_WALLOFTHORN:
case GN_DEMONIC_FIRE:
skill_unitsetting(src,skill_id,skill_lv,x,y,0);
//skill_db
721,0,6,4,0,0x3,7,1,1,no,0,0x2,0,none,0,0x0, NPC_WIDEWEB,Wide Web
//skill_unit_db
721,0xb7, , 0, 0, -1,enemy, 0x8000 //NPC_WIDEWEB