summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-07-26- @pettalk will now fail when muted.skotlex1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26- Enabled changing of equipment while stunned/asleep/petrified/etcskotlex2-5/+5
- Cleaned up a bit the skill_castend_id dead checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Cleaned up run_script_main to properly free previous stack-data when ↵skotlex1-33/+28
running scripts. Note that scripts may still leak memory when run by non-players and they don't reach the "END" state, however I am not sure how this case should be handled, so it's left as it is for now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Added a check when buying from npcs to allow buying of item_avail items.skotlex1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Fixed duel accept invite sending the packet before the duel data is set ↵skotlex1-4/+4
(resulting in a packet that noone receives). Thanks to Toms for finding it out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Fixed a possible crash when you dual-wield and the total damage is 0.skotlex1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25- Cleaned up the skill_landprotector function to correctly block only magic ↵skotlex2-13/+31
skills from being placed on land protectors. - Corrected itemdb_group so that it will not return the random item givers (should give priority to actual item groups, so that the item heal bonuses work correctly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24- Cleaned up the Mistress Card related code so that the no-gemstone bonus ↵skotlex2-30/+23
reduces item requirements by one rather than totally skip them. - Cleaned up the logs "can log"function to use the IT constants. Also corrected the "only log large amounts" setting not working on negative values (trades). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24- Adjusted skill_castfix_sc so that Suffragium will get consumed even on ↵skotlex3-20/+19
instant cast skills, but Memorize won't. - Adjusted map_countoncell to receive the BL_* defines currently used instead of 0 to signal all. - BladeStop will now end when either of the characters is moved (knocked out?) around. - Moved the Zeny penalty code from respawn to pc_dead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24- Added a check to prevent Deluge/Volcano/Violent Gale from being placed on ↵skotlex3-11/+19
top of each other. Reverted the previous 'fix' where atk was being increased based on armor element rather than element of attack. - Added flag 0x002 (no reiteration) to Deluge/Volcano/Violent Gale (skill_unit_db) - Removed the noreturn mapflag check from script command warp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24Random Homunculus cleanupDracoRPG2-88/+61
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24- Changed Land Protector's range back to 3.skotlex2-61/+42
- fixed unban unblocking players as well. - Fixed Volcano/Deluge/Violent Gale increasing damage based on element of attack instead of defense element of attacker. - Cleaned up the code of Magic Rod, fixed it not giving SP. - Moved the code of Hermod and Basilica to castend_pos2 so it should work now. - Modified the code of Ankle Snare so the status ends on unit's time-limit rather than when the snared object moves away. - Re-worded the water check of ST_WATER skills. - Allowed sc-cast reductions to be processed even when cast-time is instant (to let suffragium end even on instant-cast skills) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-23- Modified setting skillrange_by_weapon (skill.conf) to be a per-object-type ↵skotlex3-4/+4
setting instead of yes/no. The default now is that weapon-based skills will take the attacker's range for non-players. - Changed the default of skillrange_by_distance to include homunculus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-23- Fixed buildin_isequip not working correctly with non-cards.skotlex1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-22- Applied use of EQI/EQP constants to the strip skills code.skotlex1-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-22- Applied Toms's suggested corrections to homun code.skotlex4-12/+10
- Corrected Cannibalize/Marine Sphere ignoring the selected summon spot. - Fixed looting pets ignoring the item pick-up priority of other players. - Should have fixed a signess warning in login txt. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-22- Removed some pc_equipitem code that was added earlier today that wasn't ↵skotlex1-10/+0
really needed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-22- Added blocking of @me when muted or in berserk status.skotlex1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Corrected the @follow timer not being deleted on logout.skotlex5-9/+20
- Applied the homunculus code fixes provided by Toms. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- battle_check_target will now tag homunculus as invalid target when the ↵skotlex2-2/+15
source is a skill-type object. - Added a check on pc_equipitem so that when the client specifies to equip a weapon on the right hand when the left hand is available, the weapon will be sent to the left hand instead (when dual-wielding is possible, obviously). Same for the left/right accessories. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Added the necessary checks so that Suiton makes Fogwall have double ↵skotlex2-5/+9
duration, and to make water-requiring skills to consume their cells. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Added the vaporize line when the player dies in pc_dead.skotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Now when the char-txt server does not finds a requested party, it will ↵skotlex1-1/+3
clear out said party id of all characters (will help prevent massive spamming/overhead when for some reason the party file needs to be deleted). - Combo skills (inf = self, inf2 = no target self) no longer check range if you use them while your attack-timer is still active. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Added back a map_freeblock call in skill_delunitgroup which caused a ↵skotlex1-0/+1
memory leak @.@... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Small bug fixes found during merging to stable process, includes correct ↵skotlex3-4/+4
HP scaling when hp-meter is enabled and max hp is above SHRT_MAX git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-21- Added a check to prevent Blind from ending while standing on a fog of wall.skotlex3-12/+26
- The mob Slave ai will be executed now even when the slave has a target. This will allow for "instant" warping to the master when it changes maps or teleports. if the slave has a target already, it won't unlock it and chase back to the master or anything like that. - Removed a couple of checks that prevents item ids above 20000. However, remember that the max id is still ~32k or the client is the one who's gonna crash! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Added source reporting when you do an invalid int&str or str&int operation ↵skotlex1-0/+1
on a script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Fixed the intif party creation packet having the incorrect size sent, ↵skotlex1-1/+1
hence causing the leader's level to be read as garbage (which caused the "impossible to even share" bug). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Added pc_check_weapontype to do a proper skill weapon check that takes ↵skotlex4-5/+11
into account dual-wielding. That is, if a skill can be used with daggers/axes, you'll be able to use the skill when dual-wielding them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Corrected Cloaking level 1-2 not letting you move across walls.skotlex4-17/+16
- updated cloaking code so that when you set "enable cloaking without walls", the code will consider you as "always next to a wall", thus you get the wall-speed bonus always. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Added battle config settings agi_penalty_target and vit_penalty_target, ↵skotlex2-3/+12
they define which object types will get vit/flee reductions when multi-targetted and defaults to only players (battle/battle.conf) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Added a skill_unit_db entry for NJ_HYOUSYOURAKU, thanks to Eus for the data.skotlex2-16/+20
- Added the dummy intravision case for the changeoption packet 0x229 - Corrected Fog of Wall so that all targetted offensive skills (not only those who do damage) will fail on cast-end 75% of the time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7773 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- corrected @homlevel up and one entry in the homun exp table as reported on ↵skotlex1-0/+1
the forums by Albator. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Added a status_check_skilluse on skill_attack_area call to prevent splash ↵skotlex1-1/+2
damage skills from hitting hidden/trickdead/etc characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Corrected fog of wall to behave as best known. Only takes effect when ↵skotlex2-14/+16
targetting a character inside it, -50hit/-75% damage when using normal-ranged attacks, -25% damage from all damage skills, 75% chance of all targetted damage skills of failing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20- Should have fixed @refine applying multiple times to equipment that uses ↵skotlex1-0/+8
multiple equip slots. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- Oops, should have fixed sql compilation of mob.cskotlex1-7/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- Fixed the inf code update breakage which was blocking all offensive skills.skotlex6-37/+36
- Added battle setting homun_critical_rate (defaults to 0) - Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with - enable_perfect_flee which specifies which objects can have perfect flee and enable_baseatk which specifies which objects can have a base attack value (both in battle.conf) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- Modified the targetted skill logic to enable offensive skills to be ↵skotlex5-17/+62
targetted at party/guild members if the appropiate inf2 value is set. - Added the SC_JAIL code for timed jailing, but the related @ commands ain't in yet. - Added checks to make adding items to inventory/cart fail when a char is in finalsave state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- Fixed parse_names on irc.c crashing when receiving a null argument.skotlex1-4/+4
- Modified the parsing of the names line, since some servers will send @ instead of = when separating the information. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- When enabling/disabling hiding/unhiding an npc, if the npc is a warp, it ↵skotlex1-8/+13
will use clearchar and spawn packets instead of changeoption. Thanks to Toms for the fix. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-19- Corrected Trim chars to block 'enter', as explained by the Ultra mage.skotlex2-6/+12
- When the client passes account version 0, the login server will set it to 1 now. - Corrected the HP bar scaling when HP is above Short Max. It should display fine for any HP value now. - Added a check when the mob's adelay is shorter than the amotion, in which case the adelay will be changed to the amotion value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Added atcommand @partyoption, lets you alter the party item-distribution ↵skotlex5-12/+74
type on the go. Usage is "@partyoption <pickup share> <item distribution>", where both arguments can be 0/1, yes/no, etc. - Updated @changeleader and @partyoption to use msg_Athena entries. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Fixed a compile warning. Some minor format cleanups.skotlex3-12/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Fixed a crash when trying to extend TK's infinite combo feature.skotlex3-2/+5
- Corrected Poison React to counter regardless of distance, and to use the skill's 50+5*lv% counter chance (instead of 100%). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Corrected Venom splasher's splash damageskotlex5-75/+18
- You now can't move/attack/use-skills when using Cloaking of a level less than 3 - Fixed compilation of mercenary.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Corrected Fog of Wall's "targetted spells fail 75% of the time" feature by ↵skotlex2-18/+15
making it behave like GTB, that is, you just get a skill-failed on cast-end, no skill-animation at all. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Added a proper check to make aggressive mobs never override homun targets ↵skotlex10-138/+125
regardless of distance. - Removed a bunch of homun-related variables that are not needed at all. The alive condition is removed, now the code checks for the hp value to know if the homun is alive or not. - Cleaned up a bit the skill-id function, homun skill checks (such as delay and skill-lv learned) should be correct now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Fixed giving the 100% damage bonus when no-splash-targets are found in the ↵skotlex1-3/+3
blown path to Grandcross instead of Bowling Bash. Bowling Bash damage equation becomes then +50*lv% rather than +40*lv% when there's no splash-damage (the 50*lv% figure is custom, all we know is that level 10 does 600% instead of 500% damage). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18- Updated mob_db.sql to current mob_db.txt data.skotlex5-11/+7
- Some cleaning on chrif.c - The char-server will allow off-line character saves when said char is tagged for final-save (this is the scenario when the char-map reconnect). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7722 54d463be-8e91-2dee-dedb-b68131a5f0ec