summaryrefslogtreecommitdiff
path: root/src/map/unit.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-25Fixed bugreport:5624 Thorn Trap 'immobilization' effect should now be ↵shennetsind1-0/+1
working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24Fixed memory leak on MvP tomb system, killer name now uses static buffer. ↵greenboxal21-0/+2
(bugreport:5615) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Fixed Vacuum Extreme not assigning units (bugreport:5604) and additionally ↵epoque111-0/+1
not preventing movement - Added missing units from pre-renewal skill_unit_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed Spell Fist being unable to cast while casting a bolt skill ↵epoque111-1/+2
(bugreport:5597) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5586 SC_CAMOUFLAGE can be removed by using RA_CAMOUFLAGE ↵greenboxal21-2/+2
again, also portals won't warp players under this status. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5593 elemental bl was not removed when pc is removed/freed.greenboxal21-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind1-130/+157
to 3CeAM for the base. Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql) If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much. ARRIBA ARRIBA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11yet another minor performance improvement. walking mobs no longer waste ↵shennetsind1-1/+1
bandwidth by sending clif_move to nearby players if they haven't been damaged recently. (bandwidth&process time saver <3) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22Fixed the damn broken combo code. Fixed Fallen Empire and Dragon Combo (part ↵shennetsind1-1/+1
of bugreport:5358) and applied some more of my curly brace love. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-21Fixed bugreport:5462, Cursed Circle target is no longer able to move.shennetsind1-21/+38
Also Fixed Cursed Circle effect not going off if status is ended normally. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Fixed White Imprison not going off, bugreport:5249shennetsind1-0/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18Added Official Guild Aura Implementation bugreport:667shennetsind1-23/+0
Before: - Guild Aura would only trigger when guild master moved Now: - Guild Aura is triggered when master moves and/or when guild mate gets inside the area - Guild Aura range is no longer hardcoded, you may modify it from skill_unit_db Also: - Added new skill_unit_db target type 'guild' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-07Fixed a few Ranger-related skills (bugreport:5272)xantara1-2/+2
- Added check to not allow attacks when mounted on a Warg - Added check to only allow a certain amount of skills when mounted on a Warg - Updated Warg Bite's chance rate of immobilization and duration - Updated Arrowstorm and Aimed Bolt's skill ratio damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18Initial Support for Shura and a few adjustments here and there.shennetsind1-2/+2
- 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@15606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17- removed a #undef left over from converting the macro to an inline function ↵lordttseven1-1/+0
(r14976) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17Initial support for Shadow Chaser and a few adjustments here and there.shennetsind1-0/+9
- 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-08Added missing parenthesis to guild aura, bugreport:5291shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-04` Fixed Warg Dash skill to continuously run until codiling with an object ↵xantara1-3/+13
(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-01-30- Removed more trailing tabs.brianluau1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed trailing tabs, and fixed some spacing.brianluau1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22Minor cleanups, mostly reducing scopes.xazax-hun1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17Enabled Mersenne Twister MT19937 as random number generator instead of ↵gepard19841-1/+2
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- Follow up to r15472.eathenabot1-1/+1
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-5/+5
* 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-17* Merged changes ONLY eAthena 15002.eathenabot1-0/+1
[ai4rei] * Preparation clean up in clif.h - Synced function declarations and argument names with clif.c including whitespace. - Removed orphaned function declarations. - Removed include to storage.h and put it into .c files that need it instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-16Fixed returning pet to egg not cleaning up remaining skill timers, causing ↵gepard19841-1/+1
map-server crash. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14Fixed bug with attack timer being chained unnecessarily when attacker is not ↵shennetsind1-1/+7
able to issue atk -- this also caused client messages to be spammed e.g. "please equip arrow first". bugreport:5189 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-08Fixed Cloaking Exceed.protimus1-0/+13
- 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-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-05Fixed issue with continuous attacks ignoring battle conditions, bugreport:987shennetsind1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-30Fixed a bug with the client-called walk+skill chain,shennetsind1-1/+1
When you trying to cast a skill on a target while you are out of the skill range you use, BEFORE: you'd walk to the target until you reach the skill range NOW: you move to the target until you reach the skill range and automatically use it (official behavior) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-30Fixed ancient MvP dmotion/walkdelay/hitlock exploit, bugreport:1851shennetsind1-0/+6
-- 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/+1
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-25- Full revert of r15116. brianluau1-5/+1
Using the fix for bugreport:4985 in r15264 instead (ea:15049). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25* Merged changes up to eAthena 15049.eathenabot1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23* Merged changes up to eAthena 15038.eathenabot1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Follow up to r15193, bugreport:5135shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed GCC "--enable-debug", and 2 compiler warnings that were omitted due to ↵shennetsind1-1/+1
enable-debug being broken. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21Fixed soul drain visual effect not being displayed to mobs, bugreport:2980shennetsind1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20Fixed pneuma being displayed on land protector, bugreport:1715shennetsind1-0/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20* Fixed invalid state running of TK_JUMPKICK (Flying Kick).protimus1-1/+1
- This was causing wrong damages when use the ability with 1 cell difference of your target. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20slaves are now able to teleport to their master even on monster_noteleport ↵shennetsind1-1/+1
flags, bugreport:4030 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17Fixed Monster Animation Bug:shennetsind1-2/+4
-- Example Before: You JT a evil druid, shortly after it finishes taking damage it'd appear near you without showing it moving again. Now: walk animation no longer glitches, it moves \o/! bugreport:1255 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-15fixed asura targetting, bugreport:5052shennetsind1-3/+3
fixed a typo in a bug report number, for bugreport:4629 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-15Asura-Combo Fixed, bugreport:5052shennetsind1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14unit_blown now returns number of moved cells, bugreport:4985shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14- Fixed mercenaries not warping to their master if the master is more than ↵epoque111-0/+11
15 cells away git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13Follow up r15084, tested and adjustedshennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13- Optimised the guild aura routine which was wasting cycles by processing ↵epoque111-2/+9
every unit on a map (rather than guild members) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13- Fixed hidden GMs being processed in the PVP ranking timerepoque111-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15083 54d463be-8e91-2dee-dedb-b68131a5f0ec