summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-02-13- Modified PA_GOSPEL so that the random damage attack becomes a BF_MISC attack.skotlex8-38/+39
- Added pc_resetskill when lowering job level and there's not enough skpoints to substract. - Fixed compile error of SG_FUSION in pc.c - Modified pc_resetskill to receive a flag to indicate if it should or not do status_calc_pc and send skill block updates. Meant to optimize performance when used in the middle of a larger update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Fixed SG_FUSION costing SP to deactivate.skotlex3-10/+15
- Some cleaning up at pc_setpos to prevent calling pc_clean_skilltree - Added pc_clean_skilltree on pc_recv_reg - Enabled use of TF_HIDING while Cloaked. - pc_resetstate won't remove wedding skills now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- NPC_POWERUP now gives +40% atk per level.skotlex7-58/+55
- Water elementals can be frozen again. - Fixed the sc_def equation in status_change_start - Fixed an extra semi-colon that broke win32 compiles. - Some rewriting of bounds checks in @baselvup, @joblvup and the # equivalents to prevent signed/unsigned comparisons. - Now slaves give exp/loot (exception: player slaves still stick to the old rules) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Added CELL_CHKSTACK to check if a map cell is stacked (CELL_NOSTACK server ↵skotlex4-2/+32
mod) - Added flag 0x3000 to path_search to specify that path searching should go through stacked cells. Used for skill_wall_check calls. - easy path_search will be successful in CELL_NOSTACK mode if the search fails only on the target cell (it is presumed the target cell contains the character one is trying to reach). The walk routines will take care of stopping the character from walking into another one when stacked. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13- Added handling of type BL_PET to skill_unitgrouptickset_search. I know ↵skotlex5-142/+101
pets normally aren't affected by skills, but their structure already had support for this, so.... - Rewrote/simplified functions skill_addtimerskill/skill_cleartimerskill - Fixed SC_DANCING for non players (was making dances only last 1 second for them) - Modified map_moveblock to handle calls to skill_unit_move_unit_group and cancelling of Close Confine effects, removed these checks from the walk functions and skill_blown functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-12- Fixed error display when the exp table reads a value which is capped to ↵skotlex1-1/+1
UINT_MAX git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11Valkyrie item fix, Sonic blow fix.Vicious1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11- The status window now shows the addition of the damage of your both ↵skotlex2-8/+8
weapons when dual wielding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-11Removed #include <lcms.h> from irc.c, which caused compile errors.Valaris1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Changed the server's default MAX_LEVEL capacity to 1000.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Lures won't be lost now when you use them on a non-mob.skotlex1-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5252 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Added pc_issit check to pc_can_moveskotlex3-7/+13
- Stone/Freeze/Stun/Sleep now make you stand up as well. - Some logic pointer fixes on map_searchrandfreecell. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Made the NPC_BREAK* skills no damage skills. Removed their code from the ↵skotlex1-8/+4
skill cast end damage id function. - Also raised their max level to 10. Made their breaking chance 10%*lv git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Modified map_searchrandfreecell to always do a check on a 9x9 area around ↵skotlex3-55/+25
the target tile, and to return the x,y coordinates modified with the new target. - Modified map_addflooritem so that the type is &1 for mvp drops and &2 for stacking checks, when &2 the item to drop cannot stack on the floor, otherwise it has no stacking limit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- NPC_POWERUP gives now +20% attack per skill level.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Fixed setting setting SP_BASELEVEL skotlex1-16/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10- Added range checking to mob skill loading of permillage and delay.skotlex2-6/+12
- Fixed pc_gainexp not working for next level exp requirements above INT_MAX. - Fixed the display of @showexp not working right for exp values above INT_MAX. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 * Removed the conf sql code for now. Maybe will continue later with that ↵Valaris5-473/+7
project. Lowered the irc keepalive timer, and added some checks for use_irc that should have been there. Added a return line \n to the beginning of the title screen. [Valaris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Added function mob_respawn which makes a mob respawn on spot 3 seconds ↵skotlex3-16/+45
after deafeat if SC_KAIZEL is active. - Modified NPC_REBIRTH to use Kaizel level 1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Added setting max_exp_gain_rate which caps how much exp you can get from a ↵skotlex3-3/+23
single kill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- pc_readdb will now cap experience required per level to UINT_MAX, it will ↵skotlex1-1/+13
warn the exp table has exp values above said limit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Changed the default of skill_delay_attack_enable to no.skotlex1-1/+2
- Modified Magnum break's delay to 0, time1 to 2 secs, time2 to 10 secs. Time 1 is for the skill reuse delay, and time2 the weapon fire bonus time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09- Code rewrites in mob_damage and party_exp_even_share for correctly ↵skotlex10-104/+122
handling overflow issues. Now uses UINT_MAX for range comparisons, as it should be. - Also modified the mob_db reading to use UINT_MAX for exp limits, changed their exp/job exp fields to unsigned int as well. - Modified multi_level_up behaviour to work as specified by Kyoki. - removed functions pc_next[base/job]after as they are no longer needed. - Modified the skill attack display of Meteor Assault and the Warm Skills (I think the caster should no longer do fancy animations now on each hit) - Added back water elemental targets being inmune to SC_FREEZE - Fixed the status_change_start line in charsave.c (I knew I was forgetting something) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-09SQL compile fix (Skotlex, check line 470 in charsave.c, I've added here rate ↵Komurka1-1/+1
value = 10000) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Added battle config options:skotlex5-27/+51
- skill_caster_check (does a status_checkskilluse on all skill attacks) - status_cast_cancel (invokes skill_castcancel for opt1 type status changes) - Fixed the death exp penalty underflow bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Cleaned up and reorganized status_change_start. Now it also receives the ↵skotlex11-950/+891
success % rate (0->100) - Added local function status_get_sc_tick which takes care of reducing the effect duration as need is be. - Modified status_get_sc_def to handle defense against all related statuses, now returns defense on a scale where 10000 is 100%. - Added time2 to pangvoice, it is the player effect's duration while time1 is for the mon's effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Modified exp2.txt to use the default official levels instead of 1000skotlex1-1/+1
- Corrected exp2.txt's job lines for novice/baby novice. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Modified battle_check_range to use check_range_bl rather than range_bl for ↵skotlex1-6/+3
range checking, as the range_bl aproximations can lead to situations where battle_check_range returns true while the attack function range check fails >.> git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Removed the max level configs from battle/exp.txtskotlex2-6/+9
- Now NPC_POWERUP uses SC_INCATKRATE instead of SC_EXPLOSIONSPIRITS for enhancing damage. Instead of +1k atk per skilllv, it is +50% atk per skilllv. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Fixed Char-SQL server setting up the save/last point to the novice grounds ↵skotlex2-3/+4
when either x, y or the map is 0. - Commented the char server setting up Prontera as default point when there's none (this bug should not exist) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-08- Fixed SG_STAR_ANGER not getting it's damage bonus at all.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-07- Increased char buffer for reading the exp table to up to 24000 chars per line.skotlex1-1/+1
- Added my custom experience table that goes up to level 1000. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-07- Fixed startnpctimer starting multiple timers if the npc timer was already ↵skotlex1-0/+7
started. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-07- Fixed sql compile.skotlex3-13/+9
- Some small adjustments on how the user/password in the char server are read. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06- Fixed sql compile.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06- Added define clif_deadsit to send the dead state into player packets if ↵skotlex18-101/+197
the player is in trick dead state. - Venom Splasher always hits (but splash damage targets can still avoid it) - Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100% - Falcon Assault now takes Blitz Beat lv5 as base damage. - Fixed pc_makesavestatus not updating status.option correctly. - Corrected Waterball so that higher levels can do insane amount of hits. - Altered slave behaviour. No more random walking, will stay within 2 cells of their master. - Reverted the Summon Slave behaviour to not adjust level based on number of current slaves. - Coma no longer sends SP to 1. - Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled. - Dark elemental characters are now inmune to Curse. - Fixed sc_data saving to sql buffer building method. Thanks to its_sparky. - Changed the map zone reading from using pow to a bit shift. - Experience has now been changed to unsigned int, and is read as such from the dbs. - Increased HT_DETECTING seek range to 7x7 - Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code. - Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-05git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5202 ↵Valaris2-0/+302
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-05* Added some of eAIRC bot code, written by me and LittleWolf. It is disabled ↵Valaris6-17/+43
and has no configuration options yet, as it is not finished. [Valaris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-05- Small fix in pet_attack that would make pets not unlock their target in ↵skotlex2-4/+4
some situations. - Fixed invisible shops. callshop scrip command now works! - Added proper documentation of script command callshop git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-04Skotlex's Falcon Assault fixVicious1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03- Fixed a wrong check being done for AM_TWILIGHT3skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03- Fixed the reported map when there is an error in report_src (script.c)skotlex2-10/+16
- Earth attacks now work on hidden enemies. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03- Grand Cross/Grand Darkness can no longer get the ignore defense -armor ↵skotlex3-36/+50
piercing bonuses. - Loki's weil is now ignored by bosses. - Land Protector and Gantantein should now ignore traps. - Fixed Shinobi card so that it fails when you aren't next to a wall. - Cleaned up the function skill_landprotector. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03- Meh, the status change start switch was supposed to be minimized, not ↵skotlex2-0/+4
altogether removed :X (the idea is to let anything with sc_data to go through) - After a guild master change, the new gm has his guild skills blocked for 5 minutes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03Fixed txt-converter compilation errors (ASCII again + added missing ers.o to ↵Komurka2-8/+8
makefile) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5169 ↵Valaris1-0/+18
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03* Crash fix in npc.c npc_timerevent.Valaris1-1/+1
was: struct timer_event_data *ted = (struct timer_event_data*)ted; changed: struct timer_event_data *ted = (struct timer_event_data*)data; Skotlex, I am assuming it's calling from the passed data var, If I'm wrong please fix it. I just know what was there was definitely not correct. [Valaris] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02- Improved the NPC timer system to enable to have multiple timers going on ↵skotlex7-44/+179
at a time with different players attached to each. Now npc event timers are of two types: attached or global. The global timers don't have a player attached and can be started/halted by anyone. The character timers have a player attached, and they can only be stopped by a script that has the same player attached. - Now player attached scripts will auto-abort when the atteched player quits the map server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02- Fixed some includes in skill.c and npc.c, thanks to 252-rer for finding it ↵skotlex5-13/+26
out. - Applied the entry reusage system to the battle delay damage structure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02- Fixed the map server complain on the default user/passwordskotlex3-10/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5161 54d463be-8e91-2dee-dedb-b68131a5f0ec