summaryrefslogtreecommitdiff
path: root/src/map/skill.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-15Fixed Bug #7039shennetsind1-8/+8
Status effects no longer propagate with magical reflection (e.g. when frost diver is reflected there is no chance that target will be frozen) http://hercules.ws/board/tracker/issue-7039-frost-diver/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-14New Mapflag adjust_unit_durationshennetsind1-342/+345
Made as a improvement of the original ADJUST_TRAP_DURATION -- special thanks to Muad_Dib! . This mapflag allows you to control the duration of unit skills in any map, for example. "prontera mapflag adjust_unit_duration PR_SANCTUARY 50" halves the duration of sanctuary in prontera Another Example: "prontera mapflag adjust_unit_duration WZ_QUAGMIRE 250" Increases duration of quagmire by 2.5 times in prontera map. Be aware that some skill units have their visual effect durations not controlled by the server (e.g. storm gust). Signed-off-by: shennetsind <ind@henn.et>
2013-02-08Fixing a logical issue in ST_RIDINGshennetsind1-1/+1
2013-02-07Adjustment to skill_trap_type battle/skill configshennetsind1-1/+1
The effect of the config is now restricted to GvG. http://hercules.ws/board/tracker/issue-4832-hunter-ht-anklesnare-serious-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-07Fixed Bug #6803shennetsind1-0/+6
You no longer can dispell guild mates in non-pkable areas http://hercules.ws/board/tracker/issue-6803-dispell-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-07Fixed Bug #7045shennetsind1-1/+3
Fire Pillar is now removed by land protector, and no longer can be cast over land protector. http://hercules.ws/board/tracker/issue-7045-fire-pillar-and-land-protector/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-07Fixing mistake in modified source code headersshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-02-05Fix Bug # 7049malufett1-0/+10
Added new item bonuses bFixedCast, bVariableCast & bFixedCastrate. (see 'doc/item_bonus.txt' for info) Added new conf for max walk path.(Bug Report # 7042) http://hercules.ws/board/tracker/issue-7049-do-we-need-new-bonus/?gopid=16578#entry16578
2013-02-03Partial Fix to Bug #7039shennetsind1-0/+1
Fixed magical reflection behavior, user reflecting now visually casts the skill back at the caster, instead of caster casting it on itself. Waiting confirmation on the other part to fix. http://hercules.ws/board/tracker/issue-7039-frost-diver/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-03Updating the headers of so-far modified files with outdated headersshennetsind1-2/+3
Signed-off-by: shennetsind <ind@henn.et>
2013-02-01Fixed Bug #7037malufett1-2/+10
Where casting MO_EXTREMITY to untargetable targets causes the caster to move in fixed location/coordinate. http://hercules.ws/board/tracker/issue-7037-asura-strike-position/?gopid=16521#entry16521
2013-01-31Fixed Bug #7038shennetsind1-165/+161
Spider web no longer triggers on players on non-pvp maps http://hercules.ws/board/tracker/issue-7038-spider-web/ (also fixed tab align on switch and a logical thing on skill_additional_effect) Signed-off-by: shennetsind <ind@henn.et>
2013-01-29Fixed Bug #6305shennetsind1-64/+52
Brandish spear can now be used by rune knights riding dragons. Made riding state check for both peco and dragon, created a new state for peco-only so that the functionality isn't lost. http://hercules.ws/board/tracker/issue-6305-brandish-spear-bug-for-rune-knight/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-28New skill configshennetsind1-1/+1
After due consideration we thought it'd be in the best interest of the community to provide a switch to this official feature since it drastically change the way traps can be used Signed-off-by: shennetsind <ind@henn.et>
2013-01-28Fixed Bug #4832shennetsind1-2/+4
Fixed Ankle Snare to behave as in official servers, you only stop walking when you reach your destination and activates all other traps in the path. http://hercules.ws/board/tracker/issue-4832-hunter-ht-anklesnare-serious-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-27Fixed Bug #6644shennetsind1-3/+15
Basilica can only be placed when there are no other units (no mobs/players) within the range of which the basilica will spawn. http://hercules.ws/board/tracker/issue-6644-basilica-bugged/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-27Fixed Bug #4339shennetsind1-1/+1
Normal Boss/mini-boss attacks no longer can hit trick-dead'd players. http://hercules.ws/board/tracker/issue-4339-trick-dead-bug/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-20Fixed 3 logical errors (1 that would cause CH_PALMSTRIKE to crash the server ↵shennetsind1-3/+3
when either caster or target were out of sc data) Signed-off-by: shennetsind <ind@henn.et>
2013-01-13Fixed bugreport:7170 where AL_INCAGI where it double DEF.rud0lp201-14/+14
Fixed bugreport:6961 WL_COMET AOE range is now 15x15. Fixed bugreport:5811 where SC_BLEEDING is not attach to caster to give exp. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-12Change GC_VENOMIMPRESS to 10 cells.(bugreport:6419)rud0lp201-12/+27
Fixed bugreport:6503 where SR_GT_REVITALIZE causes glitch display in stat window. Change WM_LULLABY_DEEPSLEEP to self targeted skill.(bugreport:6579) Fixed bugreport:6642 where SR_CURSEDCIRCLE effect is not remove after casting AL_WARP. Change SO_ARULLO to ground targeted skill.(bugreport:6842) Fixed bugreport:7165 where 'npcwalkto' script command is not working properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-11Fixed bugreport:7159 where cooking formula and creation effect is not ↵rud0lp201-1/+1
working properly. Fixed bugreport:7129 where GN_MANDRAGORA is not working with other skills. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-10Fixed bugreport:7151 where NJ_ISSEN don't consume HP on plant type monsters.rud0lp201-1/+8
Fixed bugreport:7154 where RC_BOSS type monsters are not immune with SC_DEEPSLEEP. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08Fixed bugreport:7125 changed CH_PALMSTRIKE to aspd based like official.rud0lp201-1/+1
Fixed bugreport:7131 where negative def in PRE causes instant death to target. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07* Follow Up: r17080markzd1-13/+13
1. Removed an unnecessary update call. 2. Implemented interreg table at main.sql. * Follow Up: r17077, r17072, r17065 1. Fixed bugreport:7078, removed unnecessary checks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-05Fixed bugreport:6332 updated NJ_TATAMIGAESHI to its RE behavior.rud0lp201-5/+9
Fixed bugreport:7101 where MO_EXTREMITYFIST don't consume sp when used against plant type monster. Fixed bugreport:7116 missing duration for HW_MAGICPOWER. Fixed bugreport:7117 where WL_WHITEIMPRISON doesn't work properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-05* Follow up r17065markzd1-5/+6
1. Removed some unnecessary checks.(bugreport:7078) 2. Fixed some index's which would access an invalid array position, crashing the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-04> Follow-up to r17065:aleos1-180/+180
* Further harmonized skill_id and skill_lv variables. * Fixed trap skill item requirement checking for signed return and being set to unsigned variable. (bugreport:7085, bugreport:7114) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17076 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-02-Follow up r17065 glighta1-7/+5
--removing useless check on skill_id --fix few broken atcommand due to failed sscanf -Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-01Update NJ_ISSEN to its official RE behavior.(bugreport:6114, bugreport:5426)rud0lp201-60/+43
Fixed bugreport:6688 MO_EXTRIMITYFIST skill effect. Updated all non 3rd job skills to there official RE cast time delays. Updated WL_WHITEIMPRISON where cooldown should trigger whether success or not. Added missing status icon for SC_MATKPOTION and SC_ATKPOTION. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-31-Follow up r17065 fiw splash skill being broken.glighta1-2/+3
-Also revert unintentional change of GDI_SKILLLV (even if useless enum) bugreport:7076 --All type change related to tid:75123 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17067 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30* Follow up r17065markzd1-3/+4
Fixed some error when creating vars and some warnings.(bugreport:7074) * Removed an undisered warning on script's sscanf. (bugreport:7059) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17066 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30-Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for ↵glighta1-2162/+2164
skill_lv -Optimise type from int to int16 in order to reduce ram consumtion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29Fixed bugreport:6074 updated Renewal Def and MDef damage reduction formula. ↵rud0lp201-1/+3
Special thanks to KyleZ. Fixed bugreport:7028 where damage bonus of SR_GATEOFHELL has interchange with normal damage bonus. Fixed bugreport:6946 where CH_PALMSTRIKE causes damage when caster hides after casting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-29Old Eleanor work :glighta1-3/+28
-Implement MH_TINDER_BREAKER, STYLE_CHANGE git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-25Fixed bugreport:7015 missing base aspd for High Priest wearing knuckles.rud0lp201-2/+1
Fixed bugreport:7033 where fixed cast time reduction bonuses affect variable cast time. Fixed bugreport:7034 stats display should now display properly when skill debuffs/buffs are used. Fixed bugreport:6840 where Fire Cloak and Wind Curtain accidentally changed elemental damage resistance. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-22Community Contribution Time!momacabu1-2/+2
* Fixed bugreport:6303: official servers now always reshuffle the dice emoticon. To disable change the configuration to 'no'. Thanks to Vianna for providing the information! * Fixed bugreport:7026: creating a guild and exiting in a short amount of time wouldn't save the guild properly. Thank you clydelion! * Fixed bugreport:7030: removed warning introduced by r16987. Thanks Mr. Brian and Sir BuildBot for pointing! * Fixed bugreport:7031: if a player crashed during warp it would cause OnTouch_ to not trigger anymore. Thanks to flaviojs (eA-r15185) for the fix and Napster for pointing out! * Fixed bugreport:7032: Clementia and Canto Candidus give an additional of +1 str/agi/dex each 10 job levels (from caster). Thanks solvent! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-20* Follow up r16676markzd1-23/+13
1. Fixed a behavior which allowed devotion to be bypassed when the caster was under Reflect Damage Buff. 2. Fixed the reflected magic damage to always hit the target and not the paladin when it's not reflected by kaite. - Implemented bonus2 bMagicAtkEle which increases/decreases the caster magic damage based on its element.(bugreport:6943) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-16Fixed bugreport:7010 where r17014 missing status_change check that may cause ↵rud0lp201-22/+29
map server crash. Fixed bugreport:6953 where RK_WINDCUTTER don't have skill effect. Fixed bugreport:6701 change RK_CRUSHTRIKE to self target skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Fixed a glitch which was causing some buffs to have more duration than ↵markzd1-23/+11
intended.(bugreport:6606) - Fixed a glitch, related to r16109, which caused some buffs to end prematurely. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Follow up r17004 & bugreport:6995, added safer calculation to strategic ↵markzd1-1/+1
points at battle.c&status.c. - Implemented reading of renewal exp_guild.txt. (tid:75398) - Fixed Status Fogwall(Blinding Mist) to be reduced by status/card. (bugreport:4543) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11Happy Holidays and Happy 12/12/12 :)rud0lp201-29/+78
Update Elemental summon to its official behavior - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511) - Note: upgrade_svn17014.sql - And other elemental skills are to follow :) Fixed bugreport:6889 updated const.txt where it cause error to some items. Fixed bugreport:6999 where matk damage deals miss atk to plant type targets. Fixed status calculation where it doesn't give accurate result or how official calculation does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-09* Small improvement in case someone uses logarithmic drops with 1x rate, ↵momacabu1-1/+6
saving 19.4ms on start in that case; * Fixed bugreport:6606 (follow up to r16881), another issue regarding to dancing skills delay. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-07- Fixed wizard sightblaster skill which was not knocking back traps. ↵markzd1-1/+7
(bugreport:144) - Fixed soul linker Swoo(Eswoo) skill to make proper application of stun to caster and target when the second is shrunkened.(bugreport:6157) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16984 (pid:161281).glighta1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).glighta1-7/+57
-Fix previous recommit since r16995 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 - Re-committed r16979/trunk/src/ (pid:161281).markzd1-2/+2
- Re-committed r16980/trunk/src/ (pid:161281). - Malufett enhancement applied (bugreport:16981) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-16788/+16524
[16969:16991/trunk/src/] will be re-committed in the next 24 hours. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30Follow up r16981:rud0lp201-0/+6
- Where it causes nullpo_info warnings or even map crash(bugreport:6954) - Fixed wrong display of info using HW_MAGICPOWER in pre-re/skill_cast_db.txt(bugreport:5663) Synced 'skill_cast_db.txt'(new skills only) of RE with PRE RE git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29* Fixed bugreport:6942 where bSkillCooldown was not applying to skills.markzd1-4/+6
* Fixed some grammar typos in pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)rud0lp201-8/+52
Fixed bugreport:5745 WL_RECOGNIZED us now functional. Fixed bugreport:5663 where HW_MAGICPOWER shows glitch in status window. Fixed bugreport:6759 where items granting matk bonus didn't work. Follow up r16980 small performance enhancement...:) Done some TODO in skill_cast_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16981 54d463be-8e91-2dee-dedb-b68131a5f0ec