summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2006-05-14data.x=x; data.y=y was not done at all except when using random coordinates. ↵blackhole891-2/+5
dfhsdfhsdfh git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-12- Reverted again the change that stuns the caster on Ske, Ska, Swoo when the ↵skotlex2-15/+20
target is a nonplayer (rather than always) - Modified mob_spawn_once so that coordinates -1,-1 are "random around the player" while 0,0 are random around the whole map (regardless of whether there's a player attached or not) - Knockback will no longer work on traps during woe. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-12- Updated cast times of Kaupe and Kaahi.skotlex5-8/+3
- Some small code cleanups. - Sma has cast-dex reducable now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-11- NPC_POWERUP and NPC_AGIUP now cause a increase in hit/flee (respectively) ↵skotlex3-8/+5
of 40% per level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-11- Changed a bit the MAX_ZENY checks in trade.c to prevent overflows.skotlex4-72/+81
- Rewrote npc_selllist for a more proper-clean implementation. - Increased NPC_POWERUP's dex bonus to +25*lv - Moved TK_DOWNKICK's stun time from time to time2 - Added TK_TURNKICK's stun to splash-pushed mobs. Duration is 2secs (time2) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-11- Merged the code for Ska, Ske, Swoo. Swoo stun duration is now 10 secs ↵skotlex1-20/+7
(reducable) if you target a mob that already has Swoo active. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-11- Added the missing semi-comma from the upgrade_svn6533.sql file. Thanks to ↵skotlex1-5/+8
Tanaous - Added back the missing code that substracts arrows when normal-attacking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10- Changed the state of Asura back to explosionspirits, added a hardcoded ↵skotlex1-49/+33
move_enable check when invoking Asura and NOT while in BladeStop or a Combo. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10- Moved the OPTION defines from map.h to status.h (where they belong)skotlex3-19/+21
- Added back SC_XMAS to status.c (how was it... lost?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10- Changed wedding costumes to use setoption rather than changebase.skotlex1-13/+7
- Modified setoption so that flag 1 or no flag adds an option, and flag 0 removes it. - Updated script_commands with the new behaviour. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10- Rewrote/cleaned up trade.c for a more clean trading implementation.skotlex5-360/+346
- Added @request commands, sends a request to all connected GMs of lowest_gm_level or above as a whisper message. Defaults to gm level 20 users. - Made SC_COMBO status start delay attackabletime and walkdelay by sc's duration regardless of skill used (previously it was only for TK kicks, now it's for both those and Monk combos) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-10- Modified @commands to use Meruru's code which is faster and does a fair ↵skotlex1-24/+36
attempt at tabulating the commands presented. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Updated SKA to return a random value between 0 and 99 each time ↵skotlex2-3/+3
status_get_def is invoked. - Updated Making Arrow to not include unidentified items in the list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Reduced drop slots from 15 to 10.skotlex3-7/+4
- Updated mob_db.sql with the current data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Updated setoption script command to receive a second (optional) argument ↵skotlex2-4/+19
flag. If the flag is 1, the option is added to what the player currently has; likewise using flag 2 removes only that option. No flag (or any other value) is the older behaviour of removing all other options and setting specificly what is passed. - Updated script_commands information for setoption due to this change. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Small fix in npc-created chat rooms to properly include the terminating 0 ↵skotlex1-1/+1
on the chat's event. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Fixed Fog of Wall's symmetry in respect to Misc attacks, they no longer ↵skotlex2-5/+3
get reduced by 50% regardless of who is standing on the fog. - monster_ai&2 will now trigger the rude-attacked skill when the mob can't move and the attacker is out of it's attack range. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Added missing icon for Joint Beatskotlex2-3/+7
- Mob-search functions will now skip enemies with no exp/job_exp. - Treasure chests will now be excluded from the mob-drop listings (@whodrops) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Fix on pc_skill which fixes overlapping when one gets more than one bonus ↵skotlex2-4/+5
for the same skill. - Updated main.sql's loginlog table structure. - Added svn_update6533.sql to update the loginlog structure as suggested by theultramage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Cleaned up somewhat the implementation of BladeStop.skotlex2-16/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Fixed the head_bottom (pet-armor) position in packet 0x22c when crafted ↵skotlex1-1/+1
for non-players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Script commands sc_start, sc_start2 and sc_start4 will now start ↵skotlex5-12/+17
regardless of sc defense of the target player (that is, they cannot be avoided) - Fixed a possible counter overflow in attacked_count, changed the var size to unsigned char since the code can handle the overflow now. - Multiple targets again reduces armor defense, as reported by Tharis. - Increased dex increase of NPC_POWERUP to +20 per level. - Fog of Wall's -50 hit reduction is now only for ranged attacks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-09- Reverted the change that was making ES skills stun the caster always.skotlex1-23/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Removed the fixpos packet sending when damaged. Aegis sends no such packet.skotlex2-4/+5
- Fixed warp-portal being unusable if it was invoked through an item script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- ES magic will now put the caster on stun for 0.5 secs regardless of ↵skotlex5-43/+87
whether the skill-target is a mob or not. - Added function clif_party_join_info which sends packet 0x1e9 each time a party-member joins. This packet (as redundant info as it has) should also contain the field for "adoptability", but that needs to be coded in yet. - Added clif_ParseAdoptRequest which does the basic adoption handling. More checks and the reply packets still need to be coded in. - Happy State and TK stances won't dispel on death now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Cleaned up combo-skill implementation, SC_COMBO is automatically ended in ↵skotlex1-16/+27
skill_check_condition now. - Modified TK-ranker infinite combos to behave as described by AuronX (it could use some optimization, since as it currently stands, it invokes the pc_istop10fame function twice per skill invocation). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Corrected Stun Duration for Meteor assaultskotlex1-1/+1
- Made all Soul Link Spirit skills not be castable on self. - Changed rate of NPC status effect skills to 50+10*lv% base chance (guessed) - Changed max level of NPC status effects to 5 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Increased max number of tries to find a random spot in maps to 1000 since ↵skotlex4-6/+6
some maps have so many non-walkable tiles it's hard to find one in just 100 tries. - Reduced Stun duration of multiple skills to 3 secs. Skills affected: Meteor Storm, Land Mine, Bash (fatal blow), Throw Stone, NPC_LICK, Raid, shield Charge, Cart Termination. - status_set_viewdata will remove the Wedding Option status when you set a class that is not wedding. - Removed the Job_Novice range check in pcdb_checkid since it's causing warnings when checking versus vd->class_ (and when will we use a negative value class anyway?) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Fixed compilation error.skotlex3-9/+9
- idletime will now be updated on attack-request, not on sit/standup - Party members sitting will no longer be considered idle. - hide_gvg_damage will now send 1 instead of -1 as damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-08- Removed SP_DISGUISE from the bonus list.skotlex7-42/+39
- Moved Sharp Shooting display to the block with Auto-Counter (since that's the other skill that can show critical as well) - Corrected some fields in the still packet (guild emblem being stored as a Long when it should be Short) - Modified most fields of view_data to be unsigned shorts rather than signed ones. - On-Touch NPCs will now make you stop walking when you trigger them. - Reduced stun duration of most skills to 3 secs. - ShadowJump/JumpKick will make you land on the target's cell now. - Fixed Kaahi triggering only once per skill duration. - Added the kaahi_heal_timer to the list of status change functions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07removed old logsLupus9-525/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-07* Optimized clif.c clif_scriptmenu/input/inputstr to check for ↵Lance1-6/+8
sd->state.using_fake_npc before sending one (as it's not required to send twice). * Reinitialize sd->state.using_fake_npc in clif_parse_LoadEndAck (for scripts that warps players and still continues execution to work). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06- Fixed a bug in @commands, most likely the reason some people were still ↵skotlex1-1/+1
getting crashes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06- Added missing include <limits.h> to npc.c...skotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-06- Corrected the max level of NPC_DARKBREATH 10->5 (don't ask, I need these ↵skotlex1-1/+0
things right :P) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Fixed @commands not showing the last available commands (unless the total ↵skotlex1-1/+3
amount of commands is divisible by ten) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Added a npc-script-event cache to avoid looking up event-scripts every ↵skotlex6-92/+128
time they need to be executed. Events cached are all those defined in script_config. - Since the cache holds direct pointers to the npcs/events, do NOT unload the related NPCs or you'll get dangling pointers. However, @reloadscript will work fine. - Set the etc_log to on to see a summary of npcs/events loaded for script execution on startup. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- The Rest bonus activated by using /doridori while in rest should now ↵skotlex1-1/+1
trigger with all the class tree (TK/SL/SG) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Fixed Kaupe always triggering when the one who was under Kaupe was a ↵skotlex1-1/+1
player rather than the one attacking... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- /doridori now won't double the HP/SP regen of TKs, it only activates their ↵skotlex4-24/+23
"happy" state. - Added the -50 hit penalty when standing on Wall of Fog. - Cleaned up status_calc_mdef2 - Uncommented the status_calc_mdef2 call in status_calc_pc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Being in Enjoyable Rest state will now also trigger the HP/SP Time skills ↵skotlex6-14/+39
(even if there's no other TK around). - Renamed SC_TKDORI to SC_TKREST (makes more sense if you ask me) - Added battle config settings view_range_rate and chase_range_rate to adjust the view-range and chase-range (range2/range3) of the mob_db without having to manually change them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Kaupe now will only block all skills of players, for non-players, only ↵skotlex2-45/+43
normal attacks can be missed. - Moved the Kaite spell-reflect code after the damage calculation function, so the reflected damage is exactly the damage the original target would have received. Will only trigger if the damage to be reflected is above 0. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Added a check to prevent player invoked-endure from overriding infinite ↵skotlex1-2/+11
endure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- OnEquip scripts will be trigger on log-on now.skotlex5-32/+44
- Infinite Endure will no longer give mdef bonus. - Removed bInfiniteEndure bonus, Eddga card now uses onequip/onunequip to start/end infinite endure. - Hammer fall's stun duration is now 1+lv seconds. - Fixed Kaahi's SP cost per heal. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Now when walkdelay is set to 0, characters will stop walking when hit, but ↵skotlex2-7/+9
will not have any walk delay. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Read changelog.Zido1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05- Fixed a possible infinite loop in skill_clear_unit_groupskotlex1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-05fixed my MVP drop confreddozen1-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04- Some clean-ups in the mob_aiskotlex3-13/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-04git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6476 ↵eaac1-23/+65
54d463be-8e91-2dee-dedb-b68131a5f0ec