summaryrefslogtreecommitdiff
path: root/src/map/status.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-26Fix compilation errors and possible server crash from previous commits.Andrei Karas1-1/+2
2014-12-26Follow up@6dd08befa6064a652d0d98e7cb85f0e353992dd5malufett1-1/+5
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-26Updated KG/OB Spirit Charms to official behaviormalufett1-1/+4
-http://hercules.ws/board/tracker/issue-8170-oborokagerou-charm/ -http://hercules.ws/board/tracker/issue-8274-ninja-charms-not-giving-proper-bonuses/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-22Follow up@772cb2b111973c0c749e505ffd2685bb67e887bdmalufett1-2/+2
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-20Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett1-2/+6
2014-12-20Fixed Bug#8469malufett1-4/+6
-http://hercules.ws/board/tracker/issue-8469-issue417-refine-weapon-may-caused-server-to-crash/?gopid=24287#entry24287 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-16Add function what called if player leave npc area.Andrei Karas1-2/+6
2014-12-14Fixed some improper grammar.Mysteries1-4/+4
2014-12-10Add missing interface usage.Andrei Karas1-2/+2
2014-12-10Follow up 8faef4ff7ef37f52f24ac6e1e026a418b19db1femalufett1-10/+10
-oops.compile warning.. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-10RENEWAL Updates:malufett1-450/+478
-Homunculus Official Statuses -Updated RE @mobinfo to show proper status data.(Follow up 28a8b0f7b06a6af86aff6ececf7d9541d457e297) -Some official behaviors. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-11-26Update Fire Expansion to official formula for all levelMichieru1-13/+19
Fix Full Throttle Order of Calculations For Stat Increase/Decrease By Status's Mega Thanks to Rytech
2014-11-24* 1st Transcendent Spirit, monster position lag fixesMichieru1-19/+48
- 1st Transcendent Spirit will now work as on official servers (#116) * The max total stat that is granted by the skill is now BaseLevel-10 with a maximum of 50 instead of always 50 * It will now work as Marionette Control and calculate the bonus at cast time rather than overwrite all existing bonuses * Agi Up and Blessing will now cancel the soul link - Fixed various problems that caused position lags on the client (#118) * Added a define ACTIVEPATHSEARCH in mob.c; if active (default and official), monsters will only grab targets if the walk path to the target is shorter or equal their search range; search range depends on whether the monster is moving or not (range2 for standing monsters and range3 for walking monsters); this requires a lot of CPU load, if it causes trouble, just comment the define for old behavior * Fixed a bug that made monsters display "irregular movement with position lag" continuously when a status change ended that changed their walk speed * OFFICIAL_WALKPATH now also applies to monsters * If the path search fails while a unit is already moving, we will now issue of fixpos packet so that the unit does not only stop moving on the server, but also on the client * Direction fixes - Updated the config setting attack_direction_change from 15 to 0 (official value); that means that a unit's direction will no longer change when it attacks; knock-back effects from e.g. Firewall will depend on the last direction the target walked into instead (bugreport:1322) - Ensured that the default direction of a monster is always "north", so that immobile monsters will now always be knocked back to the south by e.g. Firewall on default settings, unless a skill like e.g. Backstab changes their direction (bugreport:1322) - Fixed a bug that stopped characters server-sided and caused position lag when closing a skill menu * Magnum Break damage fixed - Targets two cells away will now only take 100%+10%*level damage (#108)
2014-11-16Whitespace cleanup (no code changes)Haru1-192/+214
This includes, and is not limited to: mixed or wrong indentation, excess whitespace (horizontal and vertical), misalignment, trailing spaces. Signed-off-by: Haru <haru@dotalux.com>
2014-11-10Fix interfaces methods usage.Andrei Karas1-7/+7
In some places was used direct methods.
2014-11-01Merge pull request #380 from csnv/somefixesMichieru1-4/+3
Fixed ALL_RESURRECTION to not inflict damage on hidden undead type playe...
2014-10-31Fixed some errors pointed out by clang's static analyzerHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2014-10-30Fixed ALL_RESURRECTION to not inflict damage on hidden undead type playerscsnv1-4/+3
- Fixed bug report 8407: http://hercules.ws/board/tracker/issue-8407-resurrection-skill-cant-be-dodged-by-hide/ - Refactorized code
2014-10-29Added 2014 Halloween Event and made status change parameter optional on ↵Taylor Locke1-0/+11
montransform.
2014-10-30Fixed Bug#7915malufett1-2/+2
-http://hercules.ws/board/tracker/issue-7915-mind-breaker/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-10-30Fixed Bug#7736malufett1-1/+1
-http://hercules.ws/board/tracker/issue-7736-fist-spell-w-double-attack-and-similar-effects/?gopid=20575#entry20575 Fixed RE ATK random variance. Thanks to Angelmelody. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
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