summaryrefslogtreecommitdiff
path: root/src/map/mob.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-01Fixed bugreport:4109 battle ground guardians will now follow nearby allies ↵shennetsind1-0/+28
when no foes are in range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5867 clones with cloaking skill are no longer "invincible"shennetsind1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31Fixed bugreport:5791 mob rebirth skill shall now function properly on newer ↵shennetsind1-9/+12
clients git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-24Fixed bugreport:5809 Ice Wall should now block mobs properly.shennetsind1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16146 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02Fixed bugreport:5649 shura cursed circle now stops mobs from being able to ↵shennetsind1-2/+2
target you while under effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29- Updated the unit engine to cache attacker count rather than utilise CPU ↵epoque111-4/+4
intensive block iterations - This update removes two unofficial settings, nothing that will go amiss git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29reasonably-sized performance improvement: @reloadscript is about to 3 times ↵shennetsind1-1/+1
faster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Code consistency updates. No functional changes. Credits to Lighta.xazax-hun1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed warning on mob.c.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24Fixed memory leak on MvP tomb system, killer name now uses static buffer. ↵greenboxal21-7/+2
(bugreport:5615) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Updated Mob AI's target check with new status effects: SC_BITE, ↵shennetsind1-6/+10
SC_VACUUM_EXTREME, SC_CRYSTALIZE, SC_THORNSTRAP and SC__MANHOLE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Added mvp tomb system.greenboxal21-0/+62
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind1-0/+10
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-2/+5
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-04-11Minor performance improvement. server no longer wastes processing time ↵shennetsind1-1/+2
creating the awfully long spawn packet when there is nobody in the map it is being spawned in (for mobs & npcs). this also makes server boot faster. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11Moved Renewal Experience Modifier out of REMODE and created its own ↵shennetsind1-1/+1
RENEWAL_EXP setting. will update on the wiki asap. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-09- Spring cleaning of various source filesepoque111-3/+3
- Removed unused src/map/config/Skills/Mage_Classes.h file git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23* Reading the itemDB checks for extra columns.xazax-hun1-1/+1
* Fixed a typo in mobDB reading followup r15531. (bugreport:5482) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23Follow up r15777, reworked skill_icewall_block so that it stops any attacks ↵shennetsind1-3/+7
against anyone who got blocked off the wall, not only caster. Modified iw block algorithim on mob_ai_sub_hard_activesearch git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23Fixed bugreport:3574 Ice Walls finally are able to stop mobs chasing caster, ↵shennetsind1-1/+3
and they now act as walls meaning mobs will not turn around to attack you unless they were already chasing you git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18- Updated mob_race2_db.txt to apply under RE and non-RE modesepoque111-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18* uncluttered DB paths between REMODE on/off a littlelordttseven1-18/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-05- Guild Castle code cleanup:gepard19841-20/+8
- all changes to guild castle data are now handled first by map-server and only sent to char-server for saving - ensured that changes made to guild castle during char-server disconnection time will be resent on reconnect - actually removed definition of `MAX_GUILDCASTLE` (r15657) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-01Follow up r15638: the 'sd' party is unnecessary -- when there is no player ↵shennetsind1-2/+2
(e.g. killed by command/npc) the modifier is always 100%. also, the primary 'sd' in mob_dead is 'mvp_sd' and not 'sd'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-29Removed drop and exp penalties of bosses monsters in renewal. (bugreport:5377)protimus1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09Fixed clones so that they only cast skills according to the data passed from ↵shennetsind1-2/+20
it's player source (e.g. your clone can't cast double straffing if it isn't wearing a bow). bugreport:5299 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-01Mob_db `adelay` and `amotion` values sanitizing (related bugreport:3968).gepard19841-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31 * Fixes and improvements related to MVP rewards (bugreport:1259):gepard19841-14/+9
- removed obsolete (since r1!) ExpPer column from mob_db - official way to drop MVP rewards (always starts from first slot) - added MAX_MVP_DROP as define for max possible MVP reward slots * Updated mob_db SQL scripts. * Removed some renewal only monsters from pre-RE mob_db (were commented out anyway). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30- Removed more trailing tabs.brianluau1-8/+8
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-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-26Fixed segmentation fault at server shutdown caused by r15521.gepard19841-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-26 * Modified drop system to allow overriding global item drop rates on ↵gepard19841-1/+78
per-item basis. For detailed explanation read source:trunk/db/mob_item_ratio.txt (topic:56118). * Added missing update to `logs.sql` (follow-up to r15519). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-25Added two picklog types to distinguish regular monster drops (M) from stolen ↵gepard19841-1/+1
items (D) and MVP prizes (U)(bugreport:4590). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-22Minor cleanups, mostly reducing scopes.xazax-hun1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-20Merged TXT removal branch back to trunk.gepard19841-6/+0
* TXT save engine is removed and no longer supported. * See also tid:53926, tid:57717. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Extended @alootid command to support multiple items (default: 10).gepard19841-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-18Reorganized picklog functions a bit to reuse some common code.gepard19841-6/+3
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-30/+31
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-12Fixed random monster load order -- affected bloody branch and poring box. ↵shennetsind1-2/+2
special thanks to calciumkid git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11Picklog improvements:gepard19841-3/+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-09Fixed battle configs `boss_delay_spawn`, `plant_delay_spawn` and ↵gepard19841-1/+19
`mob_delay_spawn` not being properly applied if changed during runtime (with `@reloadbattleconf` or `setbattleflag`) (bugreport:5204) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Re-designed /db/ folder structure as previously discussed.shennetsind1-11/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Fixed @mi leaking cloned player stats, bugreport:2280shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Removed Renewal Drop Modifier out of #REMODE and created a #RE_DROP_MOD ↵shennetsind1-2/+2
specially for it. will update wiki asap git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04Mobs may now drop pet eggs, bugreport:2968shennetsind1-6/+9
Also did a small performance improvement at lupus' rare drop announce thing which happened to be just near where i was editing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-30Added support for mob_skill_db_re.txt due to bugreport:5183shennetsind1-0/+7
I'll take some time to write documentation on how all these crap works in the wiki now =p git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15333 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-29Follow up to r15306, looks like someone didn't wake up properly.shennetsind1-0/+4
-- Made it #REMODE specific git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-29Added support for mob_db_re.txt as per Kenpachi's requestshennetsind1-1/+1
- mob_db_re.txt override entries from mob_db.txt and is overridden by entries in mob_db2.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15306 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24* Merged changes up to eAthena 15040.eathenabot1-16/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15245 54d463be-8e91-2dee-dedb-b68131a5f0ec