Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/09/23 in Posts

  1. in unit.cpp Find: // SC_MAGICPOWER needs to switch states at start of cast skill_toggle_magicpower(src, skill_id); Change To: // SC_MAGICPOWER needs to switch states at start of cast skill_toggle_magicpower(src, skill_id); if (sd && skill_id == PF_SPIDERWEB && !skill_pos_maxcount_check(src, skill_x, skill_y, skill_id, skill_lv, BL_PC, false)) { int oldweb = -1; int webid = 0; for (int i = 0; i < MAX_SKILLUNITGROUP && sd->ud.skillunit[i]; i++) { if (sd->ud.skillunit[i]->skill_id == skill_id) { if (webid == 0) { webid = sd->ud.skillunit[i]->group_id; oldweb = i; } else if (webid != 0 && sd->ud.skillunit[i]->group_id < webid) { webid = sd->ud.skillunit[i]->group_id; oldweb = i; } } } if (oldweb >= 0) { skill_delunitgroup(sd->ud.skillunit[oldweb]); } } This will delete the oldest active spider web when you try to cast it while it is at max count. You can change the maxcount in skill_db.txt to any number under 25 to raise the limit before web deletion. Edit: Sorry I placed the code before requirement checks, but its fixed now.
    2 points
  2. in status.cpp Find: case SC_SIGNUMCRUCIS: // Only affects demons and undead element (but not players) if((!undead_flag && status->race!=RC_DEMON) || bl->type == BL_PC) return 0; break; Change To: case SC_SIGNUMCRUCIS: // Now affects all monsters (but not players) if(bl->type == BL_PC) return 0; break;
    1 point
  3. Data/wav Rynbef~
    1 point
  4. @Bodystyle for all Class, change in src/map/atcommand.cpp Search: if ( (sd->class_ & JOBL_FOURTH) || !(sd->class_ & JOBL_THIRD) || (sd->class_ & MAPID_THIRDMASK) == MAPID_SUPER_NOVICE_E || (sd->class_ & MAPID_THIRDMASK) == MAPID_STAR_EMPEROR || (sd->class_ & MAPID_THIRDMASK) == MAPID_SOUL_REAPER) { clif_displaymessage(fd, msg_txt(sd,740)); // This job has no alternate body styles. return -1; } Replace: /*if ( (sd->class_ & JOBL_FOURTH) || !(sd->class_ & JOBL_THIRD) || (sd->class_ & MAPID_THIRDMASK) == MAPID_SUPER_NOVICE_E || (sd->class_ & MAPID_THIRDMASK) == MAPID_STAR_EMPEROR || (sd->class_ & MAPID_THIRDMASK) == MAPID_SOUL_REAPER) { clif_displaymessage(fd, msg_txt(sd,740)); // This job has no alternate body styles. return -1; }*/ Pallete color for bodystyle 1 copy in Data/palette/¸ö/costume_1: Example Paladin: copy pallete Royal Guard and change name for sprite Paladin. Male: Basic + Mount Lion ÆÈ¶óµò_³²_0_1.pal ÆÈ¶óµò_³²_1_1.pal ÆÈ¶óµò_³²_2_1.pal ÆÈ¶óµò_³²_3_1.pal Female: Basic + Mount Lion ÆÈ¶óµò_¿©_0_1.pal ÆÈ¶óµò_¿©_1_1.pal ÆÈ¶óµò_¿©_2_1.pal ÆÈ¶óµò_¿©_3_1.pal Male: Peco Mount ÆäÄÚÆÈ¶óµò_³²_0_1.pal ÆäÄÚÆÈ¶óµò_³²_1_1.pal ÆäÄÚÆÈ¶óµò_³²_2_1.pal ÆäÄÚÆÈ¶óµò_³²_3_1.pal Female: Peco Mount ÆäÄÚÆÈ¶óµò_¿©_0_1.pal ÆäÄÚÆÈ¶óµò_¿©_1_1.pal ÆäÄÚÆÈ¶óµò_¿©_2_1.pal ÆäÄÚÆÈ¶óµò_¿©_3_1.pal Name Sprite Bible
    1 point
×
×
  • Create New...