256 Commits

Author SHA1 Message Date
blackhole89
4a97fa83a3 Heh. Took me quite a while to figure this out... but yeah. As of this revision, the change is at line 445 in status.c.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 10:36:47 +00:00
Lance
bfe227ac7d * Documentation update on NPC whisper and rid2name.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19 05:44:41 +00:00
Lance
0e1c1ec72e * Fixed event_kill_pc to behave like what it should instead of another replication of event_death. Added script function rid2name to convert bl ids to name.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19 05:14:59 +00:00
Lance
c44e8e1175 Replaced getmobdata to setmobdata in changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19 04:38:21 +00:00
Lance
6ef4e75bb4 * Recoded getmobdata script function. Fixed mob_damage typo sd -> mvp_sd. Cleanep up confusing indentation in clif.c.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19 04:36:53 +00:00
Lupus
9a51949029 added script function 'getmonsterinfo'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18 14:41:02 +00:00
Lance
4c65151fb5 * Fixed warnings on compilers again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18 01:43:46 +00:00
Zephiris
562a64fee0 * Fixed the mob_skill_db by commenting out lines with targeted skills being cast during an idle state. (Thanks to LittleWolf) [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18 01:07:20 +00:00
skotlex
22c298e647 - Removed a block of code from skill_check_condition that actually belongs to status_check_skilluse.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 18:58:41 +00:00
Lance
e804a51220 * Fixed misleading and inaccurately documented events and added a missing flag.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 16:47:21 +00:00
Lance
fc71db55ba * Fixed npc_cleanup_dbsub not removing key and caused pointer being freed problem.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 16:09:47 +00:00
skotlex
cee086fece - Fixed handling of the char_gm_read config for packet 0x2af7 (reloadgmdb)
- Added battle_config debuff_on_logout which removes Asura's SP regen delay and Strip-Equip effects on logout when set to yes (default).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 14:09:54 +00:00
skotlex
a8aba5331a - removed auto-attaching of player-run scripts in initnpctimer. You must use attachnpctimer!
- updated juperos elevator script to invoke attachnpctimer as it should be.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 13:42:14 +00:00
Lance
ceea8fde6c * Final fix on Juperos NPC.
* Fix on initnpctimer not attaching rid.
* Fix on OnTouch ignoring -1 NPCs.
* Fix on @reloadscript crashing due to passing non BL_SKILL bl to a function that accepts only BL_SKILL bl.
* Added area NPC detection in clif_parseLoadEndAck.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 06:39:58 +00:00
Lance
2d6182f027 * Fixed compiler warning in script.c get_mob_data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 03:47:08 +00:00
Lance
a3768f881a * Temperory resolved issues on Juperos until I get the exact description on the behaviour in retail servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17 03:40:49 +00:00
MasterOfMuppets
49ac4b2386 Update NJ_ZENYNAGE to deal a random ammount of damage depending on its skill lvl.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 23:01:54 +00:00
skotlex
6010f9a74c - @kill_monster/@kill_monster2 won't touch Guardians/Emperium now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 21:34:12 +00:00
skotlex
0ada26b85f - Small change in the random item reading function, may fix @itemdbreload messing up random item searches.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 17:29:23 +00:00
MasterOfMuppets
22daa51d05 Restricted the use of GS_BULLSEYE to demi-human and brute targets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 16:25:23 +00:00
Lance
d5cf7d95e0 * mob_chat_sub fix. Added buildin_pcblockmove.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 16:08:01 +00:00
Lance
46bdee18f9 * BL_PC and BL_MOB control script commands (experimental).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 15:39:49 +00:00
Lance
3e1af99395 * Made an adjustment to addspiritball() to allow Gunslingers to summon up to 10 spheres [reddozen]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 06:48:37 +00:00
skotlex
0c244d241b - Fixed Tarot Card of Fate using time instead of time2 which is the one that actually holds the effect duration.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 02:38:47 +00:00
skotlex
7571250c04 - Fixed mob random walk interval being set to up to 6K seconds in some instances.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 02:17:48 +00:00
skotlex
8955a37a9b - Added mapflag nodrop, fixed mapflag notrade.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 21:07:00 +00:00
skotlex
1619899ed2 - Small fix on status_change_start
- Likely fixed Gravitation not hitting except for the last hit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 19:25:22 +00:00
skotlex
8e1ec0bf39 - Removed the hardcoded duration of 30seconds for sleep.
- Fixed rangecheck for pet skill usage of INF_SELF_SKILL
- Removed inall/exall from atcommand.conf since those two do not exist! (pointed out by Ancyker)
- @me now uses entry 270 in msg_athena as output format.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 18:33:32 +00:00
skotlex
f5ff59a033 - gm_skill_unconditional setting now also overrides skill_partner_check setting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 16:16:12 +00:00
Lance
25d8aba1fe * Emulated strtok_r functions to work strictly with ANSI compilers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5611 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 15:27:58 +00:00
skotlex
b9b10700aa - Added battle config options item_rate_adddrop, item_drop_add_min and item_drop_add_max to control drop rate of card-acquired loot bonuses.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 14:58:04 +00:00
skotlex
b0515272d9 - Added item_db2.sql and mob_db2.sql, thanks to Joshuaali
- Added more usage of msg_athena on the slave atcommands.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 14:00:32 +00:00
skotlex
e0dc8cf506 - Fixed twilight pharmacy dropping 1 item to the ground instead of the qty produced. Thanks to k3dt
- Fixed Plagiarism not working unless you had some sc active.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 13:35:59 +00:00
skotlex
40a34b3912 - Fixed a possible crash in Venom Splasher if the countdown is too high.
- Small cleanup in clif.c hoping that it'll fix a mysterious crash.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-15 02:55:50 +00:00
skotlex
68e0a223ff - Fixed skill_notok blocking guild skills
- Fixed Napalm vulcan's time2 entry in the skill_cast_db
- Removed a pair of debug switches that shouldn't be needed anymore.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5604 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 23:52:01 +00:00
skotlex
f7884c6c52 - Fixed the average_lv column size specification. Thanks to Joshuaali (upgrade_svn5607.sql)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 21:30:24 +00:00
LuzZza
40753b24b1 - Updated @rura/@warp. Now you can use both "@warp mapname x y" and "@warp mapname,x,y".
- Added command @tonpc (warp to NPC).
- Fixed @where at-command.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 20:28:10 +00:00
skotlex
c22cfd5ae8 - Fixed WZ_WATERBALL + HW_MAGICPOWER
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 19:30:42 +00:00
skotlex
2f09d39c17 - Fixed incorrect range check in autospell2 triggers.
- Modified Wedding recall skills to behave as in officials.
- Modified Arrow Shower to be a ground-based skill and work as it should on officials.
- Fixed skill_additional_effect triggering every time you were being hit even if no damage was returned.
- Fixed battle_calc_damage_return to make magic damage be returned by 100%, and received damage nullified


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 17:51:42 +00:00
skotlex
26841613d9 - Status_check_skilluse again does the status_isdead check, but only on non-skills checks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 14:23:59 +00:00
skotlex
7509afab42 - Fixed player auto-attack not cancelling when dead.
- Some cleanups in skill_unit nooverlapping code.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-14 13:38:49 +00:00
skotlex
236bb687c9 - Finished some checks to make sure Land Protector Only blocks BF_MAGIC skills. Hammerfall is no longer blocked.
- Some adjustments to what Dispel can remove.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 21:04:53 +00:00
skotlex
d842b9f68d - Fixed script command warpparty looking for an attached player even when it is not needed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 20:16:27 +00:00
skotlex
6e2b036285 - Shield Reflect is now passed through Devotion as well.
- Devotion won't work on guildmates now (only party-members)
- Devoted to characters lose the devotion effect when the Crusader is at less than 25% Hp.
- Changed Gravity Field's element to earth so that it may hit hidden chars.
- chrif_scdata_save will not send a save scdata request when the char has been already tagged as in the final save.
- Cleaned up status_change_start a bit to make status_change_end calls on a separate switch, before it is cancelled by the switch about "sc already active". If it fails because the sc is already active, now it returns 1.
- Cleaned SC_SUITON a bit to get rid of that compile warning.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 18:50:35 +00:00
skotlex
2f1e8fcdaa - Added function battle_calc_gvg_damage for gvg related damage reductions. Fixes Gravitation being reduced as well as Pressure overriding max-castles restriction.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 17:26:45 +00:00
skotlex
f5359b3bbc - Corrected char-server parameters so that the subnet config file is the third parameter, not the second (which was conflicting with inter_athena.conf's argument), thanks to foobar.
- Fixed TK and Soul Linker's position of their job entry in exp2.txt, thanks to Coltaro.
- Fixed NPC_GRANDDARKNESS targetting the enemy instead of yourself in mob_skill_db.
- Fixed Grandcross's hit and range entries in the skill_db (it had hit 5? that wasn't even a valid value from the description)
- PR_BENEDICTIO now ignores mdef
- Removed the status_isdead checks from status_check_skilluse, they are now done only on the skill_castend_* functions.
- Fixed NPC_SELFDESTRUCTION not doing the correct damage to oneself.
- Fixed chatlog's x/y column capacity.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-13 14:49:16 +00:00
skotlex
0e82adb9bf - Updated clone skill copy to consider combo-skills.
- no_spawn_on_player won't work on mobs with no respawn delays now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-12 23:00:44 +00:00
skotlex
dd2012602d - Cleaned up the Skillbreaker implementation, HP gaining happens at level 5 now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 21:11:45 +00:00
skotlex
5f8c670ba3 - Added a few dummy times in skill_cast_db for some GS skills.
- Autoskills now won't trigger on maps where said skill are not allowed.
- Some compilation warning fixes


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 19:26:56 +00:00
skotlex
8fe81d12a3 - Changed div behaviour. Skills with div above zero will get their total damage increased by the number of hits, div less than zero is just for "show", total number of hits displayed is abs(div), but damage isn't increased by number of hits.
- Adjusted several skill damage equations to make up for this.
- Moved the Shield Chain soul-linked bonus to the second layer.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 18:16:47 +00:00