summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-09-05- Fixed crash when using Adaptation during an Encore.skotlex1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Should have fixed manner being reset to 0 on logout while muted.skotlex2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Removed status_get_sc_tick, duration and chance are now both handled by ↵skotlex2-110/+57
status_get_sc_def - Fixed mob-kill experience getting screwed up when characters who did damage die/logout at the moment the mob dies. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Should have fixed "sleep", thanks to Lance for figuring out the error.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Ordered up entries in skill_unit_dbskotlex2-0/+16
- SC_REFLECTSHIELD will now be passed to devoted characters at cast-time. - Added a check to make a mob's level 1 if the read level from the db is less than it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Some cleanup of how mobcount works.skotlex5-63/+85
- status_calc_misc will now be invoked in status_calc_bl even on the first call, since status could have gone up due to skill bonuses. - Moved max HP/SP calculations to before invoking status_calc_misc - Simplified distance and check_distance to use "aegis" methods (greater of dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when set, the previous method is used, and map for each in range calls will also check for distances, making most ground skills and battle system use real circles instead of squares. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04- Fixed SC_BERSERK's no regen penalty lasting pretty much forever.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather ↵skotlex2-7/+12
than blocking all types of regen. - LK_BERSERK will now only block natural regen on state-end. - SC_EXTREMITYFIST/SC_DANCING/SC_EXPLOSIONSPIRITS will only block natural sp regen and not skill regen - SC_REGENERATION blocking will be cancelled on logout now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- Applied use of RC_BOSS/RC_NONBOSS in the ignore def code.skotlex2-3/+3
- Corrected SCB_LUK not updating SCB_BATK as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02- Corrected script_commands description of getequipid, it returns -1, not 0 ↵skotlex1-3/+7
on fail. - Fixed the mob-id check during pet_db loading, it will also now print when a pet is not loaded due to having an invalid mob class specified. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The "delete_timer error/no such timer" report will now print the related ↵toms1-1/+1
function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The Clearing unused stack report will now print the related NPCtoms1-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01The duplicate npc report will now print the related file nametoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01- Added a missing break in battle_check_targetskotlex3-9/+30
- Added config setting "partial_name_scan", which specifies whether @ given names should use a partial string lookup or absolute name lookup. Defaults to no (gm.conf) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01- Added defines status_base_matk_(max/min) for code readabilityskotlex4-43/+60
- Expanded status_calc_misc so it may also calculate the batk of characters as well as their regen data (if they have it) - Fixed a memory leak when using charsave_method:1 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01- Soul Breaker will now be affected by Lex Aeterna on both parts of the attack.skotlex5-40/+25
- Some minor code cleanups - Cleaned Adaptation's code to not require to check the Skill Unit group structure to extract the skill lv info. - Status changes with no skill and no SCB* data will now go through if they have an SI* icon. This should fix SC_MIRACLE - Reverted switching a mob's adelay/amotion when the later is longer than the former, now both get updated to amotion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31- Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to ↵skotlex6-51/+25
skill_counter_additional_effect - Simplified skillnotok_hom by using an invocation to skillnotok - Hopefully fixed BD_ADAPTATION - Homun won't lose any intimacy on death now. - Homun will be saved together with the master now (as long as the homun is active) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31- Modified the error reporting in map_freeblock_unlock so that when there's ↵skotlex2-3/+16
an error, the reported line number is the file's linenumber plus the object's type *10000. This is for debug information to help track down the already-freed error. - pc_adopt will now preserve the kid's job/job-level/experience. This means that if you adopt a Swordman level 45, it will become a baby-swordman level 45, with the exact same exp as before. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31Fixed new mob's name not sent to the client when the mob is morphedtoms1-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31- Added setting attack_walk_delay which specifies whether a character should ↵skotlex3-39/+11
(or not) be able to move inmediately after starting a normal attack (battle.conf). Defaults to 0 since that's what Aegis uses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31- Fixed @summon's delete timer being screwed up.skotlex5-13/+15
- Cleaned up a bit the summon script command. - Fixed the clone script command's delete-timer being screwed up. - Corrected battle config name max_walk_rate, it should be named max_walk_speed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31- Skill required-state will now only be checked on cast-begin, not cast-end.skotlex2-5/+39
- Added a check in status_calc_pc to prevent player rate adjustments from from going below 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30- Removed sending normal-damage packets instead of skill packets for ↵skotlex1-0/+4
splash-damaged skills, since... well, that's how Aegis does it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30- Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv ↵skotlex3-13/+22
vit and 20*lv int, is dispelled on warp, and can-act delay is 5+5*lv minutes. Hp/Sp is no longer set to 10 after a forced expiration. - Added instant skill unblock in skill_[merc/pc]block_start when the duration passed is less than 1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30- Fixed char-sql compilationskotlex5-26/+21
- Added support for reading the item_db_db inter config settings (char-sql) - Fixed some compile warnings (functions with no arguments should have a (void) instead of ()). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30- Added a message to @clearweather stating when climate changes will dispel.skotlex3-91/+118
- Corrected @hidenpc saying that it's command name was "@npcoff" - Updated itemdb reading on the char-sql server so that it reads both item_db and item_db2 files (totally untested yet as I can't compile SQL here x.x) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29- Added printing out whenever the irc-module attempts to connect, to debug ↵skotlex1-1/+6
whether the map-server lag is due to this or not. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29- Mobs will now always chase players using hard-path seeks.skotlex1-7/+8
- monster_ai&1 now only signals whether mobs should update their target cell while chasing more frequently (rather than being state-driven like Aegis) - Changed the defaults of view_range_rate and chase_range_rate to 120 to aproximate better Aegis's view ranges (which are square areas and not circles) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29- Applied Mpeg's work on GStoms5-29/+77
( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt ) - Fixed a syntax error in @showmobs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29@showmobs = shows selected mobs on mini-mapLupus2-0/+88
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Restructured CG_MOONLIT so that it is a ground effect like the other Encores.skotlex8-105/+37
- Modified SC_DANCING so that val1 can contain both skill id and skill lv, removed SC_MOONLIT git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- The memory leak reports will now print out in the logs also the revision ↵skotlex3-19/+25
they belong to. - Cleaned up the scriptable npc-shop code, it should be crash-proof now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28Added TK level-up buffs to SG too, and extended them to 10 minDracoRPG2-6/+7
Added "Barefeet Mastery" effect to TK_RUN -> As always, big thanks to Tharis ;) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Changed the produce_db format, now there's a skill-lv column right after ↵skotlex2-5/+7
the skill-id column to specify required skill-level to craft this item. - Modified the skill produce_db code to take into account the new skill-lv requirement. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28reverted mpeg's workVicious5-7279/+7220
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Reverted the "fix" to mdef reduction code being applied before the number ↵skotlex1-4/+3
of hits adjustment @.@ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Added a missing pair of lines to mob.c which mysteriously vanished on my ↵skotlex1-1/+2
last commit @.@ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Fixed exp bonuses applying twice for the job-expskotlex7-17/+58
- Magic damage adjustment per number of hits is now performed before mdef reductions. - @reloadbattleconf will now also update the ragsrvinfo table on the char-server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28Reverted Mpeg's change of NJ_BUNSINJYUTSU SCBtoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28- Fixed homun hp/sp growth rates stacking with HP/SP passive increasing skills.skotlex1-4/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28Applied Mpeg's work on GS ( ↵toms5-28/+90
http://gpegon.free.fr/ea/gunslinger_08-28-06_mpeg.txt ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27And a minor typo. Sorry.Lance2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27Tweaked MEMSET_TURBO abit, temperory disabled GCC version.Lance4-65/+37
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27Fixed undefined reference to 'malloc_set' in log.ctoms1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27- Updated svn-revision reading, now it can read the new svn file systemtoms2-12/+46
- Fixed a bug with homunc which could spawn on a non-walkable cell git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27* Optional macro MEMSET_TURBO for faster low-level memory initializations.Lance33-429/+528
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-26Small bug fix in read_homunculus_expdb (a warning was always displayed)toms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-26- Small adjustment on the mob_ai code which could fix mobs not chasing you ↵skotlex2-2/+2
if you hit them from the maximum possible diagonal distance. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-25- Cleaned some the skill unit removal added flag so that it signals whether ↵skotlex1-9/+10
the skill is being force-removed, or it has "naturally expired". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-25- The following skills will display a normal attack animation now:skotlex1-2/+13
NPC_WATERATTACK, NPC_GROUNDATTACK, NPC_FIREATTACK, NPC_WINDATTACK, NPC_POISONATTACK, NPC_HOLYATTACK, NPC_DARKNESSATTACK, NPC_TELEKINESISATTACK, NPC_SPLASHATTACK - Skills that require a weapon and consume spirit spheres will no longer be auto-tagged to require ammo. - Now MISC skills with delay 0 will also use the attack delay (if the skill is tagged to do damage) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8483 54d463be-8e91-2dee-dedb-b68131a5f0ec