Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

smallpop

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by smallpop

  1. Asura Miss i can't install Error in sc.data and Body Relo same Error + + if( skill_id == MO_EXTREMITYFIST && ((sd->spiritball == 0 && battle_config.asura_absorb_cast_cancel) || (!sd->sc.data[SC_EXPLOSIONSPIRITS] && battle_config.asura_dispell_cast_cancel))) + { + clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0); + return 0; + } Index: map/battle.c =================================================================== --- map/battle.c (revision 12410) +++ map/battle.c (working copy) @@ -7799,6 +7799,9 @@ { "idletime_option", &battle_config.idletime_option, 0x25, 1, INT_MAX, }, { "spawn_direction", &battle_config.spawn_direction, 0, 0, 1, }, { "arrow_shower_knockback", &battle_config.arrow_shower_knockback, 1, 0, 1, }, + { "asura_absorb_cast_cancel", &battle_config.asura_absorb_cast_cancel, 1, 0, 1, }, + { "asura_dispell_cast_cancel", &battle_config.asura_dispell_cast_cancel, 1, 0, 1, }, + }; #ifndef STATS_OPT_OUT /** Index: map/battle.h =================================================================== --- map/battle.h (revision 12410) +++ map/battle.h (working copy) @@ -568,6 +568,8 @@ int idletime_option; int spawn_direction; int arrow_shower_knockback; + int asura_absorb_cast_cancel; + int asura_dispell_cast_cancel; } battle_config; void do_init_battle(void); Index: map/skill.c =================================================================== --- map/skill.c (revision 12410) +++ map/skill.c (working copy) @@ -14747,6 +14747,12 @@ sd->spiritball_old = sd->spiritball; //Need to do Spiritball check. return true; } + + if( skill_id == MO_EXTREMITYFIST && ((sd->spiritball == 0 && battle_config.asura_absorb_cast_cancel) || (!sd->sc.data[SC_EXPLOSIONSPIRITS] && battle_config.asura_dispell_cast_cancel))) + { + clif_skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0); + return 0; + } switch( sd->menuskill_id ) { // Cast start or cast end?? case AM_PHARMACY:
  2. Hot to Get Reward i wait time end WAR GVG don't have Reward to mail or inventory
×
×
  • Create New...