summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-11Picklog improvements:gepard19841-1/+1
- now it is finally possible to log every item players gain or lose - added 3 log types: `I` for auctioned items, `B` for buying shop transactions and `X` for all other items transactions that don't fall into another category (for detailed explanation on all log types read `conf/log_athena.conf`) - it also fixes items being logged as picked up/gained by player when in fact they were dropped on the ground due to full inventory git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Cloaking Exceed.protimus1-0/+3
- 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-0/+6
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-23/+145
- 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-04Fixed a typo from r15381, bugreport:5202shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Minor packetver babysitting, bugreport:4810shennetsind1-1/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Fixed trap bugs as per bugreport:2817 (you finally can attack traps directly :0)shennetsind1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Removed unused and unofficial bonus `bRandomAttackIncrease` (in SVN since ↵gepard19841-4/+1
r2, bugreport:2139). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-3/+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-29* Updated for Emperium not can be healed by any skills.protimus1-0/+4
* 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 bug that allowed a specific timing to not receive reflected damage if ↵shennetsind1-12/+22
the origin of the reflect has died, bugreport:4494 Special thanks to xazax! Also: Added a performance improvement: -- Before: all delayed damage would loop through all mobs/players/etc units in the server to confirm that the origin of the damage is equal to the source -- Now: it compares the id of the damage source to the source id. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Reverted partial r15186 it has been confirmed on a official server that sg ↵shennetsind1-7/+0
doesn't do double damage on hitCount%3 == 0 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Fixed a crash bug caused by clones that were committing suicide with ↵xazax-hun1-1/+6
PA_SACRAFICE. bugreport:4950 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25Follow up r15267, changed to standardshennetsind1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23Follow up r15224, being these map flags do not stack then we can check just ↵shennetsind1-1/+1
for pvp rather than 2 (gvg&bg). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23- Removed unused "save_log" setting (addepted from char server, used to ↵GodLesZ1-1/+0
debug save/load of objects) (bugreport:3218) - Fixed tabs in message output (bugreport:5156) - * change - Ai4rei was faster :P git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23follow up r15048, fix to bugreport:5151GodLesZ1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15224 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20Storm Gust bug fix for bugreport:1813, also fixed a casual overflow in ↵shennetsind1-0/+7
sg_counter git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20Fixed Devotion vs Reflection bug, bugreport:4508shennetsind1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20Fixed Pressure from not doing any damage to devoted targets, bugreport:4182shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20removed redundant checks -- pressure doesn't reach that part of the codeshennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-18RE Defense damage reduction fixed, bugreport:5111shennetsind1-5/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17Fixed bug with quest skills duration, shrink, sight blaster, etc), ↵shennetsind1-5/+0
bugreport:5122 dropped unofficial fire ivy support (also it was conflicting with the bug above) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14Renamed RRMODE to REMODEshennetsind1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14- Added new check conditions to prevent abuse from no-delay .act files ↵epoque111-2/+3
(bugreport:4249) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11Renewal Weapon MATK boost fix, bugreport:5115shennetsind1-1/+9
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-09Fix to bugreport:2993 pk_mode damage reductions no longer stack with gvg onesshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09New Battle Config: gm.conf/atcommand_max_stat_bypass for bugreport:3301shennetsind1-1/+2
-- Allows you to choose whether your gms can bypass your server's max stat limit or not. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06Fixed Monster SkilL Crash bugreport:5101shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-05Merging RREmu into rAthena -- quite a few stuff yet to be renamed, but we'll ↵shennetsind1-30/+590
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-08-21* Fixed monsters above Lv99 displaying a Lv99 aura (bugreport:3986).ai4rei1-0/+1
- The server no longer caps the level sent to the client by default. - Servers that require the aura to be displayed at a level different from lv99, either have to alter the client or adjust the 'client_limit_unit_lv' setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-30Replaced custom type 'intptr' with standard 'intptr_t'.ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-18Quick fix to Venom Splasher's Poison React bonus, 30% -> 20%, based on aegis ↵ultramage1-1/+1
(bugreport:230). Initially eA used 20%, then it got removed in r10907 due to incorrect info, and was added back in r11494 as 30% (no idea where I got that number from >.>). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Added settings 'cashshop_show_points' and 'mail_show_status', both ↵ai4rei1-0/+2
disabled by default, as the messages they control are custom (follow up to r11548 and r12264). - Moved custom cash point update messages to 'msg_athena.conf' (IDs 504~506). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-19Removed leftovers of old charcommand config (follow-up to r13403).Gepard1-2/+2
Added check to ensure character `rename` status will be saved if changed. Fixed Beast Strafing (HT_POWER) damage formula and SP requirement provided by Playtester (bugreport:4675, since r4392). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-08- Added official behavior of displaying party names.Kisuka1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-06* Implemented search store info system (aka. vending and buying store ↵ai4rei1-0/+3
search) together with related items. - Requires 2010-08-03aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Fixed 'feature.conf' not getting loaded and a typo buying store feature ↵ai4rei1-1/+1
setting name (follow up to r14713). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19* Implemented buying store system (aka. reverse vending, purchase shop) ↵ai4rei1-0/+1
together with related skill and items, without NPCs. - For SQL apply upgrade_svn14713_log.sql to upgrade tables `picklog` and `zenylog`; for TXT no action is necessary. - Requires 2010-04-20aRagexeRE or later and can be disabled in 'conf/battle/feature.conf'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-15* Added support for client GM command /check (related r12076).ai4rei1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-14* Replaced remaining occurences of '-1' with 'INVALID_TIMER', where ↵ai4rei1-19/+19
appropriate (follow up to r12998). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-18* Fixed character storage no longer being sorted (bugreport:1982, since r12950).ai4rei1-0/+1
- Guild storage is now sorted before being displayed rather than after being saved... - Merged storage_gsortitem into storage_sortitem. - Added option 'client_sort_storage' to control storage sorting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30* Added a define for star gladiator feel/hate info array length (follow up ↵ai4rei1-2/+2
to r8721 and r11840). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-28* Added an option to re-roll the /dice emotion server-side, to prevent ↵ai4rei1-0/+1
cheats during events (bugreport:4194). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Various small cleanups.ai4rei1-2/+2
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436). - Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541). - Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700). - Reformatted unit_blown to make it look cleaner (follow up to r14492). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13- Fixed a typo in abra_db.txt (bugreport:4548)brianluau1-12/+9
- Fixed a weight check in Level 4 Weapon Quest. (bugreport:4533) - Removed a duplicate if() in battle.c, follow up to r14381. (bugreport:4549) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Changed the check prior to adding to the attack rate so it ensures the value ↵Paradox924X1-1/+1
is non-zero instead of not 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Made bAtkRate add the rate rather than setting it. (bugreport:4499)Paradox924X1-1/+1
Warning: This will break backwards compatibility for item scripts which rely on the previous effect for this (although most people assumed it added, as described in the bonus doc). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Implemented official cash food behavior, including use delay, not being ↵Paradox924X1-0/+1
dispelled (including on death), distinct status effects and icons from the ordinary food types. Updated items accordingly. (bugreport:2560) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-09Replaced all nullpo_retr() calls which returned 0 with nullpo_ret() calls.Paradox924X1-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14414 54d463be-8e91-2dee-dedb-b68131a5f0ec