summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-03-24- Fixed a crash in unit_useskill_pos2skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed Devotion not properly being cleared on death/near death in some cases.skotlex2-0/+3
- Fixed Shield-Reflect not being correctly ended when devotion does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5720 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23"castnodex&~1"blackhole891-5/+5
aka, testing for castnodex having any bit in not 1 set instead of not having bit 1 set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Modified pc_percent_heal to avoid overflow problems.skotlex1-18/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5718 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed Potion Pitcher sometimes crashing the server.skotlex2-37/+44
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23* Minor cleanups.Lance3-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5712 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Fixed compile error and missing field in the clone function.skotlex2-3/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Some cleanup. Fixed function pc_isCardAllowedOn causing searches for ↵skotlex1-11/+18
non-existant item id 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23- Changed Preserve's cost to 30spskotlex4-10/+5
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- Merged the unit_data structure from jA for handling unit-related data ↵skotlex24-5407/+3575
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- status_check_skilluse won't block skill-specific checks (silence, berserk, ↵skotlex4-35/+63
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22fixed Piercing shot, desperado, fullbuster damageVicious1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22- Some cleanups in irc.cskotlex2-3/+11
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22* Fixed compiler warnings in battle.c Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22[reddozen's fix]Lance3-34/+35
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21Fixed duel in pk-mode (same party/same guild/alliance non-targeting issue).LuzZza1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21Fix on not showing guildmembers logins/logouts messages.LuzZza4-46/+94
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21- Fixed the inf2 for BA_DISSONANCEskotlex2-10/+9
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5693 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-21warning msg typos fixLupus3-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Added monster_ai&16 setting for executing the hard ai on ALL mobs in maps ↵skotlex1-11/+19
with players instead of just mobs in the vecinity of players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Added a pc_stop_attack() invokation when starting SC_XMAS/SC_WEDDING.skotlex1-2/+3
- Increased the SC_WEDDING walk delay to double walk delay, instead of increasing it by 50% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Fixed "being able to cast" skills while dead.skotlex1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20Cleaned up some guild functions:LuzZza1-35/+46
-Now guild leaving/explusion packets sends correctly. -Fix to prevent creation alliance/opposition with same guilds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- @stfu now allows negative intervals to be specified, they increase manner ↵skotlex3-3/+13
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5683 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20- Small fix to prevent killer/killable states from allowing you to target ↵skotlex8-43/+52
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-20Heh. Took me quite a while to figure this out... but yeah. As of this ↵blackhole891-1/+2
revision, the change is at line 445 in status.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19* Fixed event_kill_pc to behave like what it should instead of another ↵Lance2-5/+30
replication of event_death. Added script function rid2name to convert bl ids to name. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-19* Recoded getmobdata script function. Fixed mob_damage typo sd -> mvp_sd. ↵Lance3-75/+138
Cleanep up confusing indentation in clif.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18added script function 'getmonsterinfo'Lupus1-0/+92
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18* Fixed warnings on compilers again.Lance3-2/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17- Removed a block of code from skill_check_condition that actually belongs ↵skotlex2-3/+4
to status_check_skilluse. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5651 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17* Fixed misleading and inaccurately documented events and added a missing flag. Lance5-25/+39
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5649 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17Corrected nullpo_retv -> nullpo_ret since npc_unload is int.Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17Reappropriate my previous fix on map_foreachiddb, it's npc_unload's problem.Lance1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5647 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17* Fixed npc_cleanup_dbsub not removing key and caused pointer being freed ↵Lance1-0/+1
problem. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17- Fixed handling of the char_gm_read config for packet 0x2af7 (reloadgmdb)skotlex6-20/+27
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5644 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17- removed auto-attaching of player-run scripts in initnpctimer. You must use ↵skotlex1-1/+1
attachnpctimer! - updated juperos elevator script to invoke attachnpctimer as it should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17* Another compiler warning...Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17* Final fix on Juperos NPC.Lance4-2/+11
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-17* Fixed compiler warning in script.c get_mob_data.Lance1-25/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16A small fix.MasterOfMuppets1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16Update NJ_ZENYNAGE to deal a random ammount of damage depending on its skill ↵MasterOfMuppets1-2/+6
lvl. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16- @kill_monster/@kill_monster2 won't touch Guardians/Emperium now.skotlex1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16- Small change in the random item reading function, may fix @itemdbreload ↵skotlex1-0/+2
messing up random item searches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16Restricted the use of GS_BULLSEYE to demi-human and brute targets.MasterOfMuppets1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16* mob_chat_sub fix. Added buildin_pcblockmove. Lance5-18/+37
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16* BL_PC and BL_MOB control script commands (experimental).Lance7-4/+421
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16* Made an adjustment to addspiritball() to allow Gunslingers to summon up to ↵Lance2-30/+40
10 spheres [reddozen] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16- Fixed Tarot Card of Fate using time instead of time2 which is the one that ↵skotlex2-22/+22
actually holds the effect duration. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5623 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16- Fixed mob random walk interval being set to up to 6K seconds in some ↵skotlex2-3/+3
instances. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5621 54d463be-8e91-2dee-dedb-b68131a5f0ec