From 1cd7372c0812c1316bd9fc7f04f9c454b87a5ef5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 9 Apr 2006 05:50:43 +0000 Subject: - Changed the default of multi_hit_delay from 230 to 80 which seems more official. - Wedding recall skills are now blocked by the nomemo mapflag. - Skill delay for weapon types is now based on adelay (ASPD) rather than amotion (ASPD/2) - Removed ending Endure when casting Berserk, may fix the timer mismatch issues. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5963 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- src/map/skill.c | 10 +++++----- src/map/status.c | 2 -- src/map/status.h | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/map/battle.c b/src/map/battle.c index a60c0b577..514adeec7 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3992,7 +3992,7 @@ void battle_set_defaults() { battle_config.summons_inherit_effects=1; battle_config.pc_walk_delay_rate=20; battle_config.walk_delay_rate=100; - battle_config.multihit_delay=230; + battle_config.multihit_delay=80; battle_config.quest_skill_learn=0; battle_config.quest_skill_reset=1; battle_config.basic_skill_check=1; diff --git a/src/map/skill.c b/src/map/skill.c index 34605d016..88308c33d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6476,7 +6476,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid, case WE_CALLPARTNER: if (!sd) return NULL; - if (map[src->m].flag.nowarpto) { + if (map[src->m].flag.nomemo) { clif_skill_teleportmessage(sd,1); return NULL; } @@ -6485,7 +6485,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid, case WE_CALLPARENT: if (!sd) return NULL; - if (map[src->m].flag.nowarpto) { + if (map[src->m].flag.nomemo) { clif_skill_teleportmessage(sd,1); return NULL; } @@ -6495,7 +6495,7 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid, case WE_CALLBABY: if (!sd) return NULL; - if (map[src->m].flag.nowarpto) { + if (map[src->m].flag.nomemo) { clif_skill_teleportmessage(sd,1); return NULL; } @@ -8334,11 +8334,11 @@ int skill_delayfix(struct block_list *bl, int skill_id, int skill_lv) // instant cast attack skills depend on aspd as delay [celest] if (time == 0) { if (skill_get_type(skill_id) == BF_WEAPON && !(skill_get_nk(skill_id)&NK_NO_DAMAGE)) - time = status_get_amotion(bl); //Use attack animation as default delay. + time = status_get_adelay(bl); //Use attack delay as default delay. else time = 300; // default delay, according to official servers } else if (time < 0) - time = -time + status_get_amotion(bl); // if set to <0, the attack motion is added. + time = -time + status_get_adelay(bl); // if set to <0, the attack delay is added. if (battle_config.delay_dependon_dex && !(delaynodex&1)) { // if skill casttime is allowed to be reduced by dex diff --git a/src/map/status.c b/src/map/status.c index 511cf9416..d708a921c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3847,8 +3847,6 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val status_change_end(bl,SC_CONCENTRATION,-1); if (sc->data[SC_PARRYING].timer != -1) status_change_end(bl,SC_PARRYING,-1); - if (sc->data[SC_ENDURE].timer != -1) - status_change_end(bl,SC_ENDURE,-1); if (sc->data[SC_AURABLADE].timer != -1) status_change_end(bl,SC_AURABLADE,-1); } diff --git a/src/map/status.h b/src/map/status.h index 4df0cbec4..a42cb9e41 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -55,7 +55,7 @@ enum { SC_BROKENARMOR, //50 - NOTE: These two aren't used anywhere, and they have an icon... SC_BROKENWEAPON, SC_HALLUCINATION, - SC_WEIGHT50 , + SC_WEIGHT50, SC_WEIGHT90, SC_ASPDPOTION0, SC_ASPDPOTION1, -- cgit v1.2.3-70-g09d2