summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-08-25Added a flag to skill_delunitgroup, skill_delunit & skill_unit_onlimit.toms5-38/+39
If 1 is passed, it will avoid UNT_WARP_ACTIVE to be transformed in UNT_WARP_WAITING and will destroy it. [Toms] ( To avoid such crash : http://www.eathena.ws/board/index.php?showtopic=114102 when the code need an empty slot and the oldest one is UNT_WARP_ACTIVE ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Cleanup/typo on homunc's codetoms7-203/+207
- Modified @reloadmobdb & @reloadskilldb to reload homunc's db too git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Now when a mob's adelay is set to be less than the amotion, both values ↵skotlex1-2/+13
will be swapped (this is an attempt to understand how those mobs actually work on aegis) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- script command "isrefine" will no longer return always false for equip ↵skotlex2-3/+5
positions above 6 (this has not been needed since the addition of the refine column to tbe item_db many months ago) - Added NPC_CRITICALSLASH to the list of skills that display as a normal attack. - Changed the default of clear_skills_on_death to 0 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Reverted the previous change, changed the pet capture code to try to ↵skotlex4-14/+9
capture a mob based on their view class rather than actual class. - Changed various instances of md->db->lv for md->level, since the later is the actual mob level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Fixed the md->class_ variable not being updated when a mob's class is changed.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Added setting clear_skills_on_warp to specify when a character's ↵skotlex6-12/+44
land-based skills are deleted when the caster changes maps. Defaults to all types. - Should have fixed Brandish Spear not passing the flag to skill_attack, causing it to do miserable damage. - Warp Portal will no longer be removed when caster steps through it (this is left to the new clear_skills_on_warp setting) - Cleaned up status_percent_change to switch equations when the target has high hp to prevent overflows, also it will directly take hp/maxhp when a rate of 100 or higher is passed to prevent calculations. - Traps and Land Elemental fields are no longer automatically removed on map change (handled now by clear_skills_on_warp) - traps_setting &2 no longer does anything (handled now by blah blah) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Applied some change from mpeg on Ninja Skillstoms1-12/+13
- Put HVAN_Explosion based on max_hp instead of current hp git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-24- Fixed mob_clone_spawn completely ignoring the mode variable.skotlex1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Fixed Energy Coat reducing and consuming more than it should when you have ↵skotlex1-1/+1
100% SP git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Cleaned up getmapxy script function, also added support for type 4 so that ↵skotlex1-109/+94
it returns a player's homunculus position if such exists. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23SC_ARMOR_ELEMENT looks like gone away from status_change_start since ... rev ↵toms1-0/+4
6791. Try to reimplement it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Some minor cleanups.skotlex2-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Fixed HVAN_EXPLOSION (What did I fixed? either it doing no damage, or it ↵skotlex1-12/+11
giving no exp to the caster, whichever bug was there) - Frost Nova won't display a nodamage skill packet (still need to sort out a way to fix the splash damaged packets) - Some cleaning on the timeout code for traps. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Fixed a possible SIGSEGV on buildin_maprespawnguildid if the map is unknowntoms2-2/+6
- Added debug on "Inifity loop" to know which script is making this loop git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-23- Adjusted skill_attack_area so that skill_area_temp[1] holds the ID of the ↵skotlex1-6/+13
target, this way the skill animation will correctly display for the targetted mob, and not the others who get caught in the splash area. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Fixed a crash on the mobspawn script command.skotlex3-4/+14
- Made SC_FLEET increase batk as well as watk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22Fixed gcc warningtoms1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22Fixed AM_REST not closing the homunc status windowtoms1-3/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Fixed SC_NEN according to Mpegtoms2-1/+1
- Added a ShowStatus("Terminating...\n") on login-server_sql git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Some corrections to make Tatami Gaeshi work correctly.skotlex2-9/+13
- Fixed SBR44 doing 100% more damage than it should. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Some more work on the splash skill code. Now splash-damaged enemies should ↵skotlex3-43/+41
show no animation at all, just the damage-number, while only the targetted character should still display the full skill animation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Modified the homun-txt file-save format to separate the name from the rest ↵skotlex1-2/+2
of fields with tabs (like character saving does), this may fix homun save/loading when using non-latin characters on the name, but be warned that it also means the previous homun-data files are lost! (unless you replace the comma before the start of a name with a tab) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- updated (more or less) the sql-files/item_db2.sql file.skotlex2-5/+1
- Some insignificant cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- getnameditem will now also work on stackable itemsskotlex3-22/+20
- Corrected battle_calc_weapon_attack so that all skills ignore your left-hand weapon, and that the Katar's double-attack damage bonus for the offhand damage applies ONLY on normal attacks. - Fixed Resurrect Homunculus's % to 20*lv% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22more typosLupus1-8/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22field typoLupus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22added char deletion condition by BaseLevelLupus1-6/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22- Some more cleaning up of the splash skill code. Now the passed hit value ↵skotlex1-28/+5
for the splash targetted mobs is 9 instead of 5, this allows multi-hitting splash skills to display the number of hits correctly. - Also merged Blitz Beat to the rest of the splash code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21Fixed call homunc bug when the homunc was vapo and the master has change of maptoms1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21Fixed SQL-Guild Creation, guild name was escaped 2 timestoms1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Some cleaning of the splash skills. Updated skill-attack to enable again ↵skotlex1-105/+88
passing of flag 0xF000 which signals that the skill level sent to the client should be -1 (no skill name shouted). Should (hopefully) clear/clean up a bunch of splash damage skill animation-related packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Homun saving won't cap hp/sp to max hp/sp since a homun can have higher ↵skotlex1-4/+5
hp/sp than the one stated in the db (due to skill bonuses or status changes) - Increased splash range of HVAN_EXPLOSION to 4. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Cleaned up some more the regen_data structure, so that skill/sitting-skill ↵skotlex5-113/+138
related data is optional (since only players have it). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP valuestoms2-3/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21Fixed HAMI_CASTLE, HAMI_DEFENCE & HLIF_AVOIDtoms1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Adjusted Glittering's success rate to 20+10*lv%skotlex3-8/+17
- Corrected isequipped() so that cards will not be tagged as "used up" unless all the specified items were found. - Fixed a confusion in skill_attack using the src instead of dsrc for some calls, which was causing some problems with the KAITE check from AoE spells. - Fixed ASC_BREAKER's misc damage part not having the ignore-element flag set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Added BL_HOM handling to battle_gettarget.skotlex3-52/+34
- Some cleaning in skill.c in regard to homun skills. - Madness Canceller now stacks with other aspd bonuses, just like Berserk does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Removed config setting "muting_players", and expanded the manner_system ↵skotlex10-68/+51
config to specify how having negative manner (mute) affects a player (see battle/misc.conf). - Expanded the pk_mode setting from no/yes to 0/1/2. 1 is normal pk_mode, if 2 is used, it makes killing players give you a loss of 5 manner points. - Fixed WS_WEAPONREFINE always failing when at less than job 50. - Fixed a compilation warning in char-txt/int_homun.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-21- Fixed the Autosave routine not working when there's only one player online.skotlex3-5/+3
- Disabled command @rain since the client no longer supports it anyway. - Fixed delitem not checking for the first slot's card, also optimized it so that it doesn't checks on the other slots. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- Added a check during mob_db loading so that the six basic stats, max hp ↵skotlex1-13/+22
and max sp are never below 1, as this could cause crashes when using certain skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- Gravitation now only blocks the caster from using potions.skotlex3-21/+31
- Corrected Madness Canceller not letting you walk while the effect lasts. - Splitted yet again ASC_BREAKER into a two-part attack. This time the int-based damage is a MISC type attack, and gets reduced by skills as such. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20Fixed "int format, long unsigned int arg" warningtoms3-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20Fixed a warning when using cap_value(x, 0, x) on an unsigned valuetoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- Added clif_skill_fail for homunc to skill_castend_id & skill_castend_pos ↵toms4-9/+18
('skill has failed' will may be appear 2 times) - Fixed homunc skill 8016 not considered as homunc skill git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- @useskill will now cause your homun to use the skill instead of you if the ↵skotlex3-11/+15
skill is a Homun skill and you have an active homunculus. - Some cleanups... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- Reduced the Success Chance of GS_FLING to 10+10*lv% (Playtester told me ↵skotlex2-3/+3
that Vicious told him the chance was much lower like that) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-20- Fixed some Homunc issues with HR servers (capping some values)toms4-11/+41
- Added @hominfo command to obtain real values (not capped ones) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Fixed @homlvup bug toms4-3/+17
- Fixed AM_REST & AM_RESU consumming SP if they fail - Fixed homunc spawning bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-19- Fixed GS_GROUNDDRIFTskotlex1-1/+5
- Increased chance of GS_DESPERADO connecting to 20% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8373 54d463be-8e91-2dee-dedb-b68131a5f0ec