1937 Commits

Author SHA1 Message Date
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
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
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
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
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
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
skotlex
5a5d30b660 - Removed OPTION_XMAS, it seems to not exist....
- Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO) since it has a visual effect to use.
- Corrected the value of OPTION_FLYING
- Using SG_FUSION ends Soul Linked effect.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 00:06:58 +00:00
skotlex
a5b4b2d05e - status_setviewdata will set your option accordingly when the previous/new view-class is wedding or xmas suit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 22:07:15 +00:00
skotlex
14413f8ec6 - Added function map_foreachinshootrange, behaves the same way as map_foreachinrange, but it also performs a "shoot-path" check before invoking the function. Used in the skill subtimer function if skill_wall_check is defined.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 21:53:17 +00:00
skotlex
41aa178964 - Added -DMAPREGSQL to Makefile, commented out by default for now.
- Fixed AL_WARP displaying "Unknown Area" selections when you don't have all memo points used up.
- Fixed alive_count not being reset on skill unitsetting, which leads to some groups not being cleared once all their units expire.
- Optimized Kahii, will now only show the amount of HP healed. Moved to skill_counter additional effect so it may trigger even on miss.
- SKA no longer blocks skills.
- Modified the AM_TWILIGHT* skills to require 200 medicine bowls.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 21:14:27 +00:00
Lance
23a13eb1fc Dangling pointer~
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 10:19:49 +00:00
Lance
49fc4fe81d * Optimized fake npc system. Added npc_checknear back to npc_buysellsel.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 05:48:06 +00:00
skotlex
54d5c82e12 - Skills with the move_enable state won't get the walkdelay increased on a skill-cast.
- Changed TK_RUN's state from none to move_enable.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 05:01:15 +00:00
skotlex
0e382cb337 - Fixed a small typo/logic-error in pet_ai_sub_hard
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 04:19:43 +00:00
skotlex
c24b68e5eb - Some corrections in the clif_parse_whisper function which should fix crashes in the chat_log under "certain" conditions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 03:31:31 +00:00
Lance
147c06cb89 * Fixed dangling pointer in pc_steal_item (missing lines) causing crash.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 02:01:06 +00:00
Lance
7acd437879 * Fixed lack of initialization in chrif_authreq causing crashes in chrif_authok.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 01:55:17 +00:00
skotlex
42fae8721c - Fixed a logic error that was likely the cause of pet loot drops not working.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 20:39:13 +00:00
skotlex
f95ab0abbe - If someone is expulsed from a guild while the guild storage is open, it will be auto-closed now.
- Modified battle_consume_ammo to prevent consuming multiple arrows on AC_SHOWER.
- Readded script command skillpointcount. (who removed it? <.<)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 18:41:05 +00:00
skotlex
0c0fe1e647 - Merged the code of NJ_SHADOWJUMP with TK_JUMPKICK.
- Moved the hiding requirement to the skill_require_db.txt as it should be.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 17:20:31 +00:00
Lupus
d880305708 fixed STEAL. 8) and tested at lhz_dun03
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 14:11:27 +00:00
blackhole89
171ba4e902 Implemented NJ_SHADOWJUMP. Tell me if I forgot anything (especially DB entries).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 12:58:23 +00:00
Lance
2a6dc10d0b Fixed scripts relying on older event calling methods.. Still searching for other scripts..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 09:24:46 +00:00
skotlex
ffea9656f8 - Removed attack_type from sd->state structure (it's only use was for soul-drain!)
- Moved the soul-drain code to skill_counter_additionaleffect


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 06:01:16 +00:00
skotlex
9310d31229 - Fixed possible crash when mob drop logs is enabled.
- The drop log tables are useless now that mobs have more slots, that thing needs to be rewritten...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 04:58:52 +00:00
Lance
e70b7a0837 - and more typos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 03:23:01 +00:00
Lance
91ea6a4e09 Fixed typo in script.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 03:18:14 +00:00
skotlex
f73a093fc6 - Changed the HT_DETECTING method from invoking clif_changetraplook to clif_skill_setunit since in the first the client ignores the fact that it is now a trap (rendering skills like Remove Trap useless).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 21:08:29 +00:00
skotlex
f0fc466d8b - pc_resetskill flag can now be &2, it only returns the total amount of skill points spent, it doesn't does a reset.
- added script command skillpointcount. Returns total amount of skill points a char has (the value returned is the same that SkillPoint would have after invoking a skill reset)
- Modified Defender. Speed reduction is 35-5*lv%, damage reduction on devoted chars is 5+5*lv%. These values are custom, but should be closer to "reality" than what we have.
- When you have the wrong ammo type equipped, the equip arrows first message will be sent, as suggested by Haplo


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 20:51:07 +00:00
Lance
8043799642 - Cleaned up unused variables in npc.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 19:54:40 +00:00
skotlex
99a6cf0627 - Changed checks of item's identify field from 0/1 to 0/non-zero
- Corrected TK_JUMPKICK to place the caster on the tile next to the target rather than on top of it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 19:03:46 +00:00
skotlex
3c1a4c2b72 - Small change in pc_calc_skilltree which should fix the infinite loop...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 18:50:08 +00:00
Lupus
0b3804b8b1 temp steal disable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 17:49:31 +00:00
Lupus
cdffe16fba fixed STEAL. now working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 16:40:04 +00:00
LuzZza
c2276ce3e2 Added @noask command: enable/disable deals/invites autorejecting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 15:54:20 +00:00
Lupus
367dec7ccf temp steal disable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29 14:39:21 +00:00