Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/06/22 in Posts

  1. According to this code in skill.cpp, pnuema already doesn't work on land protector (iRO wiki says the same thing): switch (skill_id) { case AL_PNEUMA: //Pneuma doesn't work even if just one cell overlaps with Land Protector if(g_skill_id == SA_LANDPROTECTOR) break; If you want it to disappear on land protector, perhaps try one or more of these: Adding it to the return null list here in skill.cpp (look for the first part of the code, I've added it to the bottom): case WM_SEVERE_RAINSTORM: case SO_WATER_INSIGNIA: case SO_FIRE_INSIGNIA: case SO_WIND_INSIGNIA: case SO_EARTH_INSIGNIA: case AL_PNEUMA: if( map_getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) ) return NULL; Or look for first part of this code in skill.cpp and add pneuma right before the break like I've done: switch (skill_id) { case SA_LANDPROTECTOR: if( unit->group->skill_id == SA_LANDPROTECTOR ) {//Check for offensive Land Protector to delete both. [Skotlex] (*alive) = 0; skill_delunit(unit); return 1; } //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; } if( unit->group->skill_id == AL_PNEUMA ) { (*alive) = 0; skill_delunit(unit); return 1;} break;
    1 point
  2. View File Limited Items This script will limit the inventory of player if the player bring exceeded limitation items into the map. For Example : Configuration : // func_Add( <gm_level_to_bypass>, <map_name>, <item1>,<max_amount1>,....,<itemX>,<max_amountX> ); func_Add( 100,"prontera", 501,1,502,2,503,3,504,5 ); func_Add( 100,"payon", 501,1,502,2,503,3,504,5 ); func_Add( 100,"izlude", 501,1,502,2,503,3,504,5 ); func_Add( 100,"prt_fild08", 4001,1,4002,3,4003,0,504,5 ); Positive = Player can only bring Maximum of that amount of items. 0 = Totally Disabled, player cant bring any of it. Submitter Emistry Submitted 07/29/12 Category Utilities Content Author  
    1 point
×
×
  • Create New...