Daredevil Posted November 18, 2011 Posted November 18, 2011 hello, i want to ask, how do I change Landmine can damage on self like iRO i was changed skill_unit_db like this 116,0x93, , 0, 1,1000,all, 0x006 //HT_LANDMINE but nothing happen, but instead disappeared trap thanks before Quote
Shinryo Posted November 18, 2011 Posted November 18, 2011 Search for the 'skill_unitsetting' function in skill.c, locate the case for HT_LANDMINE and change the target to BCT_ALL. E.g. before: ... case HT_SHOCKWAVE: val1=skilllv*15+10; case HT_SANDMAN: case MA_SANDMAN: case HT_CLAYMORETRAP: case HT_SKIDTRAP: case MA_SKIDTRAP: case HT_LANDMINE: case MA_LANDMINE: case HT_ANKLESNARE: case HT_FLASHER: ... case RA_ICEBOUNDTRAP: if( map_flag_gvg(src->m) || map[src->m].flag.battleground ) limit *= 4; // longer trap times in WOE [celest] if( battle_config.vs_traps_bctall && map_flag_vs(src->m) && (src->type&battle_config.vs_traps_bctall) ) target = BCT_ALL; break; After: ... case HT_SHOCKWAVE: val1=skilllv*15+10; case HT_SANDMAN: case MA_SANDMAN: case HT_CLAYMORETRAP: case HT_SKIDTRAP: case MA_SKIDTRAP: case HT_LANDMINE: case MA_LANDMINE: case HT_ANKLESNARE: case HT_FLASHER: ... case RA_ICEBOUNDTRAP: if( map_flag_gvg(src->m) || map[src->m].flag.battleground ) limit *= 4; // longer trap times in WOE [celest] if(skillid == HT_LANDMINE || skillid = MA_LANDMINE || battle_config.vs_traps_bctall && map_flag_vs(src->m) && (src->type&battle_config.vs_traps_bctall) ) target = BCT_ALL; break; Quote
Daredevil Posted November 24, 2011 Author Posted November 24, 2011 sorry mr, i was changed like your instruction, but the trap just exploded and there isn't damage for me Quote
Loke Posted January 4, 2012 Posted January 4, 2012 skillid == HT_LANDMINE or skillid = HT_LANDMINE ( 1 = only ) ? Quote
Question
Daredevil
hello,
i want to ask, how do I change Landmine can damage on self like iRO
i was changed skill_unit_db like this
116,0x93, , 0, 1,1000,all, 0x006 //HT_LANDMINE
but nothing happen, but instead disappeared trap
thanks before
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.