summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-06* Implemented Icescope's fix for devotion, reflect damage is no longer ↵L0ne_W0lf1-1/+1
absorbed by the devoter. (bugreport:3189) * As a folow up to r14301, increased MAX_REG_NUM to 256, to prevent possible data loss. * Touched up the endless tower script slightly. - Added ends to several NPCs which would allow you to restart timers. - Added some missing stopnpctimers to npcs. (bugreport:4418) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-28Replaced a map_moveblock() call with a call to unit_movepos() to prevent an ↵Paradox924X1-1/+1
exploit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-19- Implemented usage of packets 0x7fa and 0x7f7, 0x7f8, 0x7f9. These are used ↵Skotlex1-12/+12
for proper deletion of items as well as movement/spawn packets for Renewal clients. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-08-17* Attempting to tackle, and fix some simple errors in skills.L0ne_W0lf1-17/+12
- Stormgust hit counter no longer resets under new casts of stormgust. - RG_STEALCOIN will now cause the monster to aggro player on success. (bugreport:3547) - SL_WIZARD will now consume one crystal fragement per reflected hit. (bugreport:3603) - WZ_FROSTNOVA will now ignore targets in area that are already frozen. (bugreport:3980) - SL_KAAHI will no longer uses SP if player has full health already. (bugreport:3918) - CG_TAROTCARD "The Lovers" will heal source player instead of target. (bugreport:4171) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-07-31* Implemented three new mercenary skills.L0ne_W0lf1-2/+9
* Added two new monster mercenaries. - Added information for the three new mercenary skills. - Added mercenary skills with cast times to castnodex. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Updated specialeffect2 to accept player names. (follow up to r14353)L0ne_W0lf1-2/+2
* Bascilica now allows boss-flagged monsters to knock you back as per official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-28* Follow up to r13895, added a battle.conf setting to control if ranges ↵L0ne_W0lf1-4/+7
should be checked with autocasts. 'autospell_check_range', by default is set to no, as this is official behavior. This does not affect autospellwhenhit. * Sonic Blow autocast now stops players attacking when it triggers. It's possible there is more depth to this on official servers, and should 'stop' attacking on regular casts as well. It appears so far that this is the only skill that behaves this way. * Modified the default value for homunculus_auto_vapor in source to 1. * pvp_points are no longer calculated in the gvg_dungeon flagged maps. * Corrected a view ID and an equip location in the item database. (bugreport:4330) * Corrected a typo in the DTS_Warper script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-06-14* Blocked being able to use the skill CR_DEVOTION on players under the ↵L0ne_W0lf1-2/+6
status SC_HELLPOWER. - Additionally, users afflicted by the status can also no longer use Token of Siegfried to self-res. * Added Manuk, Splendide and SC_HELLPOWER statuses to the status effects that can't be dispelled. * Changed SC_SPEEDUP0 to use the correct status icon SI_MOVHASTE_HORSE. * Changed SI_SPEEDUP1 to use the correct status icon SI_SPEEDPOTION1. * Added updated 13.2 drops to existing monsters. (Most rates are unknown, and set to 0.1%) * And time to squish database bug reports! - Fixed guild event quest log entry time limit. (Bugreport:4204) - Fixed Musika healing while attacking and not when attacked. (Bugreport:4211) - Corrected the Int and HP/SP reduction on the Dead Tree Cane. (Bugreport:4217) - Fixed the non-set bonus for Glorious Ring's heal increase. (Bugreport:4223) - Fixed Death Guidance not casting NPC_HELLPOWER on the user. (Bugreport:4250) - Changed the usable job for Bone Plate from all to thief class. (Bugreport:4286) - Changed the bonus on alternate large bapho horns to subrace. (Bugreport:4291) - Added slots to blu and pink night caps, and a couple others. (Bugreport:4301) - Removed an extra comma from the Mini_Propeller_M headgear. (Bugreport:4307) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-05-30Damaged reflected from skills will now be shown as multiple hits if the ↵Paradox924X1-1/+1
skill used was multi-hit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-30Fixed the first item in the inventory is unbreakableInkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-03-24* Implemented NPC_TALK (Credit to SnakeDrak and Daegaladh)L0ne_W0lf1-0/+1
- Also added in the ability to use '@npctalkc' as a GM command. - Added supporting information to the databases. - Sneaking in a fix to the Refined Ballista. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-19* Fixed NPC_INVINCIBLE can be dispelled. (bugreport:4046)Inkfish1-1/+1
* Fixed a compliation warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14247 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-02-062010/02/06Inkfish1-3/+3
* Added official packet to display received expirience. (info provided by papkil) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28* SN_SHARPSHOOTING is no longer affected by AC_VULTURE. (Bugreport:3909)L0ne_W0lf1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28Reverted r3619. Evidences show Margaretha Solin Card works when player is ↵Inkfish1-1/+1
hit by Storm Gust. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19Intimidate now checks the distance between source and target in case it ↵Inkfish1-1/+1
kills the target and then warps the respawned one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19Intimidate should warp you anyway even if the target died.Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-15* Fixed change cart packet doesn't check for skill.Inkfish1-3/+5
* Added new packets for Plagiarism. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-27Fixed Meteor Assault and Spread Attack have twice the chance to trigger ↵Inkfish1-1/+6
AutoSpellOnSkill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-08Corrected a variable defined in a header file.ultramage1-1/+3
Cleaned up a bad case of variable recycling. Separated the ALL_WEWISH case from the unrelated sage skill cases (undo of r14183). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02Semi-revert of 14182, moved ALL_WEWISH up under SA_GRAVITY instead, as I ↵L0ne_W0lf1-3/+1
hadn't noticed it does exactly what the new case did. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02Added skill ALL_WEWISH. This skill in older clients plays a song, however in ↵L0ne_W0lf1-0/+3
current clients it does not. The effect (AL_ANGELUS) still shows. Added ALL_WEWISH to the skill databases, and enabled the Christmas Musicbox item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26* NPC event code cleanups.Inkfish1-5/+7
- removed the 'OnMyMobDead' dead code. It's never supported though documented. - removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified. It's never documented and breaks official scripts. - some cleanups and bug fixes to OnTouch_. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-19- Applied the renewal client support patch from Diablo (eA forum topic 222623)skotlex1-0/+3
- Added support for strcharinfo(3) to retrieve the player's map - Added script command "searchitem" for name item searches. - Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now - Changed the status valX from int to long so that it won't break for pointer-storage in other architectures. - Moved the change party leader code to party.c - A few bugfixes or packet field completions based on my past experience messing around with my server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-04* All Songs/Dances now create a 3 second delay before Adaption can be used.Inkfish1-4/+7
* Fixed unit still not being able to move when fiberlock is removed by Magnetic Earth. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02* Quick fix to char command checking gm level of the target player instead ↵Inkfish1-1/+1
of the command user (bugreport:3255). * Disalbed @jump/@jumpto usage when dead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-01* Implemented the fix for Slim Pitcher working on WoESE objects ↵L0ne_W0lf1-1/+2
(bugreport:3618). * Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27* Cast time of Emergency Call is doubled if you master of High Jump. Inkfish1-3/+3
* High Jump can't be used on PvP maps. * Fixed a potential null pointer from last commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27Fixed quest will never get erased when it's the only quest you have.Inkfish1-6/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.Inkfish1-4/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25Reverted renaming foreach functions and create a new one for OnTouch so that ↵Inkfish1-21/+21
last commit will hopefully break NOTHING in use. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25* Implemented the official version of 'OnTouch' named as 'OnTouch_'.(it can ↵Inkfish1-23/+29
be defined in script_athena.conf) * Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the number of bl you wanna operate on. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-17* Duration of SC_STONE is not reduced by MDEF.Inkfish1-2/+0
* LexAeterna is allowed to be used on petrifying targets. * Mobs won't attack back if StoneCurse fails. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-22Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513)Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21Added bMagicHPGainValue and bMagicSPGainValue.Inkfish1-5/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-20* Some fixes for HeatInkfish1-4/+10
- won't cancel combo wait. (bugreport:3228) - should work with hp/sp drain bonus. (bugreport:3507) - consumes 10 sp if the attack doesn't connect. (bugreport:3038) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-11* Fixed autospell and autobonus will still trigger even if the chance is 0.Inkfish1-7/+7
* Disabled "show_party_share_picker" functioning on client older than 20071002 to prevent from disconnection. (bugreport:3457) * Fixed units other than players and mercenaries using Devotion will cause crashes. (bugreport:3475) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-02* Questlog code cleanup.Inkfish1-11/+7
* Fixed range check of autospell and autospell2 using wrong target when it should be used on yourself. * Implemented official behavior of party_show_share_picker. * Restricted zones in 'item_noequip.txt' can now stack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29- Fixed a bug cleaning instance variable on party when instance is destroy.zephyrus1-6/+3
- Fixed a bug on Yuno Castle 2 and 3, not killing guardians. - Moved battleground team leave on unit remove map to prevent a crash on multimap servers. - Fixed a bug on checking range with the wrong target. Fix a crash on Item 2002 at refine >= 9. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29* Kaahi heals no matter if attack connects. (bugreport:2440)Inkfish1-6/+0
* Fixed a typo causing skillitem always resets skill delay. (bugreport:3431) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25* Fixed message display for FullStrip and SelfProvoke. (bugreport: 3011, ↵Inkfish1-3/+15
bugreport: 3415) * Fixed an error on 'changequest' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18* Dead branches no longer check for players' level. (bugreport:3378)Inkfish1-1/+2
* The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11Some insignificant code tweaks.ultramage1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11* Some updates for range check. (bugreport:3339)Inkfish1-1/+1
- Monsters shouldn't use skills if the target is within its attack range but is out of the skill range. - Monsters' skill range is no longer 9 by default. - Range for players' attacks and skills should always check for a circular area. - The range of Magnetic Earth is 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04* Extended ATF_SKILL to ATF_MAGIC and ATF_MISC.Inkfish1-4/+7
* r13932 Fixed a wrong check on hp in Intimidate code. (bugreport:3305) (I forgot to write the message.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13932 ↵Inkfish1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02* Updated autobonus [Inkfish]Inkfish1-6/+0
- added documentation for autobonus. - invoke status_calc_pc to complete autobonus execution and this will refresh client display as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28* Implemented script command "autobonus". [Inkfish]Inkfish1-29/+29
- "autobonus" is similar to "bonusautoscript", however it has a timer of its own. - Updated itemdb changing items bonus using "bonusautoscript + sc_start" mode to "autobonus + bonus" mode. - Remove bonusautoscript and status changes that was needed by bonusautoscript and is no longer in use. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-21Fixed Backstap bypassing battle_check_target.Inkfish1-8/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-20* Changed Asura Strike/Jump Kick to target skill to get rid of the "target ↵Inkfish1-1/+1
delay". (bugreport:2174) - skill tree will be re-sent on status change to handle using these two skills during combo. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13900 54d463be-8e91-2dee-dedb-b68131a5f0ec