summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-04-11bunch of updates..Vicious23-2668/+2889
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- You don't get critical'ed when in counter-attack stance anymore.skotlex3-3/+6
- Changed the default counter-type to "always critical". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Implemented use of ers for skill_unit_groups to reduce memory usage. NEEDS ↵skotlex8-89/+104
TESTING git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Modified battle_check_range to do a path-check on distances less than 2 ↵skotlex2-1/+3
(rather than 3) to avoid being able to hit through walls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Modified unit_walktoxy_sub to always move at least one cell when a large ↵skotlex2-10/+9
chaserange is specified to prevent possible infinite loops where attack_timer says you are not within range, but unit_walktoxy says you are. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixed various include lines in the map server (of the type <include ↵skotlex5-13/+14
"nullpo.h"> -> <include "../common/nullpo.h">) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixed Looted items always dropping in quantities of 1.skotlex3-2/+7
- Removed the check that deletes Magnus Exorcism cells after they hit once. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11* Temperory replaced strtoll to strtoul until the function changes.Lance2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5983 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Multiple optimizations to the unit_data auto-chase upgrade, also ↵skotlex8-157/+133
simplified the mob and pet ai routines. - Simplified the walk routines to half the number of timers required for walking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Finished fixing the unit_data auto-case update. Still need to do some ↵skotlex2-3/+15
optimizations... but the current code-base should be usable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-11- Fixes to the unit_data update that lets characters auto-chase while attacking.skotlex6-30/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10- Modified the unit_data structure to handle automatically switching between ↵skotlex9-239/+279
chasing and attacking a character. Note that it's a work in progress and not yet properly tested/finished... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10- Updated the subnet support to not require specifying the subnet mask, it ↵skotlex8-35/+47
is auto-acquired from the char/map IP and the subnet-mask. - skill_wall_check defaults to yes now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-10fixed refiner items checkLupus2-1/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Added the missing last_thinktime initialization to pets.skotlex3-1/+5
- Reverted the change in skill_Wall_check to let skills go over pits. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Changed use of strtol to strtoll as strtol's result is just a signed int, ↵skotlex4-22/+28
and we need to parse values above 0x7FFFFFFF - Corrected Knives being usable by Gunslinger. SQL users use upgrade_svn5972.sql to ugprade that. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Modified @warp/@rura to prevent causing pc_setpos position error messages.skotlex3-23/+21
- Fixed the mob's last_thinktime not being updated on mob_spawn, causing them to not "think". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Fixed @npcmove not sending the correct packets to make the moving refresh ↵skotlex5-7/+15
client-side. - Fixed mobs with aggressive + looter mode never looting. - skill_wall_check now also checks for pits so that skill effects don't go through them. - Now you can't leave/be-kicked from a guild inside guild castles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Small code cleanups. One should lower a bit function overhead when using ↵skotlex3-4/+2
mob_ai&32 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09* Fixed map_waterheight prefixing extra "data\"Lance2-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Mob_ai update. The attacked checks will trigger even if the mob can't ↵skotlex2-10/+6
move. Being attacked while the mob can't move no longer will trigger rude-attacked skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-09- Changed the default of multi_hit_delay from 230 to 80 which seems more ↵skotlex6-10/+19
official. - Wedding recall skills are now blocked by the nomemo mapflag. - Skill delay for weapon types is now based on adelay (ASPD) rather than amotion (ASPD/2) - Removed ending Endure when casting Berserk, may fix the timer mismatch issues. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Fixed skill_nocast_db reading so that when the same skill is specified ↵skotlex2-1/+4
multiple times, the blocked effects add up instead of replacing each other. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Fixed @movenpcskotlex5-19/+31
- Cleaned up and improved the lootsearch routine to pick nearest item. - Added INVISIBLE_CLASS to the list of classes supported by npc_get_viewdata - Fixed trying to set the view_data for npcs who are located on a map, but have no visual data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- The IRC bot now reads a configuration file (irc.c) instead of it all being ↵Zido5-6/+102
hardcoded git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Wedding Sprites fixedZido2-2/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08fixed job changerVicious3-143/+154
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Fixed irc.c, no more crashesZido2-23/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Added function status_change_init to initialize all the sc timers. Added ↵skotlex7-18/+28
sc_data initialization to the npc structures who were missing them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Likely fixed a mob not returning to their original class view on respawn ↵skotlex3-6/+7
after they changed class. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-08- Modified the equip_job field in the item_db to be a hexadecimal value for ↵skotlex7-3725/+3858
easier handling. - Updated item_db.sql to this new file format (even though it's equip_jobs field is still a integer) - Added upgrade_svn5951.sql for those who would like to convert their existing items. - Added doc/item_db.txt to explain each of the fields in db/item_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07GS related npcsVicious4-42/+289
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Moved the devotion damage reduction to the block that only executes if ↵skotlex7-94/+94
flag is zero in battle_damage. - skill_castcancel won't trigger on battle_damage when the passed flag is 1 - The flag in battle_heal is now used to determine whether Berserk blocks the healing or not. - Moved the Fusion HP penalty to battle_calc_weapon_attack - Some cleaning to use battle_heal/damage rather than pc_heal/damage where appropiate. - cleaned up the deadly-poison hp reduction code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- IRC User access levels now refresh on a mode set and join/partZido3-1/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Fixed an already free'd pointer error in irc.c:144skotlex1-4/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Added missing creation/destruction of the expcache_ers in guild.cskotlex5-57/+73
- Unified status_remove_buffs/status_remove_debuffs into a single function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5946 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07- Fixed pc_setpos ignoring the clrtype sent to it.skotlex4-8/+16
- unit_free will now use clear type 3 for players (warping out effect) - You can't invite someone to a guild now within Guild Castles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07updated new itemsLupus1-15/+29
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-07updated itemsLupus2-20/+40
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Hopefully fixed the wedding item-trade restriction.skotlex2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Removed mapflag noreturn from pvp maps.skotlex4-83/+88
- Fixed status_clear_buffs making SC_BERSERK's end send you to 100hp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Rewrote the guild exp cache code to prevent overflows and to use the ers ↵skotlex3-41/+60
system. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06Accidently left my IRC info in irc.c >.> we really need to make a .conf for it.Zido1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5935 ↵Zido3-19/+166
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Changed the default of skill_add_range to 0, said value now disables ↵skotlex3-3/+8
skill-range checking when casting ends. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Corrected the Soul Drain formula, thanks to Haplo for pointing it out.skotlex2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5930 ↵Lupus2-1/+4
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Changed the random warping of mobs with no players from mob_spawn to ↵skotlex2-1/+4
unit_warp, which prevents MSC_SPAWN from being retriggered for already spawned mobs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06Fixed a typo.Zephiris1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06- Modified @allstats to prevent negative/overflow issues.skotlex5-9/+15
- Fixed HP/SP requirements for WE_MALE/WE_FEMALE - Fixed a typo in skill.h which fixes a compilation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5925 54d463be-8e91-2dee-dedb-b68131a5f0ec