- Cleaned up skill_check_condition_mob_master_sub, it will now count both total number of summoned mobs and amount that belong to the same type.
- Corrected AM_CANNIBALIZE so it will fail if you already have plants of another type out.
- Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
- Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now Volcano/Deluge/V. Gale will get that funky icon instead.
- Changed clif_hominfo to receive both sd and hd as parameters
- Some redundancy cleaning in mercenary.c
- Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8048 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed NPC_RUN not setting the mob's state to MSS_WALK (normally not set by the mob ai)
- unit_walktoxy flag&2 setting will now also ignore unit_can_move, for a forced walk.
- Adjusted NPC_RUN level of Marine Spheres (5->7 cells)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8044 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Modified unit_walktoxy and NPC_RUN to enable running even when the caster does not has the MD_CANMOVE bit on.
- PF_MINDBREAKER will now silently fail if you try to use it on someone who already has the status active.
- Cleaned up yet again skill_landprotector, now new cells of Deluge/Volcano/V.Gale will delete previous cells when they are recasted on top of each other.
- Summoned Marine Spheres no longer get the MD_CANMOVE bit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8039 54d463be-8e91-2dee-dedb-b68131a5f0ec
- merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru and Coltaro for the code.
- Cleaned the code of atcommnds jail and unjail
- Be warned that the code MAY contain bugs as I adjusted it to save the character's position before jailing, allowing the automatic unjailing to warp you back to the exact spot you were at before being jailed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8038 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Expanded setting debuff_on_logout so that &1 removes negative buffs and &2 removes positive buffs.
- Food status boosts will no longer end on death, but they will end when you respawn or logout.
- Added battle config file status.conf, moved some settings from skill.conf and battle.conf to it since they are entirely Status-Change related.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8033 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Magic Rod's can-act delay will no longer be applied when you absorb a spell.
- Fixed Don't Forget Me increase speed instead of decreasing it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8031 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed Sharpshooting being counted as a magic attack, and hence, using your MATK as base damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8019 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Bladestop will no longer stop when you push either of the characters around.
- Fixed Enchant Poison having a near 100% chance of poisoning target on attack.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8015 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Moved the Devotion code to the top of the SC list in status_damage, meaning that now stuff like being asleep or confused won't end if you are hit, but the damage is absorbed by devotion.
- Some cleanups in battle.c (replaced usage of status_get_* for status->*)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8009 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no information of how much the bonus should be, it currently is a conservative 10%.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8007 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed sleep.tick not being set back to 0 before resuming execution, which leads to scripts that are continously executed even when they already ended (they do nothing but waste resources)
- Fixed a pair of free -> aFree used on stacks, which would lead to memory manager reporting leaks where there aren't.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8000 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Corrected the Speed update code to prevent sending "walk to xy" packets twice when the affected character is a player.
- Expanded mob can't move warning to print out where this mob was stuck at (map, x,y)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7998 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Status change packets will now use as criteria for sending the actual view_class instead of player/not-player. This will fix status-changes displaying improperly on clones, and also possible crashes with disguised players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7984 54d463be-8e91-2dee-dedb-b68131a5f0ec
New version of buildin_query_sql which accept more than one column and can return the number of rows. See script_commands.txt for more details.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7975 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Memorize cast time now can't be reduced by status changes neither.
- Made skill_unitsetting remove the group when no unit-cells were placed down. basicly this means that if landprotector blocks all tiles, the group will be removed from memory, preventing said group from counting to the total number of skills you can set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7972 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Shield Chain will now ignore the 'ice-pick' defense piercing bonus.
- Removed pretty much every comment from skill.c as they were not even in ex-japanese, but they are now in butchered ex-japanese.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7958 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Restored code which was removed (stuff like SC_SKA)
- Fixed possible crashes on some NJ skills if used by non-players.
- Fixed most NJ magic spells doing more damage than they should.
- Fixed ZenyNage being able to do more damage than zeny you have.
- Cleaned up skill setting code for Suiton and Kaensin
- Ordered SC_* definitions in status.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7947 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Made status_damage allow damaging of objects not on a map, this should fix pet-catching making the mob never respawn again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7946 54d463be-8e91-2dee-dedb-b68131a5f0ec