summaryrefslogtreecommitdiff
path: root/src/map/unit.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-29Added chat interfaceSusu1-1/+1
2013-07-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-5/+7
2013-07-25Expanding script.c interfaceshennetsind1-1/+1
Hercules Renewal Phase One. Signed-off-by: shennetsind <ind@henn.et>
2013-07-23Pathfinding code cleanup.Piotr Hałaczkiewicz1-5/+7
Now uses binary heap defined in `db.h`. Walk requests now use A* (hard) pathfinding only to match game client behavior. Added defines for movement cost. Added some documentation & comments.
2013-07-21Fixed various unit* script commands to work with NPCs (issue #7548)Haru1-2/+24
http://hercules.ws/board/tracker/issue-7548-unitwalk-do-not-work/ Follow-up to 20bdc01. Thanks to Ind for his support and suggestions. Signed-off-by: Haru <haru@dotalux.com>
2013-07-08Fixed Bug #7492shennetsind1-5/+6
Special Thanks to Poison, Takkun. http://hercules.ws/board/tracker/issue-7492-checkidle-on-attack/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-07Fixed Bug#6503malufett1-0/+4
-where SR_GENTLETOUCH_REVITALIZE is not working properly. Fixed Bug#6547 & Bug#6141 -SC_BLOODYLUST should now work properly like as official behavior. Fixed Bug#7395 -SO_SPELLFIST should now work properly. Fixed Bug#7477 -removed hidden walkdaley that makes character stop when hit even if SC_ENDURE is active. Fixed Bug#7475 -fixed error message in SA_AUTOSPELL when cancel button is pressed. Fixed Bug#7337 -MG_CHANGECART should now work properly. Fixed Bug#7474 -SC_MAELSTROM should now work properly like as official behavior.
2013-07-04- Added interface iStatus (needed to renamed it because A LOT of variables ↵Susu1-30/+30
are already called 'status')
2013-06-28Fixed Bug#6991malufett1-1/+1
-Where cardfix is not working properly. Thanks Kyeme Renewal Update: -updated/completed mastery fix damage factor(skills and sc). -initial implementation for new NPC skills (note: not yet functional dbs not yet updated).
2013-06-20Hercules Renewal Phase One: storage.cshennetsind1-2/+2
2 new interfaces: - storage - gstorage http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-15- HPM: Added trade interface;Matheus Macabu1-1/+1
- Moved PARTY_RECRUIT definition to mmo.h to avoid segfault; - Check if item is already at maximum refine; - Fixed that @reloadscript with one npc bug (thanks to akinari). Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-14Finalizing fix for #7339.Matheus Macabu1-1/+1
Also added proper support for party booking on 2012-04-10Ragexe (thanks to bgamez23). Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-14Partial fix for #7339.Matheus Macabu1-1/+2
There is another topic on it that has to be discussed. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-13Hercules Renewal Phase : Renewalmalufett1-31/+32
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-3/+3
Adjusting party.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-23/+23
Adjusting pc.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-07Hercules Renewal Phase One : pc, party, map, timerSusu1-149/+149
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
2013-05-30Memory Slasher - May 30 Patchshennetsind1-15/+22
http://hercules.ws/board/topic/928-memory-slasher-may-30-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-15Hercules Renewal Phase One: guild.c startedshennetsind1-4/+4
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-15Follow up b864056b8d088660fca9129bddad477732ed8df9shennetsind1-0/+5
Special Thanks to Xgear! Signed-off-by: shennetsind <ind@henn.et>
2013-05-15Fixed Bug #7238shennetsind1-28/+26
http://hercules.ws/board/tracker/issue-7238-skills-effect-showing-up-without-state-change-occuring/ Special Thanks to Xgear~! Signed-off-by: shennetsind <ind@henn.et>
2013-05-15Fixed Bug #7244shennetsind1-3/+3
http://hercules.ws/board/tracker/issue-7244-consumable-items-consuming-with-no-effect/ Special Thanks to Xgear <3 Signed-off-by: shennetsind <ind@henn.et>
2013-05-07Fixed Bug #7223shennetsind1-5/+4
http://hercules.ws/board/tracker/issue-7223-homunculus-s-max-level-overshooting/ src/map/homunculus.c Hercules Renewal Phase One complete. http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-07Cart Fixshennetsind1-4/+4
cart 'items' button no longer remains visible after the cart has been removed. -- Special Thanks to Wolfed. Improved status change end, now only sends the termination packet to those that matter, as opposed to always sending to those nearby, and made it smaller. Made possible thanks to super awesome Yommy :3 Signed-off-by: shennetsind <ind@henn.et>
2013-05-053rd Class Effects Updateshennetsind1-3/+10
http://hercules.ws/board/topic/561-3rd-class-effects-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-22Also fixed a behavior of npcwalkto, which was capped by walkpath limit.Matheus Macabu1-1/+1
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-04-22Hercules April 22 MEGA-ULTRA-LONG Patch~!shennetsind1-2/+2
http://hercules.ws/board/topic/470-hercules-april-22-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-15Fixed Bug #7152 and #7161malufett1-1/+1
-SI_RIDING is not remove when changing job via @jobchange. -RG_STRIPWEAPON should now only remove right hand weapon even if dual wielding. -Fixed 'display_status_timers' conf where it doesn't work properly in newer clients. -Reverted '14a406ee0e5c6ba25539cc98f27ff9c2b8047e2e' where it's already fixed @ 'b9c79ceb5bfc86809da1d3b6154da4222cb72734'. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-04-11Fixed Chorus skill partner checkshennetsind1-31/+31
Improved from the merge 2fec7b3c41bd3b1c5a94ba31789c433350ff98c8 Signed-off-by: shennetsind <ind@henn.et>
2013-04-11-Fix SC__SHADOWFORM not ending if target does not move after being warp. ↵glighta1-4/+9
bugreport:7271 -- Thus allowing to inflict damage between map (only if both player don't move). -- Cleanup old map-check on move check. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-29Hercules Renewal: clif.cshennetsind1-49/+49
1st Phase Complete. http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-09Dropping StatusChangeStateTableshennetsind1-11/+39
We've discussed, and decided that this feature's improvement is not worth the hassle it creates. Gepard was right, and I was stupidly wrong. Signed-off-by: shennetsind <ind@henn.et>
2013-03-02Hercules Renewal: skill.cshennetsind1-73/+63
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-01Hercules Renewal: battle.cshennetsind1-12/+12
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-27Fixed Bug #7014 and Bug #7077malufett1-15/+6
-where Chorus/Ensemble skill checks are not working properly. -NJ_SUITON should now work properly with Kagerou/Oboro. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-21Fixed Bug #7066 and Follow up Bug #4832malufett1-6/+0
-Where KG and OB can hit there Zanzoe. -Ankle Snare should now work properly in GvG. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-16Updating the Headers across source filesshennetsind1-1/+1
And adding missing ones. Signed-off-by: shennetsind <ind@henn.et>
2013-02-07Adjustment to skill_trap_type battle/skill configshennetsind1-3/+3
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-07Fixing mistake in modified source code headersshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-02-05Updating Headers of modified filesshennetsind1-2/+3
Signed-off-by: shennetsind <ind@henn.et>
2013-02-05Fix Bug # 7049malufett1-3/+4
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-03Fixed Bug #7044shennetsind1-1/+1
Monsters in stone curse pre-stone state no longer are able to attack. http://hercules.ws/board/tracker/issue-7044-stone-curse/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-03Fixed Bug #7042malufett1-1/+2
Fixed wrong 'if' condition in checking CELL_CHKNOPASS for the OFFICIAL_WALKPATH where clear path is considered to be limited to 14 cells it should only be with obstacles.
2013-01-30Fixing skill_trap_type bug, special thanks to exnevalshennetsind1-2/+2
Signed-off-by: shennetsind <ind@henn.et>
2013-01-28New skill configshennetsind1-1/+5
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-10Implemented official walk path dealing with obstacle.(bugreport:6159)rud0lp201-5/+10
-see 'src/config/core.h' for settings[OFFICIAL_WALKPATH]. Fixed bugreport:7057 where HP_ASSUMPTIO should only double eDEF & eMDEF. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08Another fix with the @follow issue.ediejohnny1-3/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08Fixed a problem with the @follow command, that was stick the character when ↵ediejohnny1-4/+8
turned the @follow off. (bugreport:7139) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-05* Follow up r17065markzd1-1/+1
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