summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-11-16- Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds. ↵skotlex3-16/+20
Fixed Kirikage so it first warps you, and then you unhide. - Corrected Zeny Nage so the Zeny spent on the attack is always the exact same value as the damage you are dealing. Also corrected it so it does half damage when used on players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16- Overlapping song/dances will now cause dissonance/ugly-dance level 1 ↵skotlex3-4/+7
instead of retaining the level of their song/dance. - Fixed the misleading description of what item_avail does. - Fixed wrong check in @petrename, thanks to The Ultra Mage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-14- Characters with Karma may fight amongst them anywhere.skotlex7-12/+117
- Added mapflags partylock and guildlock, which lock the state of the parties/guilds on said maps. partylock blocks user party requests to create/invite/leave/kick, while guildlock blocks user guild requests to create/invite/leave/expel/make alliance/make opposition/delete alliance/delete opposition/break git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-14- Reverted the hp conversion formula "fix" as it was correct before.skotlex1-1/+2
- Increased the trigger rate of Warmth skills from 500ms to 200ms. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-13- HP Conversion will fail when used at max SP. It should not display any ↵skotlex4-9/+24
errors to the client. - Modified yet again the login procedure. The initial status_calc_pc is invoked when the variable registries arrive, but the initial LoadEndAck will not be parsed until the registries have arrived. In the rare case this happens, pc_reg_received will take care of invoking the LoadEndAck function itself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-13- Volcano/Deluge/Violent Gale are now interchangeable, in the sense that as ↵skotlex4-21/+27
long as one of these is out, casting any of the three will not consume gems, and will use the remaining time of the previous one. In turn, Land Protector will now always consume gems on every cast. - Small cleanup in the Land protector code which may fix it not blocking AoE skills. - Fixed the interpretation of "head_dir". Removed setting head_dir to match character direction in the whole code. Now it is only reset to 0 (look forward) when unit_setpos is invoked, or when a character begins walking. Thanks to FlavioJS for figuring out how the client parses the head direction. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-13* Moved status_calc_pc back to pc_authok.Lance1-3/+4
modified Changelog-Trunk.txt modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- Fixed some line delimiter issues in script.cskotlex2-43/+42
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- Deluge/Violent Gale/Volcano tiles will now fail to be placed on cells that ↵skotlex2-4/+15
are already ocuppied by anything else. - status_is_immune will now return 0 or the amount of immunity of the target. In which cases it returns 100 for WoH and the GTB bonus when they have passed the gtb_sc_immunity setting. This enables targetted spells to not "fail silently" unless GTB's magic reduction is 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- Fixed Homunculus being spawned as soon as they arrive from the char-server ↵skotlex1-1/+2
even if the Master has not spawned on the map yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9193 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- AL_TELEPORT now fails when used on top of Land Protector.skotlex2-5/+8
- Some minor cleanings in pc_setpos, it may (or not) help fix that homunc-caused "map_addblock" error message. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- Removed the inf2 = TRAP of FirePillar and Spider Web so they are blocked ↵skotlex1-22/+32
by Land Protector. - Renamed skill_landprotector to skill_cell_overlap since that is more coherent with what that function does now. - Corrected fog of wall, so that the deleted/doubled-duration effects are calculated on a cell-by-cell basis. - Updated Land Protector: It will now delete/block effects of ALL ground skills EXCEPT: Song/Dances/Traps (encores are still blocked). Land skills blocked/deleted by LP also can't be casted on top of an existing LP. The code uses the inf2 value of the skill to determine if it is a song/dance/trap. - Ganbantein, mimicking LP, will now also remove ensembles. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-10- Fog of Wall will fail when casted on top of a Volcano/Violent Galeskotlex2-19/+26
- Applied FlavioJS's fix to the npc whisper system. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-09- Fixed status-change loading not working.skotlex5-6/+6
- Fixed permanent mob-spawn script-events not working. - AL_CURE won't confuse undead players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9187 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-09- Reduced the check area of hermod to 3x3, you now have to literally stand ↵skotlex2-7/+11
next to a warp for it to work. - Corrected the Fog of Wall check so that it lasts 2x when it is placed on TOP of a suiton/deluge, not when the caster is on top of them. - Updated status_check_skilluse so that when the caster has a disabling status change (stun/petrify/etc) it will block the skill in all cases EXCEPT on cast-end when the skill is ground-targetted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-09Fixed Health Conversion skill formula bugLupus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9181 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-09- Fixed Desperado's hit-rate.skotlex3-22/+20
- Some miscellanous cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-08- The GVG map-packet will now also be sent for guild dungeon maps.skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-08- Did some cleaning in pc_authok and clif_parse_LoadEndAckskotlex2-99/+105
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-08- Some cleaning of the Gospel code.skotlex3-37/+72
- Added clif_gospel_info which displays info about the buffs you are receiving. Thanks to Rayce for the packet information. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-08- Moved the duel functions to pc.c since they are so totally out of place in ↵skotlex13-216/+231
atcommand.c - Fixed Spider Web not ending when hit by a fireelemental attack. - Cast-time reductions from status changes will not be executed until right before casting, to prevent status changes from ending when attempting to cast and the attempt fails (invalid cells, not enough sp, wrong target, etc, etc) - Added check to prevent Wand of Hermod from seeking for a partner to encore, since the partner is supposed to be the warp. - Moved the duel auto-reject on logout from map_quit to unit_free - Corrected the mob spawn reading code so that the event-name can be up to 50 characters long (which is the actual event length) and so that it can read spaces within them, it will also strip the leading/trailing quotes if you use them so that the event is actually found on mob-death (so you can do stuff like "My NPC::OnDead" as a valid event). - Moved the homunc inherit speed from the master from status_calc_pc to LoadEndAck, since the hom's speed matches that of the master each time the master changes maps. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07- A few reorders and type-changes in the map_session_data structure for ↵skotlex1-8/+7
better memory allocation of the variables. Also fixes a size conversion warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07- Applied FlavioJs's patch which enables colored console output for Windows ↵skotlex3-21/+57
systems. It also includes a config setting called "stdout_with_ansisequence" with which you can turn off the color codes (in case you are logging all output) - Added error reporting when the max number of ground unit cells has been reached (this may be the reason why sometimes it fails to recognize when you step out of a song/dance/encore) - Added passing the Endure effect to other devoted people. Note that the "hit count" is individual for each character, and only when it ends on the Crusader himself will that force it to end on everyone else. It also will not transfer on gvg grounds, but it does transfer in pvp. - Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07- Fixed a fake nullpo when parsing the reply to a guild alliance request.skotlex1-3/+7
- Fixed the position of a nullpo in guild.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07- Added a check to prevent casting ground skills on a target and vice-versa ↵skotlex1-7/+12
when said skill use packets are received. It really shouldn't be exploitable, but doing that certainly makes the server print a lot of "unknown skill used!" messages. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9163 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07- Fixed map_foreachiddb and map_foreachpc so they don't encapsulate the ↵skotlex9-50/+58
variable arguments into a double va_arg list. Thanks to the Ultra Mage for the tip. - Cleaned up the clif_hate/mob_info functions with the correct fields/usage as explained by Rayce. - Implemented clif_feel_hate_reset packet to properly display the Angel of the Sun/Moon/Stars, thanks again to Rayce for the relevant information. - LP will again block all land-stuff from being placed down on top of it for the exception of Song/Dance/Encores. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-07* Reapplied 'fix equipment scripts which are based on character variables ↵Lance1-4/+5
not working.' modified Changelog-Trunk.txt modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06- Corrected Ground Drift. Splash range of 3x3, stackable and placeable ↵skotlex3-71/+91
underneath others, cast time is 2 secs. It's considered ranged, and it's damage increase is defense ignoring, always neutral damage. - Added Bull's Eye 0.5 sec cast time - Corrected Bull's Eye implementation, it should deal normal damage against non brute/demi-human targets. - GS_DUST is now considered a short-range attack - Implemented Desperado's hit rate based on distance to caster as it's believed to behave. - Suiton's Speed/Agi penalty will affect everyone when used in versus maps. - GS_TRACKING's range is no longer affected by Snake Eye. - Cleaned up some skill_trap_splash - GS_FLING's defense reduction is now 5*lv% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06- Corrected Kaupe so it doesn't ends on the first part of Soul Destroyer.skotlex3-12/+17
- Applied some cleaning to the way Tatami Gaeshi knocks back. - Cleaned up the way mobskill_use checks for the correct event. It should fix unlimited mob-skill-casting issues. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06- Ganbantein's delay is now 2 secs.skotlex6-49/+59
- Removed the time2 value of NJ_NEN since it has no use. - Removed the return code entry when logging GM reload-GM requests (login-sql),it'll just be stored as zero. - Added a fix on socket.c to not pick INADDR_ANY when choosing our own IP. - Applied the correction on maprespawnguildid so that it parses ALL players and not just those on a map. - TK_JUMPKICK now dispels normal aspd/speed potions (not berserk pitched ones) and Preserve will be unable to block this. - Soul Linkers are now inmune to SA_DISPEL - You can now place everything (except magic skills) on top of LPs. - Corrected Ganbantein to not touch song/dance/ensembles. - Status_calc_pc will refuse to execute if the player is still tagged as a "new connection" and the invocation is not meant to be the first one. - Swapped the order of checks in status_isimmune so that Wand of Hermod skill blocking takes precedence over GTB's - Client packets will all be ignored while a player is not on a map until the LoadEndAck packet is received. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06* Reverted changes, moved status_calc_pc(sd,1) back to pc_authok since it ↵Lance2-5/+7
causes problems. modified Changelog-Trunk.txt modified src/map/pc.c modified src/map/script.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9150 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06modified src/map/clif.cLance2-3/+4
modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9149 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-06* Temperory fixed stability issue caused by initial status_calc_pc being ↵Lance1-2/+4
placed AFTER another status_calc_pc. modified Changelog-Trunk.txt modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-05Readded duel code in map_quit. Why it has been removed!?LuzZza1-2/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-04a couple new script commands [Reddozen]reddozen1-20/+75
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31- Fixed song/dance/encore cells not being placed down when casted on top of ↵skotlex1-1/+1
a land Protector. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31Update homunc's speed when master's speed changes, should avoid homunc's ↵toms1-0/+12
speed = 0 on login (when homunc's stats are calculated before master's stats) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31- When Kaizel (or super novice rebirth skill) triggers, you get debuffed now.skotlex5-15/+21
- Modified the player_cloak_check_type and monster_cloak_check_type settings. 1 makes it check for walls, 2 makes cloaking NOT end on normal attacks, and 4 makes cloaking NOT end when using skills. The default setting for players is still 1, but for mobs the default has been changed to 4. - Non-players can now use all skills while hidden. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-31- Added a check to prevent adding negative damage to the total accumulated ↵skotlex1-3/+12
damage in mob_damage. - Implemented the property where the first attacker get's double exp-share than the others. Due to the way exp calculation is done, this bonus will not apply when you use exp_calc_type 1 (damage/max_hp) instead of the default (damage/total-damage). For now this bonus is done after calculating who is the MVP character instead of before. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30Fixed a little bug in event enqueue codetoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30- Corrected GS skill ranges using Aegis data. All their targetted skills ↵skotlex4-17/+23
have a base range of 9 T_T, and Dust (Choke) has a range of 2. - Updated the code so mobs can use ChainAction as a targetted skill. - Added GroundDrift effects for Wind (Stun) and Fire (knockback). The knockback value is unknown, so 3 is used for now. - Cleaned up some more the steal code, now you can't steal the last slot regardless of skill level used. - Added consideration of Chain Action when cloning GunSlingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30- Set the inf2 to encore skills of Wand of Hermodeskotlex6-54/+59
- Modified battle_calc_return_damage to take the skill id as well, now magic damage return will not work on skills tagged as ground or self targetted. - Fixed Gank not working at all with the default max steal tries setting. - Soul Drain won't work with skills tagged as self-targetted. - Improved the Suiton code so that the walk/agi penalty only applies to enemies of whoever casted the skill. - Moved the initial status_calc_pc call to when you finish loading the map, should fix equipment scripts which are based on character variables not working. - Some cleanup of the clif_parse_LoadEndAck function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-30Fixed getcharid according to samples and docsLupus1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-28- Fixed mob-skill event "skillused" not triggering at all.skotlex4-6/+5
- Summoned mobs will only be removed from a map if their master is also removed (dynamic mobs) - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27modified src/map/npc.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-27* Experimental tweak to npc_parse_function - Overwrite existing functions.Lance1-4/+11
modified Changelog-Trunk.txt modified src/map/npc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Cleaned up some more the event dequeue code, it will no longer clear out ↵skotlex4-44/+24
the npc_id if there's no events waiting to be executed (why does it clears the npc_id anyway?) - Because of possible conflicts with this change and the on-login script, now the on-login script is executed when the player has finished loading into their start-up map rather than as soon as receiving the registry variables from the char-server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Some cleaning of the pc_eventtimer and pc enqueue code, it should fix some ↵skotlex3-27/+22
memory leaks when the event counter does not matches with the actual number of queued timers during logout. - Minor typos, corrections, etc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Fixed "skill_sp_override_grffile: yes" causing crashes when parsing ↵skotlex1-1/+7
Homuncuus/Guild skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-25- Made the exp bonus settings be adjustable:skotlex5-25/+53
- exp_bonus_attacker: Indicates how much additional exp a mob gives per additional attacker (eg: 10 -> +10%*attacker) - exp_bonus_max_attacker: Indicates at which number of attackers the bonus is capped (eg: 5 -> 5 attackers, so a mob yield the same exp whether 5 or 10 people attack it) - Changed the way the party_even_share_bonus setting works. It now uses a simple linear bonus increase (eg: 10 -> +10%*party member) - The defaults are as explained by Tharis: +25%/attacker, capped at 12 attackers, no party bonus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9067 54d463be-8e91-2dee-dedb-b68131a5f0ec