From b9446c4e6e30c62321143a225cbcf8cd8f7d1ea3 Mon Sep 17 00:00:00 2001 From: aleos Date: Wed, 18 May 2022 15:02:29 -0400 Subject: [PATCH] Renamed bonus2 bSpeedRate to bonus bMoveHaste --- db/pre-re/item_combos.yml | 4 +-- db/pre-re/item_db_equip.yml | 28 ++++++++-------- db/pre-re/item_db_etc.yml | 2 +- db/re/item_combos.yml | 14 ++++---- db/re/item_db_equip.yml | 64 ++++++++++++++++++------------------ db/re/item_db_etc.yml | 8 ++--- doc/item_bonus.txt | 2 +- src/map/map.hpp | 2 +- src/map/pc.cpp | 15 +++++---- src/map/script_constants.hpp | 1 + 10 files changed, 71 insertions(+), 69 deletions(-) diff --git a/db/pre-re/item_combos.yml b/db/pre-re/item_combos.yml index e11bea8e8c..3f5e3536a7 100644 --- a/db/pre-re/item_combos.yml +++ b/db/pre-re/item_combos.yml @@ -145,7 +145,7 @@ Body: - Staff_Of_Wing - Wing_Of_Eagle Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Combos: - Combo: - Survival_Rod_ @@ -888,7 +888,7 @@ Body: bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bSPDrainValue,1; if (BaseClass == Job_Thief) bonus bNoGemStone; diff --git a/db/pre-re/item_db_equip.yml b/db/pre-re/item_db_equip.yml index c40ac564f9..3d6bb7c717 100644 --- a/db/pre-re/item_db_equip.yml +++ b/db/pre-re/item_db_equip.yml @@ -5360,7 +5360,7 @@ Body: Refineable: true Script: | bonus bStr,10; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1364 AegisName: Great_Axe Name: Great Axe @@ -5435,7 +5435,7 @@ Body: bonus bAtkEle,Ele_Holy; skill "AL_HEAL",3; bonus2 bAddRace,RC_Demon,3; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1367 AegisName: Slaughter Name: Slaughter @@ -5607,7 +5607,7 @@ Body: skill "AL_HEAL",3; bonus2 bAddRace,RC_Demon,3; bonus bStr,10; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1373 AegisName: Brood_Axe_C Name: Refined Bloody Axe @@ -5628,7 +5628,7 @@ Body: WeaponLevel: 4 Script: | bonus bStr,20; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bAspdRate,5; - Id: 1374 AegisName: Tomahawk_C @@ -15252,7 +15252,7 @@ Body: Skill "HW_MAGICPOWER",10; bonus bMaxHPRate,200; bonus bNoGemStone; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bNoWalkDelay; - Id: 2201 AegisName: Sunglasses @@ -18918,7 +18918,7 @@ Body: bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bSPrecovRate,15; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bInt,25; - Id: 2411 AegisName: Grave @@ -27219,7 +27219,7 @@ Body: ArmorLevel: 1 View: 219 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5151 AegisName: Headset_OST Name: Note Headphones @@ -28141,7 +28141,7 @@ Body: ArmorLevel: 1 View: 253 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5204 AegisName: Event_Pierrot_Nose Name: Rudolph's Nose @@ -29517,7 +29517,7 @@ Body: bonus bInt,1; bonus bAgi,1; bonus bAspdRate,3; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5270 AegisName: Fallen_Leaves_ Name: Autumn Leaves @@ -29578,7 +29578,7 @@ Body: Refineable: true View: 305 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -29597,7 +29597,7 @@ Body: Refineable: true View: 306 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -29616,7 +29616,7 @@ Body: Refineable: true View: 307 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -29635,7 +29635,7 @@ Body: Refineable: true View: 308 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -29828,7 +29828,7 @@ Body: NoSell: true NoGuildStorage: true Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bAspdRate,-10; bonus bCastrate,25; - Id: 5287 diff --git a/db/pre-re/item_db_etc.yml b/db/pre-re/item_db_etc.yml index 78cbc0939b..eebf30e978 100644 --- a/db/pre-re/item_db_etc.yml +++ b/db/pre-re/item_db_etc.yml @@ -4210,7 +4210,7 @@ Body: Flags: BuyingStore: true Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 4132 AegisName: Mistress_Card Name: Mistress Card diff --git a/db/re/item_combos.yml b/db/re/item_combos.yml index aa0d76686c..86724498dd 100644 --- a/db/re/item_combos.yml +++ b/db/re/item_combos.yml @@ -405,7 +405,7 @@ Body: - Shield_Of_Gust - Shining_Trapezohedron Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Combos: - Combo: - Survival_Rod @@ -1980,7 +1980,7 @@ Body: - S_Dancer_Shoes - S_Dancer_Armor Script: | - autobonus3 "{ bonus bAspdRate,10; bonus2 bSpeedRate,25; }",1000,5000,"BD_ADAPTATION"; + autobonus3 "{ bonus bAspdRate,10; bonus bMoveHaste,25; }",1000,5000,"BD_ADAPTATION"; /* Unknow Specialeffect */ - Combos: - Combo: @@ -4383,7 +4383,7 @@ Body: bonus bAgi,5; bonus bStr,5; bonus bAspdRate,5; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bSPDrainValue,1; if (BaseClass == Job_Thief) bonus bNoGemStone; @@ -7932,7 +7932,7 @@ Body: - Puente_Robe_IL - Nurse_Cap_IL Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; /* unknown speed value */ bonus bHealPower,10; - Combos: @@ -10751,7 +10751,7 @@ Body: - White_Wing_Suits Script: | .@r = getequiprefinerycnt(EQI_ARMOR); - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bCritAtkRate,4*(readparam(bluk)/20); if (.@r >= 7) { bonus bAspdRate,8; @@ -10774,7 +10774,7 @@ Body: Script: | .@r = getequiprefinerycnt(EQI_ARMOR); bonus bHPGainValue,500; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus2 bSkillAtk,"RA_CLUSTERBOMB",30*(readparam(bint)/20); bonus2 bSkillUseSP,"RA_ELECTRICSHOCKER",30; if (.@r >= 7) { @@ -11609,7 +11609,7 @@ Body: Script: | bonus bFlee,5; if ((getequiprefinerycnt(EQI_SHADOW_ARMOR) + getequiprefinerycnt(EQI_SHADOW_SHOES)) >= 15) { - bonus2 bSpeedRate,25; /* unknown value */ + bonus bMoveHaste,25; /* unknown value */ } - Combos: - Combo: diff --git a/db/re/item_db_equip.yml b/db/re/item_db_equip.yml index 03551ef243..5654fd1126 100644 --- a/db/re/item_db_equip.yml +++ b/db/re/item_db_equip.yml @@ -5703,7 +5703,7 @@ Body: bonus bStr,10; bonus2 bAddRace,RC_Demon,3; skill "AL_HEAL",3; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1316 AegisName: Adventure_Axe Name: Adventure Axe @@ -6479,7 +6479,7 @@ Body: Refineable: true Script: | bonus bStr,10; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1364 AegisName: Great_Axe Name: Great Axe @@ -6554,7 +6554,7 @@ Body: bonus bAtkEle,Ele_Holy; skill "AL_HEAL",3; bonus2 bAddRace,RC_Demon,3; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 1367 AegisName: Slaughter Name: Slaughter @@ -6726,7 +6726,7 @@ Body: skill "AL_HEAL",3; bonus2 bAddRace,RC_Demon,3; bonus bStr,10; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; /*Gold PC Room: bonus bBaseAtk,10; bonus bMatk,10;*/ - Id: 1373 AegisName: Brood_Axe_C @@ -23542,7 +23542,7 @@ Body: bonus bMaxHPrate,200; bonus bNoKnockback; bonus bDelayrate,-100; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bIntravision; bonus bNoWalkDelay; bonus bNoGemStone; @@ -27308,7 +27308,7 @@ Body: bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bSPrecovRate,25; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bInt,25; - Id: 2411 AegisName: Grave @@ -28421,7 +28421,7 @@ Body: bonus bMaxHPrate,20; bonus bMaxSPrate,20; bonus bSPrecovRate,15; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 2463 AegisName: Feral_Boots Name: Feral Boots @@ -29001,7 +29001,7 @@ Body: .@r = getrefine(); bonus bMdef,.@r; if (.@r>=14) { - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } - Id: 2492 AegisName: Bayani_Bangungot_Boots @@ -29020,7 +29020,7 @@ Body: .@r = getrefine(); bonus bMdef,.@r; if (.@r>=12) { - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } - Id: 2493 AegisName: Goibne's_Combat_Boots_ @@ -40688,7 +40688,7 @@ Body: ArmorLevel: 1 View: 219 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5151 AegisName: Headset_OST Name: Note Headphones @@ -41616,7 +41616,7 @@ Body: ArmorLevel: 1 View: 253 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5204 AegisName: Event_Pierrot_Nose Name: Rudolph's Nose @@ -42887,7 +42887,7 @@ Body: Refineable: true View: 305 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -42906,7 +42906,7 @@ Body: Refineable: true View: 306 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -42925,7 +42925,7 @@ Body: Refineable: true View: 307 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -42944,7 +42944,7 @@ Body: Refineable: true View: 308 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bDef,4; skill "TF_HIDING",1; UnEquipScript: | @@ -43158,7 +43158,7 @@ Body: NoMail: true NoAuction: true Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bAspdRate,5; bonus bVariableCastrate,-5; - Id: 5287 @@ -49532,7 +49532,7 @@ Body: ArmorLevel: 1 View: 314 Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bAspdRate,10; bonus bVariableCastrate,-25; - Id: 5629 @@ -49820,7 +49820,7 @@ Body: View: 308 Script: | bonus bDef,4; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; skill "TF_HIDING",1; UnEquipScript: | sc_end SC_HIDING; @@ -52861,7 +52861,7 @@ Body: NoAuction: true Script: | bonus bAllStats,5; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5810 AegisName: Ph.D_Hat_V Name: Ph.D Hat V @@ -53669,7 +53669,7 @@ Body: View: 999 Script: | bonus2 bAddEffWhenHit,Eff_Stone,600; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 5870 AegisName: Bunny_Egg_Shell Name: Bunny Egg Shell @@ -75424,7 +75424,7 @@ Body: bonus bAllStats,2; bonus bMdef,5; bonus bUnbreakableHelm; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 18626 AegisName: Gelato_Hat Name: Gelato Hat @@ -75618,7 +75618,7 @@ Body: bonus bStr,2; bonus bVit,1; if (getrefine() > 7) - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 18638 AegisName: Citron_Hat Name: Citron Hat @@ -82598,7 +82598,7 @@ Body: bonus bAspd,1; } if (.@r >= 12) { - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } bonus2 bExpAddRace,RC_All,5; bonus2 bDropAddRace,RC_All,5; @@ -83842,7 +83842,7 @@ Body: ArmorLevel: 1 EquipLevelMin: 30 Script: | - autobonus "{ bonus2 bSpeedRate,25; }",50,5000,BF_NORMAL,"{ showscript \"Smokie-formation!\"; active_transform 1056,5000; /*SMOKIE*/ }"; + autobonus "{ bonus bMoveHaste,25; }",50,5000,BF_NORMAL,"{ showscript \"Smokie-formation!\"; active_transform 1056,5000; /*SMOKIE*/ }"; - Id: 19239 AegisName: PoringTownCarrot Name: Poring Village Carrot @@ -83855,7 +83855,7 @@ Body: ArmorLevel: 1 EquipLevelMin: 30 Script: | - autobonus "{ bonus2 bSpeedRate,25; }",50,5000,BF_NORMAL,"{ showscript \"Lunatic-formation!\"; active_transform 1063,5000; /*LUNATIC*/ }"; + autobonus "{ bonus bMoveHaste,25; }",50,5000,BF_NORMAL,"{ showscript \"Lunatic-formation!\"; active_transform 1063,5000; /*LUNATIC*/ }"; - Id: 19240 AegisName: Toy_Syringe_K Name: Toy Syringe @@ -90329,7 +90329,7 @@ Body: View: 691 Script: | if (gettime(DT_MONTH) == OCTOBER) - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 19918 AegisName: C_Lude_Mask Name: Costume Lude Mask @@ -90903,7 +90903,7 @@ Body: Script: | if (gettime(DT_MONTH) == DECEMBER) { bonus bAspdRate,10; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } - Id: 19977 AegisName: C_Golden_Exclamation @@ -99840,7 +99840,7 @@ Body: bonus bLongHPGainValue,5; } if (.@r>=8) - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; if (.@r>=9) { bonus bMaxHPrate,10; bonus bMaxSPrate,10; @@ -102607,7 +102607,7 @@ Body: bonus bMaxHPRate,4+(.@r/3); bonus bMaxSPRate,4+(.@r/3); if (.@r > 9) - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 22075 AegisName: Shoes_Of_Cracks Name: Rift Shoes @@ -103582,7 +103582,7 @@ Body: } if (.@r >=9) { .@bonus += 5; - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } bonus bMaxSPrate,.@bonus; - Id: 22132 @@ -111315,7 +111315,7 @@ Body: bonus bFlee,15; } if (.@r >= 10) - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 24440 AegisName: S_Sonic_Armor Name: Sonic Shadow Armor @@ -116383,7 +116383,7 @@ Body: bonus bDef,15; bonus bFlee,15; if (.@r>=10) { - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; } } - Id: 24733 diff --git a/db/re/item_db_etc.yml b/db/re/item_db_etc.yml index 686f5c643d..86066e6212 100644 --- a/db/re/item_db_etc.yml +++ b/db/re/item_db_etc.yml @@ -4411,7 +4411,7 @@ Body: BuyingStore: true DropEffect: CLIENT Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; - Id: 4132 AegisName: Mistress_Card Name: Mistress Card @@ -11025,7 +11025,7 @@ Body: BuyingStore: true DropEffect: CLIENT Script: | - autobonus2 "{ bonus bAgi,44; bonus bNoWalkDelay; bonus2 bSpeedRate,25; heal 0,-40; }",500,3000,0,"{ specialeffect2 EF_POTION_BERSERK; showscript \"I got the signal!!!!\"; }"; + autobonus2 "{ bonus bAgi,44; bonus bNoWalkDelay; bonus bMoveHaste,25; heal 0,-40; }",500,3000,0,"{ specialeffect2 EF_POTION_BERSERK; showscript \"I got the signal!!!!\"; }"; - Id: 4582 AegisName: Bungisngis_Card Name: Bungisngis Card @@ -44721,7 +44721,7 @@ Body: bonus5 bAutoSpellWhenHit,"SO_FIREWALK",5,35,BF_WEAPON,0; bonus5 bAutoSpellWhenHit,"SO_ELECTRICWALK",5,80,BF_MAGIC,0; autobonus "{ bonus bFlee,200; }",30,10000,BF_WEAPON,"{ specialeffect2 EF_TEIHIT1; }"; - autobonus "{ bonus2 bSpeedRate,25; }",25,10000,BF_MAGIC,"{ specialeffect2 EF_POTION_BERSERK; }"; + autobonus "{ bonus bMoveHaste,25; }",25,10000,BF_MAGIC,"{ specialeffect2 EF_POTION_BERSERK; }"; - Id: 300000 AegisName: IDTest_Card Name: IDTest Card @@ -45880,7 +45880,7 @@ Body: Flags: DropEffect: CLIENT Script: | - bonus2 bSpeedRate,25; + bonus bMoveHaste,25; bonus bHit,-50; - Id: 300140 AegisName: ILL_Sropho_Card diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt index 5e3f56ca09..a13af0f6c5 100644 --- a/doc/item_bonus.txt +++ b/doc/item_bonus.txt @@ -154,7 +154,7 @@ bonus bFlee2Rate,n; Perfect Dodge + n% bonus bPerfectHitRate,n; On-target impact attack probability n% (only the highest among all is applied) bonus bPerfectHitAddRate,n; On-target impact attack probability + n% bonus bSpeedRate,n; Movement speed + n% (only the highest among all is applied, won't be stacked with SC_SPEEDUP0, SC_SPEEDUP1) -bonus2 bSpeedRate,n; Movement speed + n% where EFST_MOVHASTE_INFINITY is applied (only the highest among all is applied, won't be stacked with SC_SPEEDUP0, SC_SPEEDUP1) +bonus bMoveHaste,n; Movement speed + n% where EFST_MOVHASTE_INFINITY is applied (only the highest among all is applied, won't be stacked with SC_SPEEDUP0, SC_SPEEDUP1) bonus bSpeedAddRate,n; Movement speed + n% bonus bAspd,n; Attack speed + n bonus bAspdRate,n; Attack speed + n% diff --git a/src/map/map.hpp b/src/map/map.hpp index 98bdc69ec0..8547ee0b0f 100644 --- a/src/map/map.hpp +++ b/src/map/map.hpp @@ -550,7 +550,7 @@ enum _sp { SP_IGNORE_DEF_CLASS_RATE, SP_REGEN_PERCENT_HP, SP_REGEN_PERCENT_SP, SP_SKILL_DELAY, SP_NO_WALK_DELAY, //2088-2092 SP_LONG_SP_GAIN_VALUE, SP_LONG_HP_GAIN_VALUE, SP_SHORT_ATK_RATE, SP_MAGIC_SUBSIZE, SP_CRIT_DEF_RATE, // 2093-2097 SP_MAGIC_SUBDEF_ELE, SP_REDUCE_DAMAGE_RETURN, SP_ADD_ITEM_SPHEAL_RATE, SP_ADD_ITEMGROUP_SPHEAL_RATE, // 2098-2101 - SP_WEAPON_SUBSIZE, SP_ABSORB_DMG_MAXHP2 // 2102-2103 + SP_WEAPON_SUBSIZE, SP_ABSORB_DMG_MAXHP2, SP_MOVE_HASTE // 2102-2104 }; enum _look { diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 98f8b3e0b1..5d854ac040 100755 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3512,6 +3512,13 @@ void pc_bonus(struct map_session_data *sd,int type,int val) if(sd->state.lr_flag != 2) sd->bonus.speed_add_rate -= val; break; + case SP_MOVE_HASTE: //Non stackable increase + if (sd->state.lr_flag != 2) { + sd->bonus.speed_rate = min(sd->bonus.speed_rate, -val); + sd->special_state.movehaste = true; + clif_status_load(&sd->bl, EFST_MOVHASTE_INFINITY, 1); + } + break; case SP_ASPD: //Raw increase if(sd->state.lr_flag != 2) sd->bonus.aspd_add -= 10*val; @@ -4026,13 +4033,6 @@ void pc_bonus2(struct map_session_data *sd,int type,int type2,int val) nullpo_retv(sd); switch(type){ - case SP_SPEED_RATE: //Non stackable increase - if (sd->state.lr_flag != 2) { - sd->bonus.speed_rate = min(sd->bonus.speed_rate, -val); - sd->special_state.movehaste = true; - clif_status_load(&sd->bl, EFST_MOVHASTE_INFINITY, 1); - } - break; case SP_ADDELE: // bonus2 bAddEle,e,x; PC_BONUS_CHK_ELEMENT(type2,SP_ADDELE); if(!sd->state.lr_flag || sd->state.lr_flag == 3) @@ -9592,6 +9592,7 @@ int64 pc_readparam(struct map_session_data* sd,int64 type) case SP_SPRATE: val = sd->dsprate; break; case SP_SPEED_RATE: val = sd->bonus.speed_rate; break; case SP_SPEED_ADDRATE: val = sd->bonus.speed_add_rate; break; + case SP_MOVE_HASTE: val = sd->bonus.speed_rate; break; case SP_ASPD_RATE: #ifndef RENEWAL_ASPD val = sd->battle_status.aspd_rate; diff --git a/src/map/script_constants.hpp b/src/map/script_constants.hpp index 8d0ce8f5b8..304a41aa67 100644 --- a/src/map/script_constants.hpp +++ b/src/map/script_constants.hpp @@ -851,6 +851,7 @@ export_constant2("bAddItemSPHealRate", SP_ADD_ITEM_SPHEAL_RATE); export_constant2("bAddItemGroupSPHealRate", SP_ADD_ITEMGROUP_SPHEAL_RATE); export_constant2("bWeaponSubSize", SP_WEAPON_SUBSIZE); + export_constant2("bMoveHaste", SP_MOVE_HASTE); /* equip indices */ export_constant(EQI_COMPOUND_ON);