-
Posts
37 -
Joined
-
Last visited
-
Days Won
2
Community Answers
-
joecalis's post in SpecialEffect Affecting Explosion was marked as the answer
Change it to this:
case ALL_ODINS_POWER: if( sd != NULL ) { if(skill_id == ALL_ODINS_POWER){ clif_specialeffect(bl, 75, AREA); clif_specialeffect(bl, 99, AREA); } clif_skill_nodamage(bl, bl, skillid, skilllv, sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv))); } break;
-
joecalis's post in Berserk/Frenzy Changes was marked as the answer
In battle.cpp search for void battle_drain
under uint8 i = 0;
add the code:
struct status_change *sc;
sc = status_get_sc(&sd->bl);
it should look like this now:
uint8 i = 0; struct status_change *sc; sc = status_get_sc(&sd->bl); if (!CHK_RACE(race) && !CHK_CLASS(class_)) return; now after the line battle_vanish(sd, tbl, &d);
add this code:
if (sc && sc->count){
if (sc->data[SC_BERSERK])
return;
}
it should now look like this:
// Check for vanish HP/SP. !CHECKME: Which first, drain or vanish? battle_vanish(sd, tbl, &d); if (sc && sc->count){ if (sc->data[SC_BERSERK]) return; } // Check for drain HP/SP and there you go, no more lifesteal.
-
joecalis's post in Doram/Summoner class damage to be reduce by RC_PLAYER was marked as the answer
That's because Summoner isn't counted as either of those, according to the status.cpp file at status_calc_pc_ summoner class is considered as RC_BRUTE:
base_status->race = ((battle_config.summoner_trait&1) && (sd->class_&MAPID_BASEMASK) == MAPID_SUMMONER) ? RC_BRUTE : RC_PLAYER; Maybe you could tinker with that.
Or just change the summoner trait from player.conf
// Adjust the summoner class' special traits. // 0: Summoners behave like other classes. // 1: Summoners belong to brute race instead of demi-human // 2: Summoners are small size instead of medium // 3: Both of the above (official value) summoner_trait: 3