2551 Commits

Author SHA1 Message Date
skotlex
3dc2f37e5f - Cleaned up combo-skill implementation, SC_COMBO is automatically ended in skill_check_condition now.
- Modified TK-ranker infinite combos to behave as described by AuronX (it could use some optimization, since as it currently stands, it invokes the pc_istop10fame function twice per skill invocation).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 19:05:08 +00:00
skotlex
3d666eeb94 - Corrected Stun Duration for Meteor assault
- Made all Soul Link Spirit skills not be castable on self.
- Changed rate of NPC status effect skills to 50+10*lv% base chance (guessed)
- Changed max level of NPC status effects to 5


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 18:11:03 +00:00
skotlex
139b098c54 - Increased max number of tries to find a random spot in maps to 1000 since some maps have so many non-walkable tiles it's hard to find one in just 100 tries.
- Reduced Stun duration of multiple skills to 3 secs. Skills affected: Meteor Storm, Land Mine, Bash (fatal blow), Throw Stone, NPC_LICK, Raid, shield Charge, Cart Termination.
- status_set_viewdata will remove the Wedding Option status when you set a class that is not wedding. 
- Removed the Job_Novice range check in pcdb_checkid since it's causing warnings when checking versus vd->class_ (and when will we use a negative value class anyway?)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 17:33:24 +00:00
skotlex
aae1ae1832 - Fixed compilation error.
- idletime will now be updated on attack-request, not on sit/standup
- Party members sitting will no longer be considered idle.
- hide_gvg_damage will now send 1 instead of -1 as damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 16:19:02 +00:00
skotlex
3b5ab1ba35 - Removed SP_DISGUISE from the bonus list.
- Moved Sharp Shooting display to the block with Auto-Counter (since that's the other skill that can show critical as well)
- Corrected some fields in the still packet (guild emblem being stored as a Long when it should be Short)
- Modified most fields of view_data to be unsigned shorts rather than signed ones.
- On-Touch NPCs will now make you stop walking when you trigger them.
- Reduced stun duration of most skills to 3 secs.
- ShadowJump/JumpKick will make you land on the target's cell now.
- Fixed Kaahi triggering only once per skill duration.
- Added the kaahi_heal_timer to the list of status change functions.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08 15:11:25 +00:00
Playtester
0b78e1d58b Upgrading mob drops to X.2
-progress 25%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 18:54:56 +00:00
Playtester
9a3a2ae2c4 Updating drops to Aegis X.2
- progress 20%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 17:29:44 +00:00
killercube
de9e9d873e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6513 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-07 16:56:18 +00:00
Playtester
7ccf744633 Fixed Sea Otter Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6511 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 14:09:09 +00:00
Lupus
a866920e15 removed old logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 09:50:37 +00:00
Lance
dacea0478a * Optimized clif.c clif_scriptmenu/input/inputstr to check for sd->state.using_fake_npc before sending one (as it's not required to send twice).
* Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps players and still continues execution to work).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07 01:27:29 +00:00
DracoRPG
7237590875 * item_db scripts cleanup (use of if{})
* Changed Doppelganger Card to non-stackable

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 15:20:21 +00:00
Playtester
b77c0907b2 Fixed warp in the Turbo Track Room
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 09:15:19 +00:00
skotlex
1928c535ff - Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 06:16:13 +00:00
skotlex
8d57200659 - Changed @deletemail's default level 0. NO ATCOMMAND SHOULD HAVE A DEFAULT OF 0 >.<
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 04:29:15 +00:00
skotlex
91bae7f498 - Fixed a bug in @commands, most likely the reason some people were still getting crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 04:17:21 +00:00
skotlex
5d6f207df6 - Added missing include <limits.h> to npc.c...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 02:20:20 +00:00
skotlex
0ecb627a0d - Corrected the max level of NPC_DARKBREATH 10->5 (don't ask, I need these things right :P)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06 00:32:18 +00:00
skotlex
10e96bef2c - Fixed @commands not showing the last available commands (unless the total amount of commands is divisible by ten)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 23:44:57 +00:00
skotlex
db83032024 - Added a npc-script-event cache to avoid looking up event-scripts every time they need to be executed. Events cached are all those defined in script_config.
- Since the cache holds direct pointers to the npcs/events, do NOT unload the related NPCs or you'll get dangling pointers. However, @reloadscript will work fine.
- Set the etc_log to on to see a summary of npcs/events loaded for script execution on startup.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 23:22:16 +00:00
skotlex
82ae461fa7 - The Rest bonus activated by using /doridori while in rest should now trigger with all the class tree (TK/SL/SG)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 21:25:20 +00:00
skotlex
35eebe9f32 - Fixed Kaupe always triggering when the one who was under Kaupe was a player rather than the one attacking...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 20:14:13 +00:00
skotlex
266148ef5f - /doridori now won't double the HP/SP regen of TKs, it only activates their "happy" state.
- Added the -50 hit penalty when standing on Wall of Fog.
- Cleaned up status_calc_mdef2
- Uncommented the status_calc_mdef2 call in status_calc_pc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 17:57:37 +00:00
skotlex
88722161e5 - Being in Enjoyable Rest state will now also trigger the HP/SP Time skills (even if there's no other TK around).
- Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me)
- Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 16:30:47 +00:00
skotlex
940831871e - Kaupe now will only block all skills of players, for non-players, only normal attacks can be missed.
- Moved the Kaite spell-reflect code after the damage calculation function, so the reflected damage is exactly the damage the original target would have received. Will only trigger if the damage to be reflected is above 0.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 15:03:53 +00:00
skotlex
3c40302b29 - Added a check to prevent player invoked-endure from overriding infinite endure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 14:20:42 +00:00
skotlex
391e5359ad - OnEquip scripts will be trigger on log-on now.
- Infinite Endure will no longer give mdef bonus.
- Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to start/end infinite endure.
- Hammer fall's stun duration is now 1+lv seconds.
- Fixed Kaahi's SP cost per heal.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 14:13:03 +00:00
skotlex
740958837d - Now when walkdelay is set to 0, characters will stop walking when hit, but will not have any walk delay.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 12:39:28 +00:00
Playtester
1976e943d0 Removed drops from Bio Lab mobs than are not in X.2
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 09:59:10 +00:00
Zido
cc3dc433b9 - Read changelog.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 04:28:14 +00:00
skotlex
de9460b3ee - Fixed a possible infinite loop in skill_clear_unit_group
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 04:14:51 +00:00
reddozen
578f1bc99a fixed my MVP drop conf
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05 02:15:56 +00:00
Playtester
7f11a02127 Hopefully fixed npc/events/custom/uneasy_cemetery.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 22:03:55 +00:00
skotlex
352ba1bd12 - Some clean-ups in the mob_ai
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 21:41:51 +00:00
eaac
6366ef616f git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6476 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-04 20:21:02 +00:00
skotlex
96bafcccea - Cleaned up and used mob_skill_event function when hit by a ground-skill.
- Added one grace range in the mob_loot search function which should fix mob_can_reach failing when invoked with the same distance that distance_bl returned.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 20:19:03 +00:00
eaac
0003ede9a6 * Whoops, forgot to commit the update to the firecrackers. [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 20:12:00 +00:00
Playtester
a88a30b415 Fixed another typo in gunslinger.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 19:43:29 +00:00
Playtester
862b0c9c2a Additional gunslinger.txt fixes...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 19:15:03 +00:00
Playtester
31f6cea91a Fixed a missing " in the gunslinger jobquest script
-please test if the scripts crash the map-server before commiting them

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 19:06:27 +00:00
skotlex
9ee1030fe9 - All KA-spells are interruptable.
- Added a temporary SI_RUN state. Actual value needs to be found...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 18:21:21 +00:00
skotlex
b30e1fdda7 - Cleaned up the mob-random-walking code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 16:44:15 +00:00
skotlex
4ef4e4dc84 - Stun time for using ES magic on non-mobs reduced to 0.5 secs.
- Eska is now usable on bosses.
- Swoo will stun you if attempted on an already 'swooned' enemy.
- clif_skill_failed will print out a debug line with the skill_id (since the current null_po does not helps at all to fix it)
- Applied TheUltraMage's suggested fixes to the grfio module.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 15:18:30 +00:00
skotlex
6a983290bc - Rewrote Kaahi to behave as it should. It will hear whatever amount of damage accumulates in the time2 interval (500ms by default) after being hit.
- Changed skill_unit_move_unit_group to enable moving of all types of ground-skills except ensembles.
- Modified NPC_STUNATTACK: Max level is 5, stun duration is 1+lv seconds.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 14:17:51 +00:00
Lupus
3ba16c3eeb fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 03:52:24 +00:00
skotlex
eae69d7bf5 - Pair of almost insignificant changes in mob.c (removed a unneeded next_walktime set on loot-lock and usage of range2 rather than 3 for min_chase when locking an "attacked by" target)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04 00:19:49 +00:00
skotlex
0349c76984 - Kaahi now triggers every 500ms rather than on every hit (but it only heals if in those 500ms an attack that would previously trigger Kaahi has taken effect). In other words, it works just like before, except damage gets "buffered" into 500ms slots.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 19:47:10 +00:00
skotlex
01340a866e - Kaite, Kaute will now show a skill effect when they trigger.
- Fusion's cast time reduced to 0.
- Knowledge will now only trigger if you logon to the memorized map, not walk into it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 17:53:57 +00:00
skotlex
a312cf5d84 - Corrected @whomap directly invoking msg_table[] rather than msg_txt()
- Guessed where the pet data goes in spawn packet 0x7c
- Updated Charge Attack's state from none to move_enable.
- Made tomahawk an NPC_SKILL so that it may not be plagiarized.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 14:15:20 +00:00
Playtester
0beb8c1ccc Removed all Novice Job bonusses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 14:00:27 +00:00