summaryrefslogtreecommitdiff
path: root/src/map/mob.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-13Minor adjustment that makes clones die in a smoother manner (rather than ↵shennetsind1-2/+4
standing still after death and disappearing in a small delay they now display a dead sprite and disappear a few seconds afterwards) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-03Fixed the last warning reported in clang, super mega ultra hyper plus thanks ↵shennetsind1-1/+1
to mkbu95 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-02Fixed bugreport:6324 where re-spawning mob still hits/chases its previous ↵rud0lp201-4/+3
attacker. Partial fixed bugreport:6396 where Chemical Protection skills doesn't check targets current equipments. Finally added almost all Kagerou/Oboro skills only one more left..phew...:D (KG_KAGEHUMI,KG_KYOMU,KG_KAGEMUSYA,OB_ZANGETSU,OB_OBOROGENSOU,OB_OBOROGENSOU_TRANSITION_ATK,OB_AKAITSUKI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-29Fixed bugreport:6324 mobs now clear attacked data on death. special thanks ↵shennetsind1-13/+10
to vali. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-21Fixed bugreport:5968 mvp tombs should now unload w/o spiking cpu / lag / ↵shennetsind1-2/+20
whatever. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-18Updated summoning items files to episode 13.2 (pre-re) and 13.3 (re).daegaladh1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Fixed bugreport:6223 so this happened to be indented eh, whops.shennetsind1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Follow up r16414 fixed memleak with md->lootitemshennetsind1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12Fixed all warnings left from when compiling with -pedantic, confirmed with ↵shennetsind1-2/+2
gcc, llvm and clang. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-12another set of minor adjustments throughout the code.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-11Added mob_classchange.txt since SA_CLASSCHANGE was using mob_boss.txt ↵daegaladh1-1/+2
monsters instead of the correct ones. (bugreport:3478 and related to bugreport:850) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16395 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-02Fixed bugreport:6151 monster skills will only trigger their text messages if ↵shennetsind1-12/+10
they're successful, special thanks/credits to Daegaladh git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-30Fixed bugreport:6136, mob chat should now be working.xantara1-1/+1
- Chat database should be read before the mob db git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-18Little optimization on MVP tombstone system, maybe fix insane CPU usage ↵greenboxal21-4/+9
spikes(bugreport:5968). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills ↵rud0lp201-3/+3
which is check in every 2 seconds. Fixed bugreport:6010 AB_EXPIATIO now give a piercing damage bonus. Fixed Diamond/Crystallize status to work only to non mob target and its official behavior(bugreport:5893) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12Improved bonus-adding processes by no longer having to add it to the zero'd ↵shennetsind1-3/+2
memset bullshit, replaced it by moving the first set of bonus into its own struct and simply zeroing the struct prior to recalc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
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