summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2012-07-22Added a new configuration option to allow either weapon switching to cancel ↵cookiecrumbs1-1/+8
SC_DANCING or not. Fixed an issue where movement is frozen (caster) with Longing for Freedom (walking outside of the cast). Added checks related to dancing/ensemble skills to prevent frozen characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21Renamed bUseSPrateSkill to bSkillUseSPrate.kenpachi2k111-1/+2
Added bSkillUseSP. Added documentation for bSkillUseSPrate(bUseSPrateSkill), bSkillUseSP, bSkillCooldown, bSkillFixedCast, bSkillVariableCast, bSkillFixedCast and bVariableCastrate. (bugreport:6193) Fixed Enriched White PotionZs (#12428) and Enrich Celermine Juices (#12437) bonus script. (bugreport:5790) Fixed Mental Sticks (#1654) bonus script. (bugreport:6071) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-20Added new status bonuses: SC_INCMHP and SC_INCMSP to increase maximum HP and ↵cookiecrumbs1-0/+6
SP by a FIXED amount. Fixed the following items in the /db/*re/item_db.txt and /sql-files/item_db.sql: Increase HP Potion (Small), Increase HP Potion (Medium), Increase HP Potion (Large). bugreport:5790 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Reverted r16439 that cause bugreport:6182 again and proper fix for ↵rud0lp201-5/+4
bugreport:6261. Fixed bugreport:6240 WM_VOICEOFSIREN should now effect all target except caster. Fixed bugreport:6264 where repeated entry in the 'produce_db.txt' are not process properly. Added a proper message for casting restricted skills in a certain map flag same with official servers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Fixed an issue where when a trap was set that required a Special Alloy Trap, ↵cookiecrumbs1-1/+1
the returning trap was a Trap instead of Special Alloy Trap. bugreport:6263 Removed accidental inclusion of my name in the previous revision. r16439 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Fixed Cloaking Exceed; now allows the player to hide from Insect and Demon ↵cookiecrumbs1-0/+2
monsters. bugreport:6261 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-16Fixed bugreport:6248 special ubber thanks to cookie.shennetsind1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-16Fixed bugreport:6233 traps should now hit/damage all targets inside gvg/pvp ↵rud0lp201-36/+31
grounds. Follow up r16424 update for Sura skills to its official behavior and damage formula(SR_EARTHSHAKER,SR_RAMPAGEBLASTER,SR_KNUCKLEARROW,SR_GENTLETOUCH_QUITE,SR_GENTLETOUCH_CHANGE,SR_GENTLETOUCH_REVITALIZE[bugreport:5634]). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-13Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage ↵rud0lp201-4/+2
formula and other Sura skills(SR_TIGERCANNON,SR_FALLENEMPIRE,SR_GATEOFHELL,SR_WINDMILL,SR_RIDEINLIGHTING,SR_LIGHTNINGWALK) and more to come...:D git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Fixed bugreport:6215 where using SR_CRESCENTELBOW can cause map server ↵rud0lp201-1/+1
crashing when hit by 1HKO. Fixed bugreport:6201 traps should now activate its splash damage properly. Follow up r16399 where Leech End ignoring Phen card's effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Fixed "comparison of unsigned expression < 0 is always false" warning.shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Fixed bugreport:6178 where SR_CRESCENTELBOW doesn't work with skills and ↵rud0lp201-19/+30
WM_POEMOFNETHERWORLD should now work with single target and show proper animation. Fixed bugreport:6182 Cloaking skills should now be reveal by AOE skills and additional to that is TF_HIDING should now be only reveal by ground skills(earth) and revealing skills. Fixed bugreport:6188 Leech End should now show flinching damage and updated its damage formula Fixed Guillotine Cross poisons where the effect should not stack to each other, updated Oblivion Curse status def formula and Pyrexia's blinding effect. Fixed Fighting spirit's ASPD bonus thanks to Igniz for pointing it out.. Fixed WM_REVERBERATION display animation when triggers and activated by WM_DOMINION_IMPULSE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-10Fixed bugreport:6175 | Assumptio now doubles def & mdef on RE mode.ignizh1-2/+18
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-08Hello World. Initial support for the new homunculus has been added, credits ↵shennetsind1-3/+34
to brAthena for the base. Not all skills are yet supported, when a non-supported skill is used rather than the usual warning in the console you'll get a red-coloured message in-game "this skill is not yet supported". please step by our bug tracker should you step by any bugs. thank you very much, you're a great crowd. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-05Implemented Renewal ASPD formula(bugreport:5644)rud0lp201-75/+200
- all suggestions/contributions/comments regarding RE ASPD ATM will be entertained in [tid:63256] Fixed bugreport:6176 where WM_LULLABY_DEEPSLEEP doesn't target all party and guild members. Temporarily disable the official walk path until the right algorithm is formulated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01Fixed bugreport:5788 WL_READING_SB should now work like official ↵rud0lp201-5/+20
behavior(save preserved spell on relog, proper skill fail message, maximum number of spell that a char can hold) Fixed bugreport:5657 WL_EARTHSTRAIN should now work like official behavior(total number of range [15x4+lv], layout when casted, interval) Updated WL_IMPRISON duration, rate and proper skill fail message. Special thanks to Yommy and his amazing tool... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-29Implemented new item script bonuses:rud0lp201-0/+9
- bSkillCooldown,n,x; - bSkillFixedCast,n,x; - *bSkillVariableCast,n,x; - bFixedCastrate,x; - *bVariableCastrate,x; *Pending until RE Casting system is fully implemented. ATM bCastrate is used to manipulate variable cast time where it should not. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-28Fixed bugreport:6127 remove the double duration bonus from GC_RESEARCHEWPOISONrud0lp201-0/+1
Fixed bugreport:6109 GN_CARTBOOST should now give atk bonus and fixed some genetic skills damage ratio and behavior Fixed bugreport:6121 Rolling cutter's counter should now only be removed by walking and Cross Ripper Slasher Fixed bugreport:6100 Cart should now can't be removed when character dies git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-25Fixed bugreport:5843 WL_HELLINFERNO should now deal 2 elemental(fire ad ↵rud0lp201-0/+2
shadow) hits and updated its damage formula. Fixed bugreport:6068 Cloaking/Hiding skills is now working to hide it self to non boss/detector monster. Fixed bugreport:6105 Stone Curse should now stop target to attack once activated. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24Fixed bugreport:4895 external bleeding will no longer cancel status changes ↵shennetsind1-1/+1
(i.e. won't remove hide cloaking etc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-23Fixed bugreport:6095 Spider Web has been removed from the SCS condition ↵shennetsind1-3/+1
system as its data cannot be cached (requires real-time check) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-23Hello and welcome to BUG TRACKER NIGHT!shennetsind1-1/+2
The first dish of the night, bugreport:6018 has been fixed. new carts are now removed properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18Fixed bugreport:6008 remove the weight factor with the damage done by ↵rud0lp201-3/+12
LK_SPIRALPIERCE of mobs and recoding of Renewal Spiral Pierce. Fixed bugreport:5752 SC_AUTOSHADOWSPELL should only consume required items and not sp. Fixed bugreport:5792 updated WM_GLOOMYDAY status effect(mount, ASPD, walk & flee penalty) and should now boost selected skills. Follow up r16309 and bugreport:5940 should now be fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-15Fixed bugreport:5788 no 2 Releasing Spells should now update/reset sp ↵rud0lp201-0/+3
reduction while WL_READING_SB is active. Fixed bugreport:6029 GN_MANDRAGORA is now updated its success chance percentage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Follow up r16297 fixed bug with the cart not going visually-off after it was ↵shennetsind1-2/+2
removed. Follow up r16296 fixed algorithm issue git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Added support for new carts (requires packetver 20120201 or newer). ↵shennetsind1-0/+1
Super-Ultra-Plus thanks to Fatal Error and Judas. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills ↵rud0lp201-13/+22
which is check in every 2 seconds. Fixed bugreport:6010 AB_EXPIATIO now give a piercing damage bonus. Fixed Diamond/Crystallize status to work only to non mob target and its official behavior(bugreport:5893) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-13Applied renewal skill changes: (bugreport:5302)xantara1-1/+3
- Energy Coat: Reduces both physical and magical attacks and now has fixed cast time of 5 seconds - Throw Huuma Shuriken (33%): Cannot be interrupted - Spread Attack: Can be used with a Grenade Launcher and attack power is increased; now 20*skill_lv - Turn Undead: Success rate formula changed, Magic damage formula changed on failure - Drums on the Battlefield: Increase ATK and DEF granted - The Ring of Nibelungen: Removed level 4 weapon requirement - Apple of Idun (100%): Increase amount of HP recovered; now (100 + 5*skill_lv + 5*VIT/10) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Added new bonus as per kenpachi's request: bonus2 bUseSPrateSkill,n,x; // ↵shennetsind1-0/+1
Reduced increases/reduced the SP consumption of skilln by x%. (supports skill names) e.g. bonus2 bUseSPrateSkill,"AL_BLESSING",50; -> increases AL_BLESSING sp usage by 50% (e.g. if its 50 it goes to 75) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Improved bonus-adding processes by no longer having to add it to the zero'd ↵shennetsind1-83/+25
memset bullshit, replaced it by moving the first set of bonus into its own struct and simply zeroing the struct prior to recalc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08Follow up on r16240 update RK_CRUSHTRIKE formula and weapon break percentage.rud0lp201-3/+4
Fixed bugreport:5953 GC_CROSSRIPPERSLASHER range is now (8 + 1 * skill level) cells. Fixed bugreport:5943 SC_GROOMY is now really remove selected mounts. Updated Guillotine cross skills formula base on re-balancing formulas... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-08` Added bugreport:5906 Trap Research's INT bonusxantara1-0/+2
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-07Fixed bug to lion howling/sc_fear status, super mega ultra ubber plus thanks ↵shennetsind1-2/+0
to the awesome malufett git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5919 RK_ENCHANTBLADE bonus damage at any level should now ↵rud0lp201-3/+3
work properly. Fixed bugreport:5914 SC_MANHOLE duration at level 2 is now 10 seconds. Fixed bugreport:5928 SR_CURSEDCIRCLE should now work properly(castable with other skills & should end after the execution of a skill) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16231 now I *think* I fixed the indentation problem with my IDEshennetsind1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Follow up r16228 fixed logical problem with previous implementation (the see ↵shennetsind1-2/+6
vals would break). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-04Fixed bugreport:5913 recently-added state system no longer breaks on ↵shennetsind1-9/+5
stacking status changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Follow up r16209 moving on; yet another performance improvement. added 3 ↵shennetsind1-24/+72
other states for the system to speed up. modified the scs_flag to be accurate (with one conditional flag they could stack and give undesired results e.g. with cloacking) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16210 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01performance improvement initial commit for status change state ↵shennetsind1-3/+76
functionality, this first commit covers status that makes you unable to move. -- this cache the status changes into states saving dozens of checks whenever a unit moves/per cell. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01Fixed Leech End poison reportedly not meant to respect phen card.shennetsind1-19/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31a couple checks here and there to remove possible warnings.shennetsind1-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bug with banding, super mega ultra thanks to MarkZD for going after it.shennetsind1-7/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5867 clones with cloaking skill are no longer "invincible"shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-27Fixed bugreport:5821 GN_SLINGITEM item requirements(item throwables) should ↵rud0lp201-5/+16
now works normally. Fixed bugreport:5223 GN_BLOOD_SUCKER should now work like official behavior. Fixed part of bugreport:5674 Spiral Pierce is now in RE. Fixed setmadogear now it accepts optional parameter(0=unmount 1=mount). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen ↵rud0lp201-4/+4
when sight is refreshed. Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants. Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed bugreport:1551 poison and edp poison now give proper exp to caster vs ↵shennetsind1-2/+11
mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-21Fixed bugreport:5777 WL_DRAINLIFE HP absorption based on damage is now ↵rud0lp201-1/+1
working properly. Thanks to Rytech Fixed WL_SOULEXPANSION now it should do double damage on White Imprisoned targets and WL_WHITEIMPRISON should not work with bosses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-20Fixed bugreport:5619 MO_EXTREMITYFIST should now consume all spirit sphere.rud0lp201-0/+12
Fixed bugreport:5632 SR_FALLENEMPIRE should now chain with SR_GATEOFHELL and SR_TIGERCANNON and add bonus damage. Update SR_GATEOFHELL damage formula where sp has now contribution with the damage. Fixed wrong displayed status mdef. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Fixed bugreport:5622 Fixed bug with renewal mode berserk not removing ↵shennetsind1-0/+5
twohandquicken icon git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17Fixed bugreport:5491 Adrenaline Rush boost was updated to renewal standards.shennetsind1-8/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16119 54d463be-8e91-2dee-dedb-b68131a5f0ec