summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2006-02-01- Fixed a typo bug in SC_STAR_COMFORT handling.skotlex1-517/+482
- Fixed a possible crash bug in SC_POISONREACT handling. - Simplified the skill trigger code for ST_PRESERVE, SG_FUSION, SG_*_COMFORT - Unified the status change variables into a single structure (sc_count, opt1, opt2, opt3, option, and the array of status change data) which should make it easier to handle sc related stuff. - TK_DODGE now won't trigger if your opt1 is set ;) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31- Fixed skill_check_cloak to use the current skill level of the cloaking ↵skotlex1-6/+6
skill and not pc_checkskill() to know if a cloaker away from a wall should be uncloaked. - Likely fixed opening guild storage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5146 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31- PF_SOULBURN no longer ignores mdef.skotlex1-37/+8
- HW_GRAVITATION should now invoke auto spells. - Added function battle_calc_return_damage to unify the return damage code. - Added autospell triggering to returned damage from normal attacks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31- Cleaned up Summon Slave mob skill to only summon number of missing mobs to ↵skotlex1-0/+2
complete the skill level (that is, SS level 5 will always bring the total count of slaves to 5, never above) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31- Fixed being able to Encore skills you no longer have in your tree.skotlex1-3/+2
- Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well. - Added VIT reduces duration of confusion. - Added MSC_SPAWN "onspawn" mob skill condition. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30- Autoloot now uses the item's base drop chance rather than final drop rate ↵skotlex1-25/+27
to determine if it should autoloot the item or not. - Fixed super novices getting +10 to all stats temporarily whentheir death count isn't zero. - Fixed Kahai displaying HP-SP as the total healed instead of HP - Cleaned up skill_repairweapon to prevent crashes when the target vanishes/changes/whatever before the weapon to repair has been selected. - Parsing the Storage/Guild Storage from the char server will now fail if the storage has been modified and not saved yet. - Being hit now cancels confuse. - Added back the bleeding icon. - Fixed Combo Finish Soul Linked Effect being a 11x11 area o.O git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30* Added 'restricted' mapflag, based on lordalfa patchKomurka1-1/+5
- you can set restriction zone on map (see mapflag/restricted.txt) - you can turn off item usage on certain restricted map in item_noequip.txt - you can turn off skill usage on certain restricted map in skill_nocast_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES ↵Valaris1-0/+12348
GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29Clearing trunk.Valaris1-9690/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07* Fixed HP Conversion to properly not reduce HP if SP is fullcelest1-11/+11
* Updated Defender git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06* Fixed a crash in clif_send when checking packet versioncelest1-0/+3
* Fixed a crash in Deluge, Volcano and Violent Gale * Allow super novices to rent carts from the Kafra git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06* Skip partner checking when calculating status with Marionette Control oncelest1-103/+89
* Fixed plagiarised skills become unuseable after saving character * Fixed double skill fail messages for stone curse * Added modulus by zero check to rand() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05* Fixed skill tree entries for Vulcan Arrow, and Throw Arrowcelest1-13/+13
* Fixed damage reflecting * Fixed Backstab to not have a push back effect * Fixed auto spell to not taking SP * Fixed Sanctuary to have proper healing count git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05* Simplified Valaris' online_timercelest1-31/+36
* Updated Fogwall, Spiderweb, and HP Conversion * Adding saving character online/offline for TXT char and login (unfinished) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02* Updated Tiger Knucke Fist's 'fixed state' effectcelest1-6/+10
* Corrected an error, sorry ^^; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02* Added the 3 baby skills WE_BABY, CALLBABY and CALLPARENTcelest1-323/+349
* Some tidying up in skill.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01* Fixed a potential crash in pc_walk in Win32 buildscelest1-17/+19
* Added bAddEffWhenHitShort and changed bAddEffWhenHit back to all physical damage git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31* Set 'undead_detect_type' to 0 by defaultcelest1-3/+3
* Fixed Enchant Poison / Deadly Poison having too high poisoning chance git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30eAthena VC7 solution and support added for native builds [MouseJstr]amber1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30* Added base code for loading Ser's UPNP plugincelest1-29/+25
* Added 'idle_no_share' to battle_athena.conf * Added item_findingore.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30* updated map server to jA1137~1159celest1-289/+369
* Some tidying up in mob.c and skill.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29More C/C++ Conformance fixesamber1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29* Updated damage calculation for Magnum Breakcelest1-16/+22
* Fixed #item not working properly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-28git-svn-id: ↵veider1-2/+2
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-27* Fixed AddEffWhenHit effect to only work on melee attackscelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24* Added 'map_charid2id'celest1-6/+13
* Changed monster damage logging to save char ID's * Implemented 'event_script_type' * Set Emsolute Develop as a learnable skill * Updated 'require_glory_guild' * Allow monsters to cast skills near themselves even when monster_nofootset is set to 'yes' * Print number of online users in online.txt/.html even if there's only 1 user git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23Fixed some compile errorscelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22recommitcelest1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22* Corrected potion creation success chancescelest1-3/+3
* Removed some unused potion creation code * Updated Joint Beat's effect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22Check changelog ^^celest1-43/+33
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22* Added Rafflesia into Dead Branch monsters list, removen all MVPs from thereLupus1-9/+20
DBs never supposed to call MVPs!!! Only Sages Hocus Pocus could make a MVP from Alchemyst's Floras. (eA Hocus implementation doesn't support it yet) fixed Cannibalize skill according to http://guide.ragnarok.co.kr/jobalcskill.asp git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-17* Fixed more typos in /cities/payon.txtcelest1-12/+46
* Added 2 char-server packets to support Freya's login server * Rewrite on Full Strip git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-15* Fixed a compile warning in pc.ccelest1-2/+6
* Updated Soul Breaker's damage display * Some shops and scripts fixes git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-13* Added PvP/GvG check for Tiger Knuckle fistcelest1-2/+11
* Fixed Pressure reducing the target's SP twice * Fixed SQL logging not checking if its supposed to use SQL or TXT logs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-12* Fixed Status Recovery dealing too short blind time on undead mobscelest1-8/+7
* Fixed mobs not affected by Blind status * Added an invalid id check check in map_id2sd * Added sd check in clif_send git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1226 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-11* Added Sage enchanting skills can only be cast on party memberscelest1-60/+44
* Fixed Magic Power not working for ground-targeted skills * Fixed Frost Diver having double freezing chances git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-11* Updated Breaker, Cloakingcelest1-1/+1
* Corrected 1206Sakexe's packet detection git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08Updated Deadly Poison and Enchant Poisoncelest1-31/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08Updated Soul Breakercelest1-1/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08git-svn-id: ↵shinomori1-1/+2
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-08git-svn-id: ↵celest1-8/+17
https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07Replaced some free's with aFreecelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07* Updated core and map-server to jA 1115~1137celest1-96/+105
* Fixed a typo in Volcano git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07Fixed Apple of Idun reading the wrong skill level and giving too much HPcelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-01* Effects from dancer/bard skills will stay for 20 seconds after leaving the ↵celest1-19/+20
skill area git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1196 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-01* Fixed /resetstate /resetskill being unuseable at allcelest1-1/+1
* Fixed /mm /mapmove being useable by all players * Fixed some compile errors in mob_once_spawn * Corrected a typo in Chemical Protection skills git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28* Updated Endure, Tiger Fist, Chain Crush, and Palm Push Strikecelest1-147/+38
* Some rewrites on the passive guild skills effects git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-24added cart dupe-proof for named / cards itemsLupus1-19/+0
removed unusef check_cloak_type func git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-24* Some rewrites on Basilicacelest1-157/+92
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-24* Fixed another bad typo in skill list_num readingcelest1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1171 54d463be-8e91-2dee-dedb-b68131a5f0ec