n3ySkie Posted January 19, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 51 Reputation: 2 Joined: 07/28/14 Last Seen: 1 hour ago Share Posted January 19, 2019 (edited) good day guys i want to know how to enabled fire pillar in land protector, right now my land protector cancel the effect of fire pillar , does any one here can help me? thank you in advance Edited January 20, 2019 by sader1992 remove the photos Quote Link to comment Share on other sites More sharing options...
1 _Terra Posted January 19, 2019 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 170 Reputation: 55 Joined: 07/15/13 Last Seen: 13 hours ago Share Posted January 19, 2019 db/import/skill_db.txt and paste: 80,9,8,2,3,0x20,1:1:1:1:1:2:2:2:2:2:2,10,3:4:5:6:7:8:9:10:11:12,yes,0,0x2000,5,magic,0,0x1, WZ_FIREPILLAR,Fire Pillar src/map/skill.cpp Find this line: case WZ_FIREPILLAR: if( map_getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) ) return NULL; if((flag&1)!=0) limit=1000; val1=skill_lv+2; break; And comment below case WZ_FIREPILLAR: //if( map_getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) ) //return NULL; if((flag&1)!=0) limit=1000; val1=skill_lv+2; break; Search this: //It deletes everything except traps and barriers if ((!(skill_get_inf2(unit->group->skill_id)&(INF2_TRAP)) && !(skill_get_inf3(unit->group->skill_id)&(INF3_NOLP))) || unit->group->skill_id == WZ_FIREPILLAR || unit->group->skill_id == GN_HELLS_PLANT) { if (skill_get_unit_flag(unit->group->skill_id)&UF_RANGEDSINGLEUNIT) { if (unit->val2&UF_RANGEDSINGLEUNIT) skill_delunitgroup(unit->group); } else skill_delunit(unit); return 1; } break; and remove: unit->group->skill_id == WZ_FIREPILLAR || //It deletes everything except traps and barriers if ((!(skill_get_inf2(unit->group->skill_id)&(INF2_TRAP)) && !(skill_get_inf3(unit->group->skill_id)&(INF3_NOLP))) || unit->group->skill_id == GN_HELLS_PLANT) { if (skill_get_unit_flag(unit->group->skill_id)&UF_RANGEDSINGLEUNIT) { if (unit->val2&UF_RANGEDSINGLEUNIT) skill_delunitgroup(unit->group); } else skill_delunit(unit); return 1; } break; Then recompile your server, i've tested by myself. Hope it helps. 1 Quote Link to comment Share on other sites More sharing options...
0 n3ySkie Posted January 20, 2019 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 51 Reputation: 2 Joined: 07/28/14 Last Seen: 1 hour ago Author Share Posted January 20, 2019 thank you its working have a nice day for sharing your knowledge bro. Quote Link to comment Share on other sites More sharing options...
Question
n3ySkie
good day guys i want to know how to enabled fire pillar in land protector, right now my land protector cancel the effect of fire pillar , does any one here can help me? thank you in advance
remove the photos
Link to comment
Share on other sites
2 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.