summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-17* Merged changes up to eAthena 15053. [ai4rei]eathenabot1-3/+3
- clif cleanup: Changed clif_changestatus so that it takes sd instead of bl, since it only accepts BL_PC bls anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15Fixed bug with katar weapon bonus, bugreport:5240shennetsind1-4/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14- Fixed walk-delay bug when a player is attacked in disguise causing ↵epoque111-0/+5
inaccurate client position git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Fix for exploit that allowed WPE to create a character with a custom hair ↵shennetsind1-3/+3
style/hair color not available to other players, to then crash them. from the comments within bugreport:150 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Cloaking Exceed.protimus1-2/+7
- Stop hiding status when use skills or attack enemies. - Added security fixes to clear hiding status in some cases, like warped and reloging. - Updated walk speed formula. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Exceed Break to work properly.protimus1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-07Initial support for Royal Guard and some adjustments here and there.shennetsind1-12/+110
- credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-05Fixed issue with costume item bonuses not checking for headgear position ↵shennetsind1-0/+4
(would stack), bugreport:5204 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Re-designed /db/ folder structure as previously discussed.shennetsind1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Removed unused and unofficial bonus `bRandomAttackIncrease` (in SVN since ↵gepard19841-2/+0
r2, bugreport:2139). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Fixed Songs, no longer dispells on death. bugreport:3444shennetsind1-0/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-31Fixed Eddga Card, it should give 1 MDEF (instead of 0) according to recent ↵shennetsind1-2/+2
tests on official servers, bugreport:1538 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-31Fixed Wink of Charm, affected mobs will now follow caster during effect, ↵shennetsind1-2/+3
bugreport:3127 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-30Fixed ancient MvP dmotion/walkdelay/hitlock exploit, bugreport:1851shennetsind1-2/+4
-- The fix on this commit works thanks to a previous commit i did weeks ago to fix other mob walk delay bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-1/+3
Fixed SC_BURNING from making character unable to move/cast skills/use items/etc, bugreport:5174 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Made the emperium changes from r15321 restricted to renewal modeshennetsind1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29* Updated for Emperium not can be healed by any skills.protimus1-2/+2
* Updated investments formulas of HP and SP according to renewal. - Not yet official, need more informations. - This is a temporary fix necessary for the emperium can be broken. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed holy and shadow elemental scrolls from dispelling on death, bugreport:3534shennetsind1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29(AoE) skills continue to trigger even if character is dead, official ↵shennetsind1-1/+1
behavior; bugreport:5170 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15303 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Fixed 'bonus bMatk,<value>;' bonus, follow up r15270shennetsind1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15269, fixed a few typos and a test entry that wasn't meant to be ↵shennetsind1-0/+8
submitted. - Added new item bonus 'bonus bMatk,<value>'; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Added new bonus for RE cards 'bonus bWeaponMatk,<value>;'shennetsind1-0/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15267, changed to standardshennetsind1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23Fixed all sniper traps (except ankle snare) from working on their owner; ↵shennetsind1-2/+3
bugreport:1154 Also fixed a gcc warning in status.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22Added a memory optimization. bugreport:4972xazax-hun1-34/+20
Added more optimizations to some statuses. Releated: bugreport:4007 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20* Removed function that cause duplicate allocation status of hit and flee.protimus1-16/+1
- This is a temporary fix, is need get informations about the use of alone bonifications. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20* Updated the renewal formulas of status allocations.protimus1-15/+7
- Use various functions makes the code confusing, removed. - Added some changes as kRO/iRO. - Added data types for don't break the codes in certain circumstances. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-18changed re_job_db.txt to job_db_re.txt, following the naming standard of ↵shennetsind1-1/+1
other re files git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17Eska MDEF effect fixed; changed from hardMDEF to softMDEF, bugreport:4673shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17MvP monsters no longer can target play dead characters, bugreport:4693shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15140 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Fixed @duel problem with Kaizel, bugreport:4795shennetsind1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Renamed RRMODE to REMODEshennetsind1-35/+35
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14- Fixed Sky Deleter Card (and similar items) not healing when killing a ↵epoque111-2/+6
monster when in Berserk status git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Kaizel fix for bugreport:5088shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11Renewal Weapon MATK boost fix, bugreport:5115shennetsind1-2/+5
Fixed Renewal DEF (r15051) char/short issue git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-10Homun MATK adjustment (follow up r15050)shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09Renewal Mode DEF calc fixed (can go over 127 now), bugreport:5110shennetsind1-11/+58
Fixed Logic Issues with r15039 script command set git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09Homunculus MATK fix for bugreport:5109shennetsind1-1/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed @mute death immunity, bugreport:4960shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll ↵shennetsind1-52/+1712
get it sorted. Some of the stuff included in RREmu that is now part of rAthena: - RE Drop Rate Modifier - RE Experience Rate Modifier - RE Weapon MATK - RE Shield ASPD job-specific penalty - RE Cast Time - Renewal-specific item DEF - 3.1 classes. - All-New Mounts - Official Magical Reflection - And other perks, such as fully-functional @mapflag also merged eAthena 15006 into rAthena. For Bugs, Comments and Suggestions: http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-16* Fixed natural expiration of GM mute printing the unmute message twice ↵ai4rei1-1/+1
(since r12169). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16* Changed function-like macros into inline functions where it seemed ↵ai4rei1-2/+20
appropriate (topic:264007). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20* Applied map flag update patch provided by Daegaladh. Will mess with custom ↵L0ne_W0lf1-3/+7
restricted items. - Adds a reset mapflag which is checked when using the Neuralizer. - Syncronizes the item_noequip_db bitmasks with with skill_nocast_db. - Updates mapflags, and both skills and items which are restricted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-08* Fix C++ compilation issues.flaviojs1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-23- Rewrote/updated the SC_COMBO logic. Got rid of state.combo and added usage ↵Skotlex1-41/+45
of packet 0x7e1 (PACKET_ZC_SKILLINFO_UPDATE2) to report skill inf changes. - Cleaned up a bit the function clif_setlevel (these functions should be as lightweight as possible...) - Fixed the server sending twice the skill tree during login. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- added sending a dummy 0x08b9 packet in the char-server, required to ↵Skotlex1-0/+2
support clients from this year. - added a fix to status_heal to take into account that -int_max == int_max in some architectures, which leads to an infinite loop (bugreport:3410) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- Commiting a bunch of cleanups piled up from the past few weeks/months/years.Skotlex1-51/+32
- Updated unitwarp so that an id of "0" causes the script's rid to be warped. - Updated the Brasilis ontouchNPC warp command to use unitwarp instead. - Signum Crucis's duration is now specified in the skill_cast_db file - Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value) - The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective. - Cleaned up the code for script command warpparty - Fixed the define itemdb_canrefine() - Cleaned up some the status_damage() function - Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance. - Some aesthetic code cleanups. - Fixed some possible crashes for skills where the code assumes the caster is a player. - Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-30Replaced custom type 'intptr' with standard 'intptr_t'.ultramage1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-29* Fixed NULL pointer in status_change_timer (SC_BERSERK), when the HP ↵ai4rei1-1/+1
subtraction causes the HP drop below 100, but does not exceed remaining HP (bugreport:1150, related r8705, r11786 and r12061). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-23* Changed enumerating defines into enumerations (related topic:264007).ai4rei1-4/+7
- Minor fixups on few macros. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14831 54d463be-8e91-2dee-dedb-b68131a5f0ec