9284 Commits

Author SHA1 Message Date
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
Playtester
91fca60514 Reverted the changes to Killer Mantis and Demon Pungus card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 12:42:25 +00:00
Lupus
a9d83af973 fixed new cards
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 09:12:06 +00:00
skotlex
827f003768 - Fixed standing up not really standing you up.
- Moved battle_consume_ammo to the end of skill_castend_damage_id, skill_castend_nodamage_id and skill_castend_pos2 rather than battle_calc_weapon_attack. They will trigger when the player's arrow_atk state is active and a ground skill was not invoked. It should fix all issues with splash/ground skills consuming ammo per target rather than once per skill use.
- Added structure state to the ground skills, their fields are magic_power, into_abyss and ammo_consume to indicate the states that were previously stored in val3.
- Corrected Desperado ammo consumption (should be 10)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 04:02:17 +00:00
skotlex
7f07476e22 - Implemented desperado as explained by Rockman-EXE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 00:33:37 +00:00
skotlex
f977066536 - Removed the unit_can_move checks in skill cast-end, they should be performed in skill_check_require when the skill's state is move_enabled.
- Changed extremity fist's state to move_enabled, the explosion spirits check is now hardcoded.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 21:21:00 +00:00
skotlex
9b6b46c455 - Absorb Spirit Sphere now gives +10SP per sphere as per discussions with Haplo.
- Changed a <= into a < in pc_steal_item. This means drops with 0.01% are impossible to steal unless you have at least 100% steal-rate (where steal rate is dex - opponent dex + skill_lv*3% + 10%)
- Cleaned up clif_parse_action_request to enable sitting/standing while in shops, interacting with npcs, etc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 19:53:38 +00:00
Playtester
46f0f49931 Lowered all card drop rates to 0.01% as they are in Aegis X.2
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 19:18:35 +00:00
Playtester
b8ace8dd17 Updating old/wrong mob drops to Aegis X.2 drops
- progress 10%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 18:56:30 +00:00
eaac
686cba8151 * Added kunai_maker.txt to make elemental kunais. [erKURITA]
* Added new npcs @ que_ng.gat ninja map portion. [erKURITA]
* Added new shops @ que_ng.gat ninja map portion. [erKURITA]
* Commented wrong shops @ amatsu.txt. [erKURITA]
* Added que_ng.gat ninja map portion's warp. [erKURITA]
* Modified and corrected the gunslinger quest. [erKURITA]
* Changed the prices of the ninja stones according to kRO. [erKURITA]

All the kRO related info is thanks to RockmanEXE

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 17:52:11 +00:00
skotlex
1839d33ce7 - Kaite now works against all types of spells.
- Kaupe now works against all skills.
- Sanctuary now won't damage non-enemies.
- Blessing now will always give you bonus stats even if you are wearing undead armor.
- Linking skills now have their cast-time reduced by dex.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 16:32:37 +00:00
skotlex
64618b2b98 - Modified how Rogue's treasure works so that you get +1% to your steal rate rather than +0.01% to the final rate.
- Rewrote Warmth to use ground-skill-units, it should behave now like in officials (implementation is not quite the same, but it should yield the same effects while consuming less bandwidth). "Stacking", as it's called, is possible now, but limited to eA's minimum timer skill interval (100ms).
- Modified NPC_POWERUP so that it gives +10 dex * skill level rather than +5+lv to all stats (as explained by Playtester and Tharis on how the skill behaves).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 15:02:29 +00:00
Playtester
6bad4dc105 Now Speed Potion gives doubled speed for 5 seconds as it should be
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 13:32:52 +00:00
Playtester
8edca874a2 Lowered the duration of Speed Potion to 5 seconds
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 07:58:16 +00:00
skotlex
de78454f67 - Fixed Jump Kick's range to 9.
- Allowed SG_FEEL memorizing the same map for all three.
- SC_FUSION won't end when you die now.
- Added knockback when you run into a wall during running. However position is not being refreshed on the client yet...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 03:59:59 +00:00
skotlex
ff981b5404 - Fixed pc_disguise not allowing you to "redisguise".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 02:05:20 +00:00
skotlex
4382529413 - Corrected a crash when sd is null in npc_event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 01:22:28 +00:00
reddozen
29db2f4743 added support to regulate MVP drops [Reddozen]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 00:20:17 +00:00