skotlex
77e57852cc
- Added function map_search_freecell to locate an available cell around an area (for recall/warping skills)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 18:20:55 +00:00
skotlex
1c274744f9
- Added unit.c to the VC8 project file, thanks to Joshuaali
...
- Fixed Magnum Break/Grand Cross sending skill damage packets on every target.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 13:40:06 +00:00
skotlex
0f19e9bbe5
- Fixed a crash in unit_useskill_pos2
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 04:44:42 +00:00
skotlex
ba713905eb
- Updated mob_db.sql and item_db.sql to latest txt versions.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 23:26:42 +00:00
skotlex
a0f57cb668
- Fixed Devotion not properly being cleared on death/near death in some cases.
...
- Fixed Shield-Reflect not being correctly ended when devotion does.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 19:56:01 +00:00
blackhole89
cc7144bde5
"castnodex&~1"
...
aka, testing for castnodex having any bit in not 1 set instead of not having bit 1 set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 19:29:40 +00:00
skotlex
6eb8f2196f
- Modified pc_percent_heal to avoid overflow problems.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 18:21:36 +00:00
skotlex
e2fb7fab5c
- Changed the second entry in water_height.txt to use directly the rsw file, looks better :P
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 14:16:38 +00:00
skotlex
edc99399f6
- Fixed Potion Pitcher sometimes crashing the server.
...
- Fixed a compile warning by adjusting the acid demonstration formula.
- Added flag 2 to the skill_castnodex_db file for skills that shouldn't be affected by delay/cast reducing skills/effects.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 13:56:45 +00:00
Lance
7929d3b844
* Added SantaPoring's water_height.txt modifications.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 13:28:07 +00:00
Lance
b8116f49db
* Minor cleanups.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 07:08:31 +00:00
skotlex
240bc7aa64
- Some cleanup. Fixed function pc_isCardAllowedOn causing searches for non-existant item id 0.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 02:37:13 +00:00
skotlex
b6ff4970fa
- Changed Preserve's cost to 30sp
...
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS
- Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 01:56:52 +00:00
skotlex
7a8371273a
- Merged the unit_data structure from jA for handling unit-related data (attack times, walking, auto-attack timers, skill related data)
...
- Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable"
- Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type
- Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it.
- Cleaned up/rewrite of the pet ai, same for pet_calc_pos
- Implemented use of mob variable attacked_players as it is used on jA
- Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs.
- Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 23:58:16 +00:00
skotlex
7fac8ac102
- status_check_skilluse won't block skill-specific checks (silence, berserk, steel-body, etc) when the skill in use is an item-invoked skill.
...
- Merged LittleWolf's function to read the map-height directly from the rsw file.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 18:47:01 +00:00
skotlex
f5c4a9bbfc
- Some cleanups in irc.c
...
- Changed ASC_BREAKER's cast to 700ms
- Magic skills that ignore element now also don't take into account elemental cards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 14:08:03 +00:00
Lance
9e048bbd7f
* Fixed compiler warnings in battle.c
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 07:26:34 +00:00
Lance
a4bf5eb3d0
[reddozen's fix]
...
- Updated Full Buster's damage, status effects, and skill levels
- Bullseye now only uses 1 coin
- changed Adjustment's required SP
- changed Incerase Accuracy's effect bonuses
- changed Magical Bullet's SP cost
- changed Piercing Shot's damage and SP
- changed Desperado's range, hit count, aftercast delay, and SP
- fixed Absorb Spirit Sphere being able to remove coins
- changed Acid Demonstration's damage to the new Japanese formula
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 07:24:47 +00:00
LuzZza
aac4ec9ab4
Fixed duel in pk-mode (same party/same guild/alliance non-targeting issue).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 22:18:03 +00:00
LuzZza
12408e51c3
Fix on not showing guildmembers logins/logouts messages.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 17:46:27 +00:00
skotlex
a396cbebca
- Fixed the inf2 for BA_DISSONANCE
...
- Fixed SC_SWOO's opt3 value.
- Fixed allowing multiple recast of Dissonance/Ugly-Dance
- Fixed those annoying irc.c compile warnings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 14:06:00 +00:00
skotlex
ee1080a99f
- Added monster_ai&16 setting for executing the hard ai on ALL mobs in maps with players instead of just mobs in the vecinity of players.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 21:41:06 +00:00
LuzZza
cf7467c60b
Cleaned up some guild functions:
...
-Now guild leaving/explusion packets sends correctly.
-Fix to prevent creation alliance/opposition with same guilds.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 16:39:21 +00:00
skotlex
42de903b04
- @stfu now allows negative intervals to be specified, they increase manner instead.
...
- Added overflow fix to the login-server when sending GM accounts to char.
- Increased buffer size abit in check_ip (login.c) to see if it prevents stack corruption.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 15:38:00 +00:00
skotlex
5cc553de0f
- Small fix to prevent killer/killable states from allowing you to target yourself.
...
- Added Explosion Spirits to list of effects that dispel on logout.
- Fixed handling of guild skills by pc_blockskill_start, renamed it to skill_blockpc_start as it needs some constants available only in skill.c
- Fixed autoguard icon showing with stun.
- Fixed splash area of Ganbantein
- Fixed acid demonstration breaking shield instead of armor.
- Fixed Slim Pitcher crashing server ocassionally.
- Hopefully fixed Ankle Snare lasting the whole trap's duration
- Added sc_start(SC_ENDURE) on infinite endure bonus.
- Fixed Berserk Pitcher consuming required items twice.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 14:45:17 +00:00
Lupus
8b6d332af4
fixed items after blackhole89's fixes
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 11:11:04 +00:00
blackhole89
1b8704c0ef
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 10:51:14 +00:00
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