summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2012-04-26- Follow-up to r15979, updated parse_simpleexpr to parse direction function ↵epoque112-0/+19
invocation - Added SCRIPT_CALLFUNC_CHECK macro to disable direct callback if affecting performance git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-26- Added support for scripts to call user-defined functions without the use ↵epoque111-2/+15
of callfunc - Note: the callfunc; method is still required to be defined in the source git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Follow up r15975. Fixed warning on elemental.c. (bugreport:5637)greenboxal21-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Replaced rand() calls with rnd().xazax-hun5-32/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25* Code consistency updates. No functional changes. Credits to Lighta.xazax-hun10-152/+157
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed bugreport:4468 Frost Nova freeze chance has been updated to meet its ↵shennetsind1-0/+8
renewal values. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed Wall of Thorn skill, all of its conditions should now be met.shennetsind2-24/+51
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed bugreport:5624 Thorn Trap 'immobilization' effect should now be ↵shennetsind1-0/+1
working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15970 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Minor performance improvement on script function is_function -- replaced ↵shennetsind1-3/+3
strdb_get with strdb_exists since we don't use the data at all. Modified get_revision to return the revision number rather than it's string, when revision is not known by the server it now returns -1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Removed pc_cant_newmount since it has been proved newer clients still ↵shennetsind4-26/+2
support them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25Fixed warning on mob.c.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-24Fixed memory leak on MvP tomb system, killer name now uses static buffer. ↵greenboxal25-9/+10
(bugreport:5615) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23really minor performance improvement on skill_check_condition_castbegin vs a ↵shennetsind1-27/+24
player mounted on a wug, so that it doesn't unnecessarily allocate skill_get_requirement stuff when you won't be able to use the skill at all due to wug riding restrictions git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23Follow up r15936 Fixed crash when sc_increaseagi would be cast on non-players.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Fixed (bugreport:5589)cleaverbeaver1-1/+7
- It seems that the Increase agi effect put the char to stand if sit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Fixed Emergency Call (bugreport:3291) so that it does not recall dead ↵xantara1-1/+1
guild members git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5599 magic damage reduction formula were wrong.greenboxal21-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15090.eathenabot1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22* Merged changes up to eAthena 15086.eathenabot1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Follow-up to r15923: fixed renamed file not being svn-copied (and lacking ↵brianluau3-118/+118
svn history). - Added svn:eol-style=native property for some recently added text files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22=Generaltechnote241-1/+1
*Removed IT_THROWWEAPON as its not needed. -The items that use this are being treated as a ammo type through A_THROWWEAPON. =Database *Updated throwable items and cannonballs to official. -Genetics can now equip cannonballs. -Throwable items are now ammo type number 9 as they should be. =Jobs *Genetic's Cart Cannon and Sling Item skills should now work due to the item fixes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5605 Spell Fist should now work properly. Also Added missing ↵shennetsind1-10/+66
Elemental SC damage boosts git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Fixed Vacuum Extreme not assigning units (bugreport:5604) and additionally ↵epoque111-0/+1
not preventing movement - Added missing units from pre-renewal skill_unit_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Updated Mob AI's target check with new status effects: SC_BITE, ↵shennetsind1-6/+10
SC_VACUUM_EXTREME, SC_CRYSTALIZE, SC_THORNSTRAP and SC__MANHOLE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5604 Firewalk and Electric Walk now function properly.shennetsind3-8/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22- Changed @pettalk /dice to roll random 1-6 (before it always rolled 1).brianluau3-14/+17
- Added more /emotions to pet emotion processing. - Removed the clif_skill_fail so it doesn't spam them with a message (the client limits spamming clif_parse_Emotion, but not spamming @commands). - Follow up to r15009: used clif_emotion constants (see r14518). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Applied renewal skill changes: (bugreport:5302)xantara2-2/+9
- Fire Bolt: Casting time is reduced by 50% - Cold Bolt: Casting time is reduced by 50% - Lightning Bolt: Casting time is reduced by 50% - Mist Slash: SP cost has changed; now 15 SP at all levels - Shadow Slash: SP cost has changed; now 10 SP at all levels - Apple of Idun (50%): Recovers HP every 5 seconds (from 6 seconds) - Humming: Increase hit rate boosted by 2 times git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22Fixed bugreport:5537 SR_GENTLETOUCH_CURE now acts with official behavior.greenboxal22-17/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed Spell Fist being unable to cast while casting a bolt skill ↵epoque112-4/+5
(bugreport:5597) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Added mvp tomb system.greenboxal27-1/+100
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Updated the at-command system to exchange hard-coded messages with those ↵epoque111-22/+95
from the at-command help file - Amended existing commands to display additional information when no parameters are entered git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Added elemental source files to the appropriate VS2010 filtersepoque111-0/+4
- Fixed status point cost not being set to 0 once maximum has been reached git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5586 SC_CAMOUFLAGE can be removed by using RA_CAMOUFLAGE ↵greenboxal23-3/+4
again, also portals won't warp players under this status. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21- Fixed emperium coordinates in Payon Holy Shadow (payg_cas03).brianluau2-3/+10
- Also enforce sd->emotionlasttime for pet emotions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5494 missing renewal status for RG_RAID.greenboxal24-1/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Fixed bugreport:5593 elemental bl was not removed when pc is removed/freed.greenboxal21-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21Add CMakeLists.txt changes missing from r15885flaviojs1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20follow up r15885. Increased MAX_PRODUCE accordingly to new entries in ↵shennetsind1-1/+1
produce_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20follow up r15885. Accidentally committed this with the rest.shennetsind1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks ↵shennetsind23-1172/+3625
to 3CeAM for the base. Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql) If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much. ARRIBA ARRIBA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20=Generaltechnote245-5/+20
*Added CANNONBALL and THROWWEAPON item types as ammo types. -IT_THROWWEAPON will be removed soon as all ammo equiptable -items should be fully treated as ammo type in rAthena and -not as a item type. =Jobs *Added a config to set max stat limit for baby 3rd's. Default is 108. *Kagerou/Oboro stat limit is now set to whatever the limit is set to for 3rd jobs. -Which is the default 120. *Added item job masks for Gangsi, Death Knight, Dark Collector, and Kagerou/Oboro. -Note: Backwards compatibility was added to allow Kagerou/Oboro to use all the equips -the Ninja job can use to prevent needing to edit a chunk of the item database. -The job also has its own exclusive mask which will be used on their exclusive equips soon. *Kagerou/Oboro jobs can now duel weld daggers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20=Generaltechnote244-77/+79
*Did some cleaning up and enabled all job lines in job_db 1 and 2. *Added some more jobs to the pre-re and re exp tables. *Enabled all typeable job changing names for the job change command. -Also did some more cleaning and organizing for the list that shows -when typing the command by itself. This will be the final time I -touch this until a new job is released. *Increased MAX_SKILL_TREE to 84 as the Expanded Super Novice/Baby jobs needs it. =Jobs *Added 7 new jobs. -Added jobs are Gangsi, Death Knight, Dark Collector, -Expanded Super Novice, Expanded Super Baby, Kagerou, and Oboro. -Note: Keep in mind that Gangsi, Death Knight, and Dark Collector -are official jobs that were never completed and arnt fully playable -like other jobs. Im just adding them in since their official and to -let the curious people out there mess with them. *Did some major skill tree updates. -Corrected the required level of SM_RECOVERY needed for LK_CONCENTRATION. -Fixed a few other trans skill requirements in the 3rd job skill trees. -Added complete skill trees for Sorcerer, Genetic, Baby 3rd's, -Expanded Super Novice/Baby, Kagerou, and Oboro. -Note: Even tho Sorcerer, Genetic, and Kagerou/Oboro skills arnt in -the server, the skills introduced in these jobs will still be read -by the server, but will not appear on players skill window until entrys -are added to the skill_db and skill_requirement_db. -No error's will be generated when read. So its perfectly safe to leave -them entirely enabled so skills will slowly appear 1 by 1 as their coded in. -Also added a pre-tree for Gangsi, Death Knight, and Dark Collector -jobs for now and added some extra tree lines. These will be worked with in the future. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19=Generaltechnote244-298/+392
*Added some extra data here and there that will be used in the future. -Mostly stuff for adding more jobs. *Corrected how the server listed a few job names. Like Mage should be Magician. -As the job name is seen hard coded in the client. *Added support for all 3rd jobs in the pre-re exp table. -Base levels use a copy of the Trans exp table. Job levels use a copy of the -Trans 2nd job exp table. *Added baby 3rd's to the renewal exp table. *Did some cleaning and updating in the atcommand.c file for the jobchange command. -Added a few job changes by job name typing. -Spaced things out in the message strings to allow job names of up to 16 characters. -If a name is bigger then 16 characters, it will need to be reduced to fit the space. -No more then 4 jobs listed max per line -Also removed unneeded text lines as the ID's they point to are dummy ID's. -Finally, updated the list of dummy ID's to prevent changing to, as well as added a -message to display if someone attempts to job change to one of those dummy ID's. *Readded the spaces in the pc.c file as tabs in the middle causes unorganized viewing issues. -The space gap is now big enough to allow everything to line up. =Jobs *Added 3rd job babys. -Everything is working properly for them except the max stats and skill trees. -I will add this stuff in the next update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19- Added 22nd argument to 'getmonsterinfo' which returns the mvp_exp of a ↵brianluau2-198/+199
monster. - Changed 'checkvending' to return 2 if player is using @autotrade. - Follow up to r15871: used spaces so everything lines up (people might use different Tab Size in their text editors). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19=Generaltechnote242-205/+237
*Added some job coding to the source to prepare for the adding of baby 3rd's and other expanded jobs. *Removed Baby Taekwon, Baby Star Gladiator, and Baby Soul Linker MAPID's code since their pointless. -Gravity never released baby versions of these classes. If they do in the future then ill readded them. *Did some clean up in pc.c in the job management code. All unnecessary spaces were replaced with tabs -to lower the file size and make it easier to keep things tighty. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-18Fixed bugreport:5530 deep sleep lullaby no longer resets its duration when ↵shennetsind1-0/+1
cast on a target already with deep sleep lullaby. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-16Fixed bugreport:5386 riding dragons should now give the correct weight ↵shennetsind1-1/+1
bonus. Special Thanks to Rytech and Vali git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-15Follow up r15863. As suggested by xazax I've replaced long with inptr since ↵shennetsind1-1/+1
it seems to fit the purpose better. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-15Follow up r15862 and r15863. Forgot this \o/. /me feels horribly horrible.shennetsind1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-15Follow up r15862 someone (<points at me>/facepalm) forgot that he had ↵shennetsind1-0/+6
modified more than one file. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15863 54d463be-8e91-2dee-dedb-b68131a5f0ec