summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-03-03- Trick dead now ends on logoutskotlex8-14/+46
- Added mapflag nocommand which blocks @/# commands unless your gm level is above gm_skill_unconditional's level. - Fixed weapon scripts not being executed unless the weapon was forged. - gm_skill_unconditional is now a no/gm-level setting instead of yes/no git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03- Fixed typo in script.cLance1-11/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03* IDE error.Lance3-44/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03- Small fixes on mob_skill_useskotlex1-3/+9
- slaves inherit speeds will only work if the master can move. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03- Added the skill-related variables to pet_data, removed the pet skill delay ↵skotlex4-48/+27
structure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-03- Fixed a stupid typo that disabled all pet support skills from ever ↵skotlex1-1/+1
triggering (except ground-based ones) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- status_check_skilluse cleanup. Some status will only block skills when ↵skotlex2-18/+27
they are first used, not on cast-end (which includes auto-spells and ground-skill checks). Added flag 2 to signal splash/aoe effects (skill already casted, but target just affected) - Gravitation now only affects the caster, should have also fixed the skill not doing damage when skill_caster_check is set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Hopefully fixed the compile error due to the mapregsql_handle...skotlex1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)skotlex7-24/+89
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Some cleanup on mob_can_reach code to prevent unnecessary path-searchingskotlex3-43/+56
- Optimized the path-searching ai for mobs to try target cells around the target in order rather than randomly picked cells. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Applied Snufkin's patch to fix compilation on FreeBSD.skotlex3-2/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Fixed mobs targetting themselves after using a support skill.skotlex1-3/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Gospel no longer blocks item usage of whoever is in the area of effect.skotlex3-27/+44
- Added the long/near attack_def_rate card effects to battle_calc_magic - Cleaned up a bit the slim pitcher code. - Elemental fields should vanish on map-change now. - Land Protector only blocks magical skills. - Adjusted the duration of blind/bleeding of Meteor Assault git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Fixed item pickup not picking anything unless you were in a party with ↵skotlex3-11/+13
item distribution set o.O git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02* Made it so players that are at the max level do not receive EXP. This ↵codemaster1-20/+34
makes it so a player at the max level (ie - 99) cannot join a party and feed all of his or her EXP to the other party members [Codemaster] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02* Mapregsql will now fully depend on mmysql_handle.Lance1-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02* Optimized strcharinfo to use switch. Looks like Skot fixed the crash ↵Lance1-57/+132
already XD. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02- Some cleanup of the mob skill reading. Added error reporting for unknown ↵skotlex1-15/+28
states/conditions, error reporting now specifies the file and line number. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01- Silence will only block skills when they have begun casting, not when the ↵skotlex3-8/+20
cast bar is done. - opt1 status will block skills when they are done casting only if the sc_castcancel option is set. - strcharinfo now returns blank instead of crashing the map server when there's no player attached. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01- Added sql init for the mapreg handle.skotlex1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01- Checked and fixed the script engine barking when you try to have a label ↵skotlex2-111/+34
with the same name as a const.txt defined parameter. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01- Turn Undead and Offensive Resurrection should now work on undead players.skotlex9-117/+154
- Fixed the range checking of Repair weapon - Rude attacked is now also triggered when you hit a target that can't move out of their melee attack range. - Mob ai will attempt to do a long-range attacked condition skill before unlocking a target when it is attacked and said target is out of melee range of a non-walking mob. - Corrected mobskill event to set the target_id before triggering. - Moved MSC_SKILLUSED trigger to mobskill_event which is triggered in battle_calc_damage. It is also triggered on skill_castend_nodamage_id - Added party_share_loot for handling party-share loot. it should now work with autoloot as well. - Fixed skill_break_rate breaking stuff even if the rate is 0. - pc_stopwalking will not send a fixpos packet if you are sitting. - mob_can_reach rude-attacked condition now uses the mob's field of view. - SC_NOCHAT is automatically started on pc_authok if manner is negative. - Map server now refuses to start if you try to define a label with the same name as some const.txt defined character parameter. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01Some small changes in LAN support code.LuzZza1-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01* Added script command 'setbattleflag'.Lance1-1/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01* Corrected a few Compiling Warnings [Codemaster]codemaster5-6/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01* Added the ability to select GM loading via Login (default) or Char ↵codemaster2-64/+131
[Codemaster] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28* Added autoequip flag check (added script command 'autoequip' to manipulate ↵Lance3-0/+18
in script.c) for pc_takeitem in pc.c If it impacts on perfomance, please remove it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28* Added script command 'equip' to equip items.Lance1-0/+29
* Fixed dependancies in map-server compiling (VC7.1). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28Rewrote LAN support code. Changed configuration file name lan_support.conf ↵LuzZza8-304/+295
to subnet_athena.conf, changed it syntax. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24- Prevented guild/party recall to work on GMs of greater level than yourself.skotlex1-0/+8
- Prevent muting players with higher GM level than yourself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24- Fixed Lady Tanee's spawns.skotlex1-3/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5385 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24- Fixed the CL_WHITE define, thanks to FlavioJSskotlex5-23/+13
- NPC break equipment stuff now has a 1.5% per skilllv success rate. - pc_setpos won't random warp players if placed on top of Moonlight Petals - Removed the check in clif.c for npc_shopid as the client never sends a packet when the trade is cancelled... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24- Player-summoned mobs won't level up now.skotlex6-32/+23
- Fixed Super Novice explosion spirits triggering no matter what you said on the third line. It now triggers on the fourth line.... - Fixed GTB blocking targetted spells when gtb_pvp_only was set. - Merged the code of Ankle snare and Spider web. It no longer moves target if sc failed. - Players should stop walking as soon as they start vending or get into a chat. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23- Added mob skill conditions myhpinrate and friendhpinrate for using HP ↵skotlex4-21/+36
ranges instead of a fixed "less than" condition. - Added mob_ai condition &16, enables skills that are normally used on 'friends' to also pick up caster as target. - Fixed npc_shopid not being reset to 0 when buying/selling. FIXME: The client sends a packet when you cancel? It is required so that npc_shopid will be cleared and prevent the player from being stuck. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23- Modified the way autospells stack to mimic official servers. Cards of the ↵skotlex9-155/+106
same ID cannot stack, but different cards with the same skill can each trigger indepedently of each other. - Added battle_config autospell_stacking to enable stacking of cards of same ID. - Moved card-specific battle options to items.conf - Autospells triggered when hit will check the range to the target. - Some cleaning up of status_calc_pc - In status_change_start capped the passed success chance to 100% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22- Windwalk's bonus is now +5 miserable flee.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22- Removed pc_break_equip, added function skill_break_equip which handles ↵skotlex5-112/+113
rates, defenses and all that. On non-players it causes the strip effect for the corresponding skill lv1. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22- Changed the MAX_MOBSKILL value to 50 to give some 'breathing' room.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22- Added map chk cells types CELL_CHKREACH and CELL_CHKNOREACH, they are the ↵skotlex7-93/+145
same as their PASS/NOPASS equivalents, but will ignore the cell-stacking mod when enabled. - Updated path.c with jA's implementation, which should make long path searching more efficient. - Also added some typedefs from jA for the common structure types (PC/MOB/NPC, etc) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Fixed all skills getting range 0.... (except close confine which got range ↵skotlex1-1/+1
1 :X) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Some cleanup in skill.c, moved the icewall flag check to skill_notok.skotlex1-24/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Modified party_send_movemap and guild_send_info_short to send the ↵skotlex4-24/+81
mini-dots to the player logging on. - Added functions clif_party/guild_xy_single to send the xy dots to a single fd. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Fix to prevent using main chat when it disabled in atcommand_athena.LuzZza3-5/+5
- Fixed message codes in duel functions. - Small fix in log_refine, incorrect compare expression. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Some fine-tuning of the warp portal code which prevents it from messing up ↵skotlex2-14/+30
other skills if you "precast" it. - Fixed the weapon refine code using sd->skillid instead of sd->menuskill_id - Fixed some npc_event error reports (three error where displaying at the exact same msg, making it impossible to tell which one of the three actually happened) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Vending is now cancelled on a pc_setposskotlex4-16/+19
- Pressure again ignores Basilica. - Fixed attacker's sc being nulled when the target's sc is empty. - Slaves now do a battle_check_target to check if the new target is an enemy when acquired through sd->skilltarget. - Fixed SC_SKE halving defense2 twice. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-21- Oh yeah, made Super Novice explosion spirits trigger when the last phrase ↵skotlex2-2/+1
is said, no need for extra junk. - Now the default delay of amotion is applied only for BF_WEAPON, non NK_NO_DAMAGE skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- Added back the char-sql server sending the GM list when the map server ↵skotlex3-4/+5
connects. - Fixed a bug in the add_timer_interval error reporting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- Play-dead and Basilica now do block Gospelskotlex3-44/+23
- Map SQL server will no longer ignore the gm-list packets received from char. - Login-SQL server will not free the current GM listing if the SQL reading of it failed. - Login-SQL will now read for the GM list ALL accounts with level above 0, not just those with level above min_gm_level (just like the TXT server does) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- SC_NOCHAT won't be cancelled on death.skotlex2-39/+44
- Cleaned up the global message function. SN Explosion Spirits will no longer trigger in maps where said skill is unavailable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20- Close confine won't get the bonus range on cast as other skills do due to ↵skotlex2-2/+3
exploits. - Fixed a bug in setnpctimer checking out the wrong variable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5347 54d463be-8e91-2dee-dedb-b68131a5f0ec