summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-05-18- Some code cleaning of the skill reiteration/nofootset code.skotlex2-26/+12
- skill reiteration code now does not checks for the trigger-area of the skill in the case of non-players, which means mobs can now place traps in cells adjacent to each other. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6640 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- Applied an experimental weather code that should lower bandwidth usage to ↵skotlex2-40/+20
near-none, which's only disadvantage should be the weather not clearing out until moving to another map (even when the mapflag is removed from the current map). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-18- NPC_AGIUP will now give movement boost of 50%skotlex2-5/+9
- Fixed WZ_WATERBALL number of hits when used by non-players. - MO_BODYRELOCATION will send the slide packet with the actual src's coordinates rather than selected tile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6638 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Modified mob_can_changetarget to return true always when the new target is ↵skotlex1-3/+7
the provoked-by character. Fixes provoke not making the mob change target when it already is locked on another player. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Added check to clear previous skill when combo time ends. Should fix TK ↵skotlex1-1/+4
Rankers being unable to initiate a combo with the same kick their previous combo was finished with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17- Power Up and Agi Up now increase Hit/Flee by 20%/lvskotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-17Removed AtCommand_Monster and replaced it with AtCommand_Spawn for Skots ↵reddozen2-2/+2
[Reddozen] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Modified "hide woe damage" to send the number of hits rather than 1 as ↵skotlex2-6/+6
damage Because when the damage is less than the number of hits, the client will display MISS. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Added a check to map_searchfreecell to handle the case when no ranges are ↵skotlex1-0/+7
specified (returns the center tile). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-16- Fire Pillar will now do 200%MATK damage per hit when level is >10.skotlex3-2/+17
- Blood Drain always hits now. - Fixed Mob Area Skills not updating their use-time (rendering their skill delay useless) - Search free cell will now skip picking the center-tile as target location. Will prevent slaves from walking on top of their master, or mobs placing stuff right under themselves with the "around" target conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- When reading mapflags, when a map is set to be pvp or gvg, the other will ↵skotlex1-0/+9
be turned off (disables pvp mapflags in gvg maps for pk-servers) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Firepillar's damage per hit is now 100% MATK (rather than 20%) when the ↵skotlex2-6/+7
skill level is above 10. - Sorted out the item_data structure, getiteminfo should work correctly now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Soul Drain will now show the SP drained regardless of drain display settings.skotlex1-21/+21
- SC_COMBO state will now end in skill_attack rather than skill_check_condition (as it is required there to apply damage bonuses based on combo-casted skills) - Spirit skills now have 500ms delay. - KA skills can now be casted on other Soul Linkers as well without the Spirit requirement. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6607 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed the nocast flag 2 (not usable in pvp) returning true in pk-mode servers.skotlex3-4/+14
- When removing a castle's owning guild, the char servers will erase the guardian data now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Changed the behaviour of immobile mobs when they can't chase their target. ↵skotlex1-1/+2
Rather than using a longrange skill and then unlocking, they will use an attack/angry state skill and then unlock. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Removed Lance's checks in clif.c to prevent sending packets when a player ↵skotlex2-12/+8
is in OPTION_INVISIBLE mode. Now pc_disguise won't change your viewclass when you diguise while hiding. The disguise should "show up" when you uncloak, instead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Fixed clif_GlobalMessage being the exact same function as clif_message ↵skotlex2-2/+2
(the fiirst should send to ALL_CLIENT and the later should send to AREA_CHAT_WOS). Should fix globalmes script command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15- Added SC_BLADESTOP to the switch listing in status_change_startskotlex3-9/+2
- Characters in vending are now always considered "idle" if the idle_no_share setting is active. - Corrected 10 Geminis spawning in Lhz1 rather than 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Players with OPTION_INVISIBLE should not be sent to clients.Lance1-2/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6593 ↵Lance1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Added NPC event deprecated warnings to ease debugging old scripts. Lance1-5/+36
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-15* Supplied fake NPC ID in sd->npc_id for item scripts. Lance1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14@_@ this is getting more confusing...Lance1-9/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-14* Bugfix on fake npcLance4-9/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6585 54d463be-8e91-2dee-dedb-b68131a5f0ec
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- Fixed compile errors in adduser.c and ladmin.c under win platforms.skotlex2-5/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6553 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)skotlex4-58/+60
- 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-10Finished DNSBL, Although untested, It's simple code and should work fine.Zido2-35/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6543 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