2362 Commits

Author SHA1 Message Date
skotlex
acf83e7574 - Fixed the memset in status_calc_pc, corrects some mysterious bugs such as item-drop bonuses suddenly not working anymore.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 23:12:18 +00:00
skotlex
1abe796ab7 - Corrected SC_INCREASEAGI and SC_DECREASEAGI speed-change formula.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 21:28:32 +00:00
skotlex
609bfd1e48 - Updated skill_require_db's entry for Abracadabra, it requires yellow 2 gemstones (there's no such hardcoded yellow gemstone requirement anymore)
- Corrected db/const.txt entry bMagicSubRace -> bMagicAddSize
- Fixed Aex Aeterna ending on Soul Breaker's first half.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 14:22:16 +00:00
toms
bcd6f5aadc Applied Orn's modification on speed increases/reductions with increase/decrease agi
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-06 09:36:53 +00:00
skotlex
bea0a8c46e - Removed setting mob_show_hp, it's been replaced now by mob_show_info, which can be used to specify what kind of info should be displayed from a mob. Current options are two different formats for Hp display, and current level.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 20:58:27 +00:00
skotlex
af829182c1 - Fixed Signum Crucis Def reduction being 10+2*lv% instead of 10+4*lv%
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 20:30:57 +00:00
skotlex
8a01f7d2ca - applied the Ultra Mage's suggestion to have the map server strip trailing spaces/comments from the config files. It will also now print out when an unknown config setting is found.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8642 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 20:27:08 +00:00
skotlex
0853b1751b - Fixed status change resistance not being invoked at all for pretty much all cases.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8641 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 19:53:14 +00:00
skotlex
4e9c745bdf - Corrected SC_INTRAVISION not starting.
- Small cleanups (line terminators, indenting)
- Fixed crash when attempting to read a Label as a string on a script (thanks to End of Exam)
- Fixed possible crash when changing a chat-room's owner (thanks to End of Exam)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 19:49:38 +00:00
skotlex
d0563b1951 - Fixed dispell removing SC_NOCHAT
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 17:55:56 +00:00
skotlex
352944cf6e - Small fix which should correct skill_attack damaging hidden characters when it shouldn't.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 16:32:59 +00:00
skotlex
072b488c01 - Fixed crash when using Adaptation during an Encore.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 02:51:57 +00:00
skotlex
d3b4aa4bbf - Should have fixed manner being reset to 0 on logout while muted.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 21:40:36 +00:00
skotlex
19d37b82d0 - Removed status_get_sc_tick, duration and chance are now both handled by 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://svn.code.sf.net/p/rathena/svn/trunk@8619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 19:06:46 +00:00
skotlex
9e07adc071 - Should have fixed "sleep", thanks to Lance for figuring out the error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 18:16:11 +00:00
skotlex
b081345d26 - Ordered up entries in skill_unit_db
- 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://svn.code.sf.net/p/rathena/svn/trunk@8615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 16:47:52 +00:00
skotlex
def8753415 - Some cleanup of how mobcount works.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 14:10:14 +00:00
skotlex
0c3d2fd638 - Fixed SC_BERSERK's no regen penalty lasting pretty much forever.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-04 03:13:44 +00:00
skotlex
83deb9deec - SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather 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://svn.code.sf.net/p/rathena/svn/trunk@8600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02 23:24:11 +00:00
skotlex
480f4d2de4 - Applied use of RC_BOSS/RC_NONBOSS in the ignore def code.
- Corrected SCB_LUK not updating SCB_BATK as well.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02 20:40:51 +00:00
skotlex
a9e7abfc20 - Corrected script_commands description of getequipid, it returns -1, not 0 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://svn.code.sf.net/p/rathena/svn/trunk@8587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-02 01:43:23 +00:00
toms
a2ce0be45b The "delete_timer error/no such timer" report will now print the related function
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 23:26:08 +00:00
toms
9c8acc1464 The Clearing unused stack report will now print the related NPC
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 22:54:50 +00:00
toms
5c9beff857 The duplicate npc report will now print the related file name
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 22:27:38 +00:00
skotlex
9976069fdc - Added a missing break in battle_check_target
- 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://svn.code.sf.net/p/rathena/svn/trunk@8578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 15:56:34 +00:00
skotlex
a4ce257ad3 - Added defines status_base_matk_(max/min) for code readability
- 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://svn.code.sf.net/p/rathena/svn/trunk@8576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 15:18:15 +00:00
skotlex
063270b3cb - Soul Breaker will now be affected by Lex Aeterna on both parts of the attack.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 14:12:51 +00:00
skotlex
a19cafda61 - Moved the intimacy penalty of HFLI_SBR44 and HVAN_EXPLOSION to 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://svn.code.sf.net/p/rathena/svn/trunk@8564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 16:40:37 +00:00
skotlex
5c8103cb76 - Modified the error reporting in map_freeblock_unlock so that when there's 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://svn.code.sf.net/p/rathena/svn/trunk@8563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 16:09:50 +00:00
toms
4ed81c185a Fixed new mob's name not sent to the client when the mob is morphed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 15:22:32 +00:00
skotlex
da0c3867d8 - Added setting attack_walk_delay which specifies whether a character should (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://svn.code.sf.net/p/rathena/svn/trunk@8561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 14:46:56 +00:00
skotlex
eac939f439 - Fixed @summon's delete timer being screwed up.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 14:18:37 +00:00
skotlex
b0428a5285 - Skill required-state will now only be checked on cast-begin, not cast-end.
- Added a check in status_calc_pc to prevent player rate adjustments from from going below 0.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-31 01:10:36 +00:00
skotlex
83c639d54a - Removed sending normal-damage packets instead of skill packets for splash-damaged skills, since... well, that's how Aegis does it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 14:22:20 +00:00
skotlex
87d78eb976 - Updated HLIF_CHANGE to work as explained by Tharis -> It now adds 30*lv 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://svn.code.sf.net/p/rathena/svn/trunk@8547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 14:11:23 +00:00
skotlex
0f8fb18252 - Fixed char-sql compilation
- 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://svn.code.sf.net/p/rathena/svn/trunk@8546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 13:56:27 +00:00
skotlex
dfac028631 - Added a message to @clearweather stating when climate changes will dispel.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-30 13:40:10 +00:00
skotlex
20bb25e81d - Added printing out whenever the irc-module attempts to connect, to debug whether the map-server lag is due to this or not.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 18:42:11 +00:00
skotlex
499e88f059 - Mobs will now always chase players using hard-path seeks.
- 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://svn.code.sf.net/p/rathena/svn/trunk@8536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 18:29:37 +00:00
toms
66158f3bb6 - Applied Mpeg's work on GS
( http://gpegon.free.fr/ea/gunslinger_08-29-06_mpeg.txt )
- Fixed a syntax error in @showmobs


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 10:23:11 +00:00
Lupus
28b1fa6ff4 @showmobs = shows selected mobs on mini-map
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-29 05:52:34 +00:00
skotlex
7107181297 - Restructured CG_MOONLIT so that it is a ground effect like the other Encores.
- Modified SC_DANCING so that val1 can contain both skill id and skill lv, removed SC_MOONLIT


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 20:44:44 +00:00
skotlex
a45d7c414d - The memory leak reports will now print out in the logs also the revision they belong to.
- Cleaned up the scriptable npc-shop code, it should be crash-proof now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 19:22:13 +00:00
DracoRPG
0f0747d4c7 Added TK level-up buffs to SG too, and extended them to 10 min
Added "Barefeet Mastery" effect to TK_RUN
-> As always, big thanks to Tharis ;)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 19:09:46 +00:00
skotlex
af5ad1cfda - Changed the produce_db format, now there's a skill-lv column right after 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://svn.code.sf.net/p/rathena/svn/trunk@8523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:47:19 +00:00
Vicious
5cfee7525e reverted mpeg's work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:15:16 +00:00
skotlex
8de2aba3b4 - Reverted the "fix" to mdef reduction code being applied before the number of hits adjustment @.@
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:13:28 +00:00
skotlex
4120bc9c3b - Added a missing pair of lines to mob.c which mysteriously vanished on my last commit @.@
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:07:10 +00:00
skotlex
33cb9f7449 - Fixed exp bonuses applying twice for the job-exp
- 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://svn.code.sf.net/p/rathena/svn/trunk@8518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 16:03:23 +00:00
toms
f61e238ad7 Reverted Mpeg's change of NJ_BUNSINJYUTSU SCB
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-28 15:31:03 +00:00