summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-27Fix Gentle Touch Change map-server crashRidley88191-1/+1
Report:8415 http://hercules.ws/board/tracker/issue-8415-gentle-touch-change-crash/
2014-10-25HPM Hooks UpdateHercules.ws1-12/+12
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-10-25Sight Blaster and other skill fixes, magic reflect, crash, trap display and ↵Michieru1-12/+22
monster behavior fixes - Fixed cast time of Sightrasher in pre-renewal (700ms -> 500ms) - Official Sight Blaster behavior (bugreport:6945, partially bugreport:144) * Sight Blaster's AoE is now 3x3 even in pre-renewal (it was originally larger so it hits traps before they trigger) * Sight Blaster will now prevent traps from triggering as long as they are knocked back * Fixed a bug that caused Sight Blaster to not work on traps and ice walls at all * Sight Blaster will no longer expire when the attack was reflected * Sight Blaster will now expire when hitting an ice wall * Sight Blaster will now properly protect you from being attacked from its AoE range - Sight, Ruwach and Sight Blaster will now check for a target every 20ms (previously every 250ms) - Step action will now be canceled when being knocked back (skills won't be executed anymore when knocked out of range) - When knock back magic is reflected it will no longer lead to the caster being knocked back (related to bugreport:6945) - Activated traps can no longer be hit - Fixed a problem that left "trap ghosts" forever on the screen when a trap was knocked out of the screen - Monster behavior fixes * Monsters will no longer be able to do normal attacks when hiding * If out of any reason a monster on "attack" state can't move and can't do normal attacks, it will now use "attack" state skills * The order of monster thought processing is now equal to official servers - Fixed some potential map server crashes Mega thanks to Playtester (rathena b88e95381d6a7)
2014-10-24pc_isriding* / pc_setriding* cleanupHaru1-27/+39
- pc_isriding is now renamed to pc_isridingpeco, since that's what it checks (to avoid confusion). - pc_hasmount is added, to check for any of Peco, Dragon, Mado Gear, Wug Rider. - pc->setridingdragon is added. - pc->setridingwug is added. - pc->setfalcon type is changed. - pc->setmadogear type is changed. - pc->setridign is changed to pc->setridingpeco to avoid confusion. - Changed direct accesses to sd->sd.option to the proper pc_is* accessors, where applicable. - Special thanks to Kisuka. Signed-off-by: Haru <haru@dotalux.com>
2014-10-18HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-10-18Correctly fix bug:8225 gentle touch revitalize now reduce damage correctlyMichieru1-11/+8
2014-10-10Fix Kyougaku make client crash and update the formula to official (bug:7975)Michieru1-19/+16
2014-10-08Update Hovering to it's official formula. (bug:8384)Michieru1-1/+1
2014-09-20Fixed Bug 8260shennetsind1-2/+7
Fixed issue with map zone inheritance failing to inherit subtype, and fixed MOB_BOSS subtype criteria in order to separate from non-MOB_BOSS. Special Thanks to Angelmelody, Michieru. http://hercules.ws/board/tracker/issue-8260-the-uint-type-of-map-zone-system-was-not-working-properly/ Signed-off-by: shennetsind <ind@henn.et>
2014-09-20Replaced hardcoded values with constants for status_change_start's flagHaru1-41/+51
- Please use the values from enum scstart_flag when calling status_change_start or related functions. - This also applies to the sc_start script commands. Signed-off-by: Haru <haru@dotalux.com>
2014-09-20Fix attack in pre-re (bug:8353)Michieru1-7/+2
2014-09-19Fix compile error in pre-re follow: ↵Michieru1-1/+1
https://github.com/HerculesWS/Hercules/commit/acc4d2eb875ddf67898ae0ac443e76de2d640daa
2014-09-19Update official Homunculus renewal stats (bug:6970) ↵Michieru1-14/+43
http://hercules.ws/board/tracker/issue-6970-homunculus-renewal-stats/ Follow up (bug 8348): https://github.com/HerculesWS/Hercules/commit/ddc52570a9bf694cdba6445bc02350a94856a583 Update official overbrand damage (special thanks to Rytech) The skill damage is no longer affected by your base level. It is now affected by the enemy's base level (special thanks to Rytech) Updated the list of skills usable while mounted on a mado. (special thanks to Rytech)
2014-09-16Follow: ↵Michieru1-1/+1
https://github.com/HerculesWS/Hercules/commit/8ab61745b81d1cf0602c7998f590aac8749187da This fixed all mob size problem :) Fix estin estun not working properly (bug:7891)
2014-09-16Follow rev: ↵Michieru1-1/+1
https://github.com/HerculesWS/Hercules/commit/0a24a4bb6340459a6128c39d13ab1bf37a5bc6b8 Fix bug: 7891: http://hercules.ws/board/tracker/issue-7891-estin-estun-breakfall-and-kick-stance/
2014-09-15Merge pull request #356 from csnv/tinyfixesMichieru1-1/+5
Corrected MATK calculation for Mob. Bug report 8340
2014-09-15Corrected MATK calculation for Mob. Bug report 8340csnv1-1/+5
2014-09-15Merge pull request #355 from csnv/tinyfixesMichieru1-6/+7
Fixed song display, changed devotion conditions
2014-09-15Text aligncsnv1-5/+5
2014-09-15Fixed song display, changed devotion conditionscsnv1-1/+2
- Fixed bug report http://hercules.ws/board/tracker/issue-8338-apple-of-iduns/?gopid=23558#entry23558 - Changes devotion check to work with reflect equipment of the target
2014-09-15Fixes error initializing SC_WARMERcsnv1-0/+1
Bug report: http://hercules.ws/board/tracker/issue-8341-spamming-error-message-on/
2014-09-14Merge pull request #338 from csnv/unitcleanupMichieru1-1/+0
Corrected SC_WARMER. Other cleanups
2014-09-14Storm Gust freeze chance is only 150% and not 300% (Thanks to Playtester)Michieru1-6/+0
Spiral Pierce should hitlock to 100% but not work on bosses (Thanks to Playtester) Implemented the official formula for Potion Pitcher when used by monsters (Thanks to Playtester) Golden Thief Bug card should not immune masquerades Desperado should not be reflect by Shield Reflect (bug:7624)
2014-09-14Restored flag 8 behaviour in status_change_startcsnv1-11/+12
- Fixes bug report http://hercules.ws/board/tracker/issue-8337-ankle-snare/?gopid=23533#entry23533
2014-09-14This should finish to fix Status effect chance for renewal and pre-re(bug:8242)Michieru1-10/+7
Special Thanks to Playtester for all the information
2014-09-13Fix Soul Breaker not affect by Lex Aeterna (bug:7712)Michieru1-0/+1
Fix Throwing Mysterious Powder with Sling Item. Thanks to Rikter (bug:8333)
2014-09-13Update formula of Vulcan Arm, Flame Laucher and Cold Slower.Michieru1-5/+5
Add Hesperuslit formula effect. Banding now count the caster. Fix a bug with Lex Aeterna that not double the damage of Acid Demo. (bug:8098) Update to official formula Reproduce skill. Fix Mind Breaker Matk. (bug:8328) Fix a map crash with Gentle Touch change. (bug:8326) Special Thanks to Ind
2014-09-10Removing large spacecsnv1-1/+1
2014-09-10Fixes songs refresh bug, updates BA_ASSASSINCROSScsnv1-19/+21
- Fixes bug 7125: http://hercules.ws/board/tracker/issue-7125-song-refresh/ (Rathena fix) - Updated BA_ASSASSINCROSS ASPD Renewal Formula according to latest tests - Added 'Skill failed' message to Devotion
2014-09-08Merge pull request #339 from csnv/skillchecksMichieru1-9/+2
Fixes CR_DEVOTION and MG_STONECURSE behaviour, hiding behaviour.
2014-09-06Fix ASPD bonus with some skillscsnv1-1/+2
Bug introduced in ca9b662d436d16c4ea5244cef51a2fb41eccf23d
2014-09-06Fixes CR_DEVOTION and MG_STONECURSE behaviour, hiding behaviour.csnv1-9/+2
Fixed CR_DEVOTION to not be casted on other characters while the limit is already reached. Follow-up: e7be72538ea9c203bfd7a976d82e268e04303ca4 MG_STONECURSE now correctly displays effect when terminating SC_STONE. No longer works on hidden characters. Bug report http://hercules.ws/board/tracker/issue-7958-stone-curse/ Hiding no longer prevents skills from working if they were casted before hiding and are not intended to inflict damage (buff/de-buff skills). Tested on aegis.
2014-09-05Corrected SC_WARMER. Other cleanupscsnv1-1/+0
-Fixes bug 8044: http://hercules.ws/board/tracker/issue-8044-sorcerer-warmer/ TODO: Fix skill_unit_onout to work for skill_unit_timer_sub_onplace too. - Cleaned some skill_unit_onout cases never reached. - Removed icon for SC_WARMER.
2014-09-03Fixes bard song assassin cross of sunset. Thanks to Juviacsnv1-1/+1
Corrected skill level/status formula and Musical Lesson bonus
2014-08-29Fix status def calculation (bug:8306)Michieru1-40/+8
Updated script command 'sc_start' to allow for more variables and options rAthena 17326 (bug:8217) Fix Cart Tornado damage to official elemental crashing/memory error (thanks to Ind)
2014-08-23Fixed official devotion behaviour, various cleanupsnadiyama1-11/+11
Fixed devotion behaviour according to bug report 8292 http://hercules.ws/board/tracker/issue-8292-devotion (precast conditions pending) Cleaned non existing flag from status->change_start calls. Removed redundant condition in battle->check_range.
2014-08-08HPM Hooks UpdateHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-08- Update Fire Cloack to official formulaMichieru1-19/+12
- Update Water Barrier to official formula - Insignia end status for everyone but spirits - Neutral Barrier def/mdef bonus should not be show in status window - Striking should be show in status window (bug:7945) - Reverberation should be cast on the caster (bug:8291)
2014-08-07Corrected several format-string errors through the codeHaru1-9/+7
- Functions that expect a printf-style format string are now marked as such, so that gcc/clang will emit a warning warn you if you mismatch format string and arguments. Signed-off-by: Haru <haru@dotalux.com>
2014-08-06HPM Hooks UpdateHercules.ws1-17/+17
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-08-06- Fix 3rd class skills on pre-renewal.Michieru1-16/+34
- When under Mind Break Matk Effect and Mdef reduction should not show on ALT Q(bug:7915) - Plagiarism should not copy New 3rd class skills. Thanks to OmegaRed (bug:8118) - Update Runstone Lux Anima to official formula (bug:8285) - Add official formula for Demonic Fire - Update damage formula for Unlimit, apply Def and Mdef to 1 during the skill and adjust the cooldown to official. (bug:8227) - Flash Combo should not consume hp-sp and the skill not ignore the distance. - Fix a bug with Full Throttle that not consuming sp correctly and adjust the cooldown to official. - All WoE items are inactive outside WoE or PVP - Add bonus3 bSPVanishRate for Vellum Items. - Script Vellum Items. - Add 2 new bonus bSetDefRace and bSetMDefRace for the Vellum Items. (rAthena c046668034) - Fixed Bowling Bash, Brandish Spear, Grand Darkness and Meteor Assault reducing def during cast; the only skill that does this officially is Grand Cross (rAthena 694719048e) - Implemented official Bowling Bash with all its special behaviors including the gutter line * As many servers probably want to remove the gutter line problem, it is configurable; just adjust the bowling_bash_area setting in skill.conf (Bug:4209) - Sonic Blow now has a fixed range of 1, even for monsters; a monster can't use this skill if you tank it from farther away (rAthena a15cee063d)
2014-07-18Update status.cnadiyama1-0/+1
2014-07-12Updated SR_FLASHCOMBO behaviourpanikon1-1/+11
- Added SC_FLASHCOMBO Relocated some code related to SC_ALL_RIDING Updated SI table and skill table according to 3CeAM, special thanks to Rytech
2014-07-11Follow up to da190e09a33591aaabfd2c7735fd64ebb12f78e9panikon1-1/+2
- Added SC_FALLENEMPIRE and updated const.txt Special thanks to Rytech
2014-07-11Mado behaviour changespanikon1-3/+4
- Corrected list of skills that can be used while using mado - Corrected list of supportive skills that can't be cast in users with mado - Fixed *setmadogear behaviour, it would set mado to any character Added SI_FALLENEMPIRE to SR_FALLENEMPIRE Added SI_SILENTBREEZE to MH_SILENTBREEZE Fixed MH_SILENTBREEZE entry in skill_db Special thanks to Rytech
2014-07-09Fixed issue with mounts and jobchange, ranger and mechanic mounts weren't ↵panikon1-2/+2
being checked and properly removed in pc_setoption Abstracted running functions into two other methods (unit_run and unit_wugdash) Added checks in skill_dance_switch so it'd be safe to call it whenever it's needed Documented unit_run, unit_run_hit, skill_dance_switch and sc_conf_type
2014-07-09Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 ↵panikon1-0/+1
(http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/) Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669
2014-07-09Fixed status_calc_regen crash ↵panikon1-0/+1
issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/ Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947
2014-07-08Removed redundant data from guardian_data, saving up to 40 bytes per ↵panikon1-12/+17
guardian (10240 bytes total)
2014-07-05Corrected HT_POWER behaviour, combo and type of skill, and fixed TK-combos ↵panikon1-5/+8
walking delay (issue: 8241 http://hercules.ws/board/tracker/issue-8241-cant-move-during-certain-combos/)