- Fixed mob-kill experience getting screwed up when characters who did damage die/logout at the moment the mob dies.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8619 54d463be-8e91-2dee-dedb-b68131a5f0ec
- SC_REFLECTSHIELD will now be passed to devoted characters at cast-time.
- Added a check to make a mob's level 1 if the read level from the db is less than it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8615 54d463be-8e91-2dee-dedb-b68131a5f0ec
- status_calc_misc will now be invoked in status_calc_bl even on the first call, since status could have gone up due to skill bonuses.
- Moved max HP/SP calculations to before invoking status_calc_misc
- Simplified distance and check_distance to use "aegis" methods (greater of dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when set, the previous method is used, and map for each in range calls will also check for distances, making most ground skills and battle system use real circles instead of squares.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8609 54d463be-8e91-2dee-dedb-b68131a5f0ec
- LK_BERSERK will now only block natural regen on state-end.
- SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural sp regen and not skill regen
- SC_REGENERATION blocking will be cancelled on logout now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8600 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed the mob-id check during pet_db loading, it will also now print when a pet is not loaded due to having an invalid mob class specified.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8587 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added config setting "partial_name_scan", which specifies whether @ given names should use a partial string lookup or absolute name lookup. Defaults to no (gm.conf)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8578 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Expanded status_calc_misc so it may also calculate the batk of characters as well as their regen data (if they have it)
- Fixed a memory leak when using charsave_method:1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8576 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Some minor code cleanups
- Cleaned Adaptation's code to not require to check the Skill Unit group structure to extract the skill lv info.
- Status changes with no skill and no SCB* data will now go through if they have an SI* icon. This should fix SC_MIRACLE
- Reverted switching a mob's adelay/amotion when the later is longer than the former, now both get updated to amotion.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8574 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Simplified skillnotok_hom by using an invocation to skillnotok
- Hopefully fixed BD_ADAPTATION
- Homun won't lose any intimacy on death now.
- Homun will be saved together with the master now (as long as the homun is active)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8564 54d463be-8e91-2dee-dedb-b68131a5f0ec
- pc_adopt will now preserve the kid's job/job-level/experience. This means that if you adopt a Swordman level 45, it will become a baby-swordman level 45, with the exact same exp as before.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8563 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Cleaned up a bit the summon script command.
- Fixed the clone script command's delete-timer being screwed up.
- Corrected battle config name max_walk_rate, it should be named max_walk_speed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8559 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added instant skill unblock in skill_[merc/pc]block_start when the duration passed is less than 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8547 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added support for reading the item_db_db inter config settings (char-sql)
- Fixed some compile warnings (functions with no arguments should have a (void) instead of ()).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8546 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Corrected @hidenpc saying that it's command name was "@npcoff"
- Updated itemdb reading on the char-sql server so that it reads both item_db and item_db2 files (totally untested yet as I can't compile SQL here x.x)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8545 54d463be-8e91-2dee-dedb-b68131a5f0ec