summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
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
2010-09-20Fixed when devoter is killed by the redirected damage, devotee takes the ↵Inkfish1-17/+18
whole damage. (follow up to r14406) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-12All direct damages such as reflected damage or Tarot Card damage should not ↵Inkfish1-14/+25
be redirected. (follow up to r14400) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-09-06* Implemented Icescope's fix for devotion, reflect damage is no longer ↵L0ne_W0lf1-3/+15
absorbed by the devoter. (bugreport:3189) * As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss. * Touched up the endless tower script slightly. - Added ends to several NPCs which would allow you to restart timers. - Added some missing stopnpctimers to npcs. (bugreport:4418) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19- Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used ↵Skotlex1-1/+1
for proper deletion of items as well as movement/spawn packets for Renewal clients. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-18* Added bonus3 bAdd/SubEle, which allows you to specify a battle flag as ↵L0ne_W0lf1-13/+111
well! Dun dun dun! - The bonuses are addititive to existing bAdd/SubEles, as that's how it appears to work. - Updated Asprika to use new bonus3 bSubEle. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17* Attempting to tackle, and fix some simple errors in skills.L0ne_W0lf1-1/+1
- Stormgust hit counter no longer resets under new casts of stormgust. - RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547) - SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603) - WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980) - SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918) - CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-28* Rev. 14365 Updated npc_randomattack, it now does 100*skillevel percent damage.L0ne_W0lf1-2/+8
* Added patch from Paradox to allow a skill to use a random element for damage. See skill DB for info. * Updated entry for npc_randomattack in the skill database, now uses the newly added -3 element. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Follow up to r13895, added a battle.conf setting to control if ranges ↵L0ne_W0lf1-1/+2
should be checked with autocasts. 'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the only skill that behaves this way. * Modified the default value for homunculus_auto_vapor in source to 1. * pvp_points are no longer calculated in the gvg_dungeon flagged maps. * Corrected a view ID and an equip location in the item database. (bugreport:4330) * Corrected a typo in the DTS_Warper script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-02- Fixed item script of Chicken_Hat (5431). (bugreport:4174)brianluau1-1/+1
- Fixed a typo in script_commands.txt (bugreport:4270) - Fixed some links in the README html files. - Fixed the range of 'max_guild_alliance' in battle.c (0 to 3). - Set svn:eol-style=native for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-01* Implemented the Manuk and Splendide item status effects, thanks to Epoque.L0ne_W0lf1-0/+39
* Implemented Manuk and Splendide consumable items. * Added Splendide and Manuk merchants. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-19Fixed racial bonuses for RC_NONDEMIHUMAN applying to right cardfix value ↵Paradox924X1-1/+1
(cardfix) instead of left cardfix value (cardfix_) in the case of melee attacks where left_cardfix_to_right is set to 'no'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14248 54d463be-8e91-2dee-dedb-b68131a5f0ec