summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-17Initial support for Shadow Chaser and a few adjustments here and there.shennetsind1-117/+299
- 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@15589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14Fixed skill timers being added even if source has been already removed from ↵gepard19841-0/+2
map and is about to be freed (bug:5277). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-13 - Added `libconfig` (configuration file library: ↵gepard19841-7/+6
http://www.hyperrealm.com/libconfig/): - Updated VS9/10 project files. - Updated `configure` & `Makefile`s. - New GM, Commands & Permissions system: - '''This is a backwards compatibility breaking update''', please read tid:58877 - Replaced GM levels with Player Groups. - Commands permissions & other privileges now depend on group, not GM level. - `@help` command improvements: requires "commandname" param and shows more detailed info about commands. - Modified GM whisper system to deliver messages basing on permissions, not GM level. - Remote trade request is now possible only if player is allowed to use `@trade` command as well. - Added a proper permission to use `/changemaptype` command. - `clif_displaymessage` is now capable of displaying multiline messages. - All `ACMD_FUNC`s are static now, and the only way to invoke them is with `is_atcommand()`; all client commands (starting with `/`) are now translated into corresponding atcommands (with exception of `/kick` used on monster, as there is no atcommand to kill single monster). - Removed nonsense "bot check" triggering when player blocked (`/ex`) Server. - Merged `@monster`, `@monsterbig` and `@monstersmall`. - Improved flow of atcommand execution to avoid revealing info about online players or existing commands to non-privileged players. - Merged `atcommand` and `charcommand` script functions (`charcommand` is aliased to `atcommand`). - Fixed `atcommand` script function reading unknown memory area (possible access violation). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-11Fixed bug with abracadabra self skills not working, bugreport:5310shennetsind1-1/+2
Also fixed magnificat's non-mado condition git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-11Fixed compiler warning when compiled with #REMODE disabledshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Fixed bug that didn't allow LV 90+ TK Rankers from being able to use kicks ↵shennetsind1-4/+2
not corresponding to current kick stance, bugreport:5092 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Added some renewal behaviors of skills from bugreport:5302 (all under ↵shennetsind1-1/+8
renewal mode) - Venom Splasher no longer requires target to be at 3/4 or lower health to work. - Deluge, Volcano and Violent Gale no longer require user to be of it's specific armor property to receive it's bonus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Added renewal behavior to safety wall (exclusive to remode)shennetsind1-3/+9
- Safety Wall now possesses a lifetime equal to 3 times the health of the caster, when the wall absorbs this much damage, the wall is removed and any remaining damage is dealt to the player. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Added some renewal behaviors of skills from bugreport:5302 (all under ↵shennetsind1-1/+12
renewal mode) - Steel body no longer sets def and mdef at 90, instead it reduces incoming damage by 1/10. - Storm Gust no longer possesses a hit counter; instead every hit have a chance to freeze of 20+(5 x skill_level). - Thunder Storm skill ratio was increased from 80% to 100% - Misc: added isOFF macro to replace REMODE == 0 compiler-level-checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-08Fixed waterball not canceling magic power if target is killed while not all ↵shennetsind1-7/+11
spheres were fired, credit to wildcard for the fix. bugreport:5303 - also removed a unused instance of status_change in skill_counter_additional_effect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04` Fixed Warg Dash skill to continuously run until codiling with an object ↵xantara1-6/+20
(bugreport:5143) ` Fixed Warg Mastery, Warg Rider, and Warg Dash skills to check conditions before cast begins (bugreport:5181) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04` Fixed Guillotine Cross Poisons (bugreport:5275)xantara1-1/+17
-- Paralyze decreases attack speed, flee, and movement speed -- Death Hurt decreases the effectiveness of recovery -- Venom Bleed reduces max HP -- Oblivion Curse blocks natural SP recovery and skill use is denied ` Updated const.txt with the latest (renewal) statuses (SC_) values git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed more trailing tabs.brianluau1-13/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30Fixed map-server crashing when monster was killed by a reflected Waterball ↵gepard19841-9/+8
or Earthquake and `delay_battle_damage` was set to `no` (bugreport:5245). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed trailing tabs, and fixed some spacing.brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-28Fix to Storm Gust work around Land Protector.protimus1-1/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-23Fixed memory leaks related to skill cooldown saving (bugreport:5261).gepard19841-2/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-23` Fixed Emperium's skill damage/heal and elemental resist (eg. Aspersio) - ↵xantara1-0/+9
bugreport:5256 ` Rebranded the Core.h file to rAthena git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22- Updated skill cooldown system to prevent multiple recordings of skill delaysepoque111-16/+46
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22Minor cleanups, mostly reducing scopes.xazax-hun1-8/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Fixed Royal Guard's Inspiration skill - Now decreases exp by 1% - bugreport:5211xantara1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Reorganized picklog functions a bit to reuse some common code.gepard19841-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17Enabled Mersenne Twister MT19937 as random number generator instead of ↵gepard19841-95/+96
standard `rand()` function (follow-up to r14865, r14870). - It fixes issues caused by RAND_MAX being only 32k in Windows system (bugreport:1927, bugreport:86). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15058.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17- Follow up to r15472.eathenabot1-53/+53
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17* Merged changes up to eAthena 15054. [ai4rei]eathenabot1-134/+139
* clif cleanup: Changed argument types of some clif functions. - Added enumeration for skill failure codes and made clif_skill_fail use it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-15Fixed Flying Side Kick, you can now use it in non-foe and jump to their ↵shennetsind1-8/+9
location (confirmed on official), bugreport:2443 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14minor cleanup: removed duplicate magnum break code, bugreport:3057shennetsind1-12/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Follow up r15453 -- first sign of lack of sleep! missed 2 changes from the ↵shennetsind1-2/+0
merged file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Added updated magic rod behavior -- displays animation on use. bugreport:5236shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Small Life Potion, Medium Life Potion and Regeneration Potion are no longer ↵shennetsind1-1/+2
dispel-able, bugreport:4076 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Fixed a bug with autocast max_count checking, super special thanks to calciumkidshennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11Picklog improvements:gepard19841-19/+21
- 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 Exceed Break to work properly.protimus1-1/+1
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-49/+435
- 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-04Re-designed /db/ folder structure as previously discussed.shennetsind1-10/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04*Fixed compile warning.Chilly01231-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04*Added 2 new accessory skills.Chilly01231-0/+32
*Reverted some mob changes from 15387. *Updated @go list and locations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Fixed trap bugs as per bugreport:2817 (you finally can attack traps directly :0)shennetsind1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Fixed Self Destruction from hitting hidden characters, bugreport:310shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03Fixed bug with lullaby not ending after moving out of ensamble area (with ↵shennetsind1-1/+1
longing for freedom), bugreport:411 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03removed ALL_RIDING, as per information provided by Muad_Dib the skill is ↵shennetsind1-9/+0
meaningless, bugreport:5191; As per data from bugreport:5190 reins of mount is no longer deleted after use, re-use leads to releasing the mount git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01ALL_RIDING (Reins of Mount) item no longer screams the skill name upon being ↵shennetsind1-1/+0
used, bugreport:5190 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-31Fixed Wink of Charm, affected mobs will now follow caster during effect, ↵shennetsind1-1/+1
bugreport:3127 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed SC_BURNING icon not going off after it was over;shennetsind1-2/+2
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-29Follow up r15316, fixed a gcc warning (tsc was uninitialized)shennetsind1-5/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed Dragon Breath don't causes damage on hidden enemies.protimus1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed TK Mission from getting random mobs not available from dead branch ↵shennetsind1-1/+1
list (thanks to Muad_Dib), bugreport:5175 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed exploit with infinite item use, bugreport:2973shennetsind1-1/+6
-- Special Thanks to Yommy git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Fixed Autospell bugs with stacking, foot check, and max_count check. ↵shennetsind1-6/+90
bugreport:4774 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15305 54d463be-8e91-2dee-dedb-b68131a5f0ec