Leaderboard
Popular Content
Showing content with the highest reputation on 06/19/22 in Posts
-
1 point
-
It's actually both in pre-renewal. It's HardDef+SoftDef basically. ATK_RATE2(wd->damage, wd->damage2, attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_R)*(def1+vit_def) : (100-def1)), attack_ignores_def(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ?100:(is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L) ? (int64)is_attack_piercing(wd, src, target, skill_id, skill_lv, EQI_HAND_L)*(def1+vit_def) : (100-def1)) ); Only need to change the (def1+vit_def) part if you want to customize it.1 point
-
1 point
-
You need implement the bonus in status.cpp go to src/map/status.cpp and find static unsigned short status_calc_matk(struct block_list *bl, struct status_change *sc, int matk) now put impositio bonus below: if (sc->data[SC_VOLCANO]) matk += sc->data[SC_VOLCANO]->val2; and add then: if (sc->data[SC_VOLCANO]) matk += sc->data[SC_VOLCANO]->val2; if (sc->data[SC_IMPOSITIO]) matk += sc->data[SC_IMPOSITIO]->val2;1 point
-
maybe its too late to reply but the problem its your background.jpg its have big size file Try to compress your background.jpg and your problem will be fixed1 point
-
Open ../src/map/clif.cpp and in the function clif_parse_LoadEndAck remove: #if PACKETVER >= 20070918 clif_partyinvitationstate(sd); clif_equipcheckbox(sd); #endif #if PACKETVER >= 20141008 if( battle_config.pet_autofeed_always ){ // Always send ON or OFF if( sd->pd && battle_config.feature_pet_autofeed ){ clif_configuration( sd, CONFIG_PET_AUTOFEED, sd->pd->pet.autofeed ); }else{ clif_configuration( sd, CONFIG_PET_AUTOFEED, false ); } }else{ // Only send when enabled if( sd->pd && battle_config.feature_pet_autofeed && sd->pd->pet.autofeed ){ clif_configuration( sd, CONFIG_PET_AUTOFEED, true ); } } #endif #if PACKETVER >= 20170920 if( battle_config.homunculus_autofeed_always ){ // Always send ON or OFF if( sd->hd && battle_config.feature_homunculus_autofeed ){ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, sd->hd->homunculus.autofeed ); }else{ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, false ); } }else{ // Only send when enabled if( sd->hd && battle_config.feature_homunculus_autofeed && sd->hd->homunculus.autofeed ){ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, true ); } } #endif In the function clif_parse_LoadEndAck after: // Notify everyone that this char logged in [Skotlex]. map_foreachpc(clif_friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 1); add: #if PACKETVER >= 20070918 clif_partyinvitationstate(sd); clif_equipcheckbox(sd); #endif #if PACKETVER >= 20141008 if( battle_config.pet_autofeed_always ){ // Always send ON or OFF if( sd->pd && battle_config.feature_pet_autofeed ){ clif_configuration( sd, CONFIG_PET_AUTOFEED, sd->pd->pet.autofeed ); }else{ clif_configuration( sd, CONFIG_PET_AUTOFEED, false ); } }else{ // Only send when enabled if( sd->pd && battle_config.feature_pet_autofeed && sd->pd->pet.autofeed ){ clif_configuration( sd, CONFIG_PET_AUTOFEED, true ); } } #endif #if PACKETVER >= 20170920 if( battle_config.homunculus_autofeed_always ){ // Always send ON or OFF if( sd->hd && battle_config.feature_homunculus_autofeed ){ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, sd->hd->homunculus.autofeed ); }else{ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, false ); } }else{ // Only send when enabled if( sd->hd && battle_config.feature_homunculus_autofeed && sd->hd->homunculus.autofeed ){ clif_configuration( sd, CONFIG_HOMUNCULUS_AUTOFEED, true ); } } #endif1 point
-
1 point
-
LOL sorry I'm sure now case SA_ELEMENTWATER: case SA_ELEMENTFIRE: case SA_ELEMENTGROUND: case SA_ELEMENTWIND: //if (sd && (!dstmd || status_has_mode(tstatus,MD_STATUS_IMMUNE))) // Only works on monsters (Except status immune monsters). // break; comment it out1 point