2169 Commits

Author SHA1 Message Date
skotlex
6bdbd8646b - Walk/move functions will abort now when an area npc script triggers and moves the character out of the map.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 03:37:02 +00:00
skotlex
e0b741df28 - Fixed Grandcross/Granddarkness showing no skill animation.
- Fixed mob-casted grandcross doing nothing unless the target was "self"


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5749 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 23:28:45 +00:00
skotlex
cafe894ecc - Fixed a pair of "Conditional jump or move depends on uninitialised value(s)", thanks Valgrind!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 21:59:12 +00:00
skotlex
57b2638e54 - Added a missing escape in logging chats.
- Increased a bit the size of skill-related arrays.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 21:46:49 +00:00
skotlex
13e8924fa0 - Incremented the number of iterations to find a random stop to 100 as 50 seems to no be enough for certain maps.
- Fixed iteminfo only displaying first result when there were many.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 03:19:47 +00:00
skotlex
3c082b1744 - Fixed pet hatching.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 02:34:20 +00:00
Vicious
a46ee44135 a bit more const work for valkyrie
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 00:11:33 +00:00
skotlex
77d83918bf - Small change that SHOULD fix the pet duplication. Fixing pet incubator still isn't done...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5741 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-25 00:05:47 +00:00
skotlex
ec6a69b266 - Fixed Warp Portal.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5740 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 23:58:40 +00:00
reddozen
7f2dafc887 * Fixed / finished most of Gunslinger [Reddozen]
- fixed some bullets in the item DB
  - adjusted a few rates in skill_cast_db.txt for Gunslingers
  - adjusted a couple skills in skill_db.txt to act correctly
  - adjusted all the SP values for Gunslinger skills
  - changed piercing shot to lv 5 from lv 10
  - made ki Translation fail giving coins to Gunslingers
  - equipping a weapon other than a gatlin gun should cancel SC_GATLINGING. Also made Gatlinfeaver on/off togelable
  - GS_CRACKER will no longer stun players
  - added GS_Disarm

* View changes here:
http://diviniaro.com/data/reddozen_3_24_2006.patch

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 23:13:37 +00:00
skotlex
323a04f86d - Modified script commands atcommand/charcommand to execute even if there isn't a player attached. They'll use a dummy player data with the same position/name as the script's owner (usually an npc)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 21:02:44 +00:00
skotlex
e324977ed8 - Cleaned up a bit the npc undercharging item warning to specify when it is displaying overcharge/discount prices instead of the actual values. It should also prevent overflows.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 20:44:36 +00:00
skotlex
b394c61da7 - Some cleaning around the return to egg code. Pets should stop duplicating now.
- Some cleaning of the egg hatching routine to prevent spawning the pet if the egg can't be found in the inventory.
- Removed some autoadded data/ strings in grfio.c module to see if it helps with the data_dir configuration.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 19:29:25 +00:00
skotlex
b258d0485e - Another mob_summon fix. Slave summoning SHOULD be working now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 18:52:41 +00:00
skotlex
88541a357c - Fixed skillidx not being set whenever a mob uses a skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5734 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 18:46:47 +00:00
blackhole89
5fe56e275c Replaced !sd->special_state.nocastcancel2 && something to (sd->special_state.nocastcancel2 || something).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 18:35:14 +00:00
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
38a6abcd3f - Some small, insignificant code cleanups in unit.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 14:16:54 +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
Lupus
01b4c11cb6 fixed Vulle's hat
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 11:38:46 +00:00
Lupus
042249ed51 added missing )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 05:36:24 +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
Vicious
56ba8dad2d Updated Valkyrie NPCs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 23:44:15 +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
afee4446f9 - Fixed compile error and missing field in the clone function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 03:53:24 +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
Vicious
9bd5db1642 fixed Piercing shot, desperado, fullbuster damage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 17:39:11 +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
Lupus
dcd86e9161 elemental converters ingredients update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 06:16:15 +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
Lupus
d740947921 warning msg typos fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 11:50:27 +00:00
Lance
d8aebfa933 * Some minor issue on Payment Healer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 11:01:46 +00:00
Lupus
d314909d79 updated mystcase card effect. now drops GB even with the combo set on
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21 06:41:13 +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
skotlex
24315a9cb6 - Added a pc_stop_attack() invokation when starting SC_XMAS/SC_WEDDING.
- Increased the SC_WEDDING walk delay to double walk delay, instead of increasing it by 50%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 20:26:37 +00:00
skotlex
1223d1adfe - Fixed "being able to cast" skills while dead.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20 20:15:37 +00:00