- Some cleaning in skill.c in regard to homun skills.
- Madness Canceller now stacks with other aspd bonuses, just like Berserk does.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8403 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode, if 2 is used, it makes killing players give you a loss of 5 manner points.
- Fixed WS_WEAPONREFINE always failing when at less than job 50.
- Fixed a compilation warning in char-txt/int_homun.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8402 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Disabled command @rain since the client no longer supports it anyway.
- Fixed delitem not checking for the first slot's card, also optimized it so that it doesn't checks on the other slots.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8399 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Corrected Madness Canceller not letting you walk while the effect lasts.
- Splitted yet again ASC_BREAKER into a two-part attack. This time the int-based damage is a MISC type attack, and gets reduced by skills as such.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8392 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Moved the weapon_atk_rate bonus to battle_calc_base_damage so that it'll apply correctly when dual-wielding different types of weapons.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8370 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Implemented SC_BLOODLUST and SC_CHANGE, cleaned up HLIF_CHANGE
- Applied a correction to HVAN_EXPLOSION
- Fixed Homun ASPD calculation being able to underflow and give you min speed.
- Added monster_ai&128 to make aggressive mobs ignore that behaviour of always picking Homun targets above player targets regardless of who is closer.
- Fixed homun info packet being unable to display HP/SP correctly once the values are above 32k.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8349 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Removed the delayed start effect of Gospel from the code since it should take effect as soon as it's placed down.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8343 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Cleaned merc_hom_evolution to avoid free'ing/realloc'ing
- Fixed "args of aFree is freed pointer" on Homunc deletion
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8341 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Should have fixed the signed/unsigned comparison warnings in the main regen function.
- Fixed Energy Coat consuming 10x less SP per hit than it should.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8339 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Corrected thhe double free issue that occurs when a homun dies and has no intimacy left.
- Fixed the charsave_method:1 saving/loading exp as signed ints rather than unsigned.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8335 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added SCB_REGEN constant to identify status changes which alter regeneration
- Modified SC_REGENERATION so that if val4 is set, the status actually blocks regen rather than increase it, this is what now Frenzy uses instead of "canregen_tick"
- Cleaned up the status calc code for homun by moving it from status_calc_bl_sub_homun to status_calc_homun (where it should had always been)
- Moved the Fleet watk code to status_calc_watk where it belongs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8334 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added structure regen_data to handle unified regen logic for bl objects. Eh... this is wip, so it isn't used yet, just the preliminar structure is there... (somehow I lost all other progress I had done on it x.x)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8323 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added script command jobname, retrieves a given's class name as per the appropiate msg_athena.txt entry (this command should had been added years ago)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8320 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed a warning on the mob_ai
- Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster and target.
- AM_REST shouldn't be checking for a range now (since it's a self skill)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed the default txt config making pets be saved to the homun file instead of to the pet file.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8316 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed some homun timer initialization code.
- Some cleanups on the pet.c code, but no idea if pet view will work correctly now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8315 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added Gatling Fever's batk bonus.
- Some cleaning in status_damage which should prevent trying to free already free'd pointers when unit_remove_map invokes unit_free (when status_damage was going to invoke unit_free anyway)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8308 54d463be-8e91-2dee-dedb-b68131a5f0ec