summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-27Merge pull request #50 from Earisu/mastershennetsind1-3/+3
Chrif interface
2013-06-26Fixed Bug#7402malufett1-228/+249
-Added some missing calc in re atk. Fixed Bug#7378 -PA_GOSPEL should now clear buffs upon casting. Fixed Bug#7399 -Neutral skills should work properly with ghost type monsters. RENEWAL UPDATES: Updated some ninja & gunslinger skills to there renewal formula. Added exploit fix(RE fixed) with hunter stacking trap trick. Added some misc skills more to follow.
2013-06-26Merge branch 'master' of https://github.com/HerculesWS/HerculesSusu1-26/+45
2013-06-25Follow up 5785dbae3f513da20611e3147dadef2b9c911443shennetsind1-2/+6
Adjusted asura, special thanks to VyLow for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
2013-06-25For Bug #7402shennetsind1-24/+39
Temporary measure until malufett is capable of adjusting it himself. Special Thanks to Xgear for going thru all the testing for this with me, Also Special Thanks to VyLow for making it possible for me to reproduce the issue, and Zopokx, mofo and malufett. http://hercules.ws/board/tracker/issue-7402-damage-with-reduction-cards/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-25- Added chrif interfaceSusu1-3/+3
2013-06-23Official Item Group/Package/Chainshennetsind1-1/+0
http://hercules.ws/board/topic/1244-official-item-grouppackagechain/ Also Further implemented itemdb.c/storage.c interfaces, and a minor update to db2sql plugin. Signed-off-by: shennetsind <ind@henn.et>
2013-06-20Fixed an unsafe TBL_PC* cast in battle_calc_elefixHaru1-2/+2
This would cause a mapserver crash whenever the function was called by a monster attack. The issue was introduced in 03956104
2013-06-18Fixed Bug#7396malufett1-13/+11
-map crash in using GN_BLOOD_SUCKER.
2013-06-17Fixed Bug#7380malufett1-2/+2
-showprogressbar should now work as official.(Thanks Kyeme & Ryuuzaki) Fixed insane damage of Hatred Skills. (http://hercules.ws/board/topic/1110-renewal-attack/ - Thanks Axiom)
2013-06-14Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-7/+14
2013-06-14Hercules WPE Freeshennetsind1-2/+3
Official Packet Obfuscation Support http://hercules.ws/board/topic/1105-hercules-wpe-free-june-14th-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-14Fixed Bug#7362, Bug#7363 & Bug#7355malufett1-3/+10
Fixed compilation error and server console error.
2013-06-13Fixed Bug#7359malufett1-4/+4
Map Crashed on battle_calc_return_damage.
2013-06-13Revert "Fixed pre-re build warning"shennetsind1-3/+4
This reverts commit 4b713e7e3eac34339285125d194ae4ff4627fc2a.
2013-06-13Fixed pre-re build warningshennetsind1-4/+3
Special Thanks to ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Fixed Bug #7346shennetsind1-12/+34
http://hercules.ws/board/tracker/issue-7346-battlec-error Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Fixed unix buildshennetsind1-4/+5
Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Hercules Renewal Phase : Renewalmalufett1-2392/+2837
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-09Fixed Bug #7308shennetsind1-2/+2
Special Thanks to kyeme, mkbu95! http://hercules.ws/board/tracker/issue-7308-guild-aura-on-ally/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-1/+1
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-84/+84
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-139/+139
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
2013-06-06HPM: Minor Updateshennetsind1-0/+4
Made 'guild' interface available to plugins, added 'bc' in battle interface to link to map-server's battle config (special thanks to Shikazu!) Signed-off-by: shennetsind <ind@henn.et>
2013-06-06Fixed Bug #7324shennetsind1-2/+1
Special Thanks to mkbu95, Zopokx! http://hercules.ws/board/tracker/issue-7324-2-skill-issues Signed-off-by: shennetsind <ind@henn.et>
2013-05-17MOTD redesignshennetsind1-1/+0
much more flexible, as per community suggestion in http://hercules.ws/board/topic/320-motd-change-suggestion/ dropped motd_type config new motd is at npc/MOTD.txt dropped @motd, @gmotd commands Signed-off-by: shennetsind <ind@henn.et>
2013-05-16Map Zone DB skill_damage_cap updateshennetsind1-40/+40
http://hercules.ws/board/topic/302-introducing-hercules-map-zone-database/ As per community suggestion in http://hercules.ws/board/topic/559-about-adjust-skill-damage-mapflag/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-15Hercules Renewal Phase One: guild.c startedshennetsind1-5/+5
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-10* Implemented suggestion in topic:528, related to GMs being able to warp to ↵Matheus Macabu1-0/+1
non-walkable cells; also added configuration. * Few changes to gitignore and gitattributes. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-05-07Fixed Bug #7223shennetsind1-2/+2
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-04Upgrading Stat Server from 2.5 to 3.0shennetsind1-18/+37
also: modified encode_zip in grfio for a upcoming modification and some minor stuff in some other places. Signed-off-by: shennetsind <ind@henn.et>
2013-04-27Fixed Bug #7193 and ...shennetsind1-0/+1
http://hercules.ws/board/tracker/issue-7193-monsterhp/ -- Follow up 0f4a50d13538c3e5d3ca4d3822f92217c8da0479 re-introduced mob_max_skilllvl -- Updated some packet intro dates (special thanks to yommy! <33) Signed-off-by: shennetsind <ind@henn.et>
2013-04-27Skill ID Processing Overhaulshennetsind1-3/+2
http://hercules.ws/board/topic/512-skill-id-processing-overhaul/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-24Hanbok & Costumes Updateshennetsind1-0/+1
http://hercules.ws/board/topic/485-hanbok-costumes-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-22Fixed Bug #7168shennetsind1-1/+1
Card modifiers are now properly employed in pvp http://hercules.ws/board/tracker/issue-7168-bonus2-bsubracerc-demihuman-not-working/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-22Hercules April 22 MEGA-ULTRA-LONG Patch~!shennetsind1-10/+85
http://hercules.ws/board/topic/470-hercules-april-22-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-17Fixed Bug #7060shennetsind1-7/+4
Magical Reflection behavior is finally 100% official (or so we hope) http://hercules.ws/board/tracker/issue-7060-bmagicdamagereturn/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-17Fixed Bug #7124shennetsind1-0/+2
grimtooth is now affected by edp in pre-re edp mode http://hercules.ws/board/tracker/issue-7124-edp-doensnt-affect-grimtooth/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-16Fixed Bug #4464shennetsind1-7/+11
on critical hits ignoring def. Special Thanks to Micheru http://hercules.ws/board/tracker/issue-4464-critical-hits-no-longer-ignore-defense/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-16Fixed Bug #1721shennetsind1-2/+2
SECURE_NPCTIMEOUT now possesses 3 settings (to mimic official ones) NPC_SECURE_TIMEOUT_INPUT NPC_SECURE_TIMEOUT_MENU NPC_SECURE_TIMEOUT_NEXT http://hercules.ws/board/tracker/issue-1721-npc-window-timeout/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-16Fixed Bug #7060shennetsind1-5/+7
When using official magical reflection, the damage is no longer reduceable by mdef items or cards (elemental armors work), assumption doesnt reduce either when used in pre-re mode and energy coat is capable of reducing the damage. http://hercules.ws/board/tracker/issue-7060-bmagicdamagereturn/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-11Follow up 80ca4067115774d6c1c447072b470d5f69ab5883shennetsind1-2/+2
Improved, previous fix would screw up when non-player unit attacked a player. Signed-off-by: shennetsind <ind@henn.et>
2013-04-11- Strongly improved the structure of status_get_sc_def so it's a lot easier ↵playtester1-2/+0
to apply official formulas and make sure the checks are applied in the correct order - In the process, fixed the effect of luk on status changes and removed the static 3% resistance that has been proven to not exist (97 vit, 1 luk can get stunned on officials) - As there is no general luk resistance as it depends on each status change, removed the luk_status_def configurations - Updated the success chance of Decrease Agi to the formula that was extracted from Aegis (blevel/5 + int/5 + skill_lv*3 + 50) Note: I tested all the status changes thoroughly, but as this is a quite large update, it would be nice if someone could cross-check it. Note2: Renewal status resistances (for pre-renewal status changes) are currently not implemented in rAthena at all. They need to be added in another update. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17201 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-11-Fix SC__SHADOWFORM not ending if target does not move after being warp. ↵glighta1-3/+3
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-04-10Fixed reflect-damage loop that'd result to a crashshennetsind1-3/+5
Special Thanks to jTynne! Signed-off-by: shennetsind <ind@henn.et>
2013-04-07PacketDB Overhaulshennetsind1-1/+0
Feature Design by GreenBox Special Thanks to mkbu95 for bringing this topic up! (packet db) http://hercules.ws/board/topic/353-packetdb-overhaul/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-06Fixed Bug #7089shennetsind1-0/+3
Special Thanks to KyleZ, jTynne, mkbu95 http://hercules.ws/board/tracker/issue-7089-server-crashed-by-16-garment/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-02Introducing 5 new/official mapflags.shennetsind1-73/+28
They're: - weapon_damage_rate - magic_damage_rate - misc_damage_rate - long_damage_rate - short_damage_rate Dropped 15 battle settings that became pointless with this upgrade. Updated battleground zone damage reductions, skill damage from -30% to -20% and weapon damage from -40% to -30%. Special Thanks to Muad_Dib. Signed-off-by: shennetsind <ind@henn.et>
2013-03-30Hercules Renewal: clif.c completeshennetsind1-27/+27
Added the last missing functions into the interface, all functions in clif.c are now wired to the interface. http://hercules.ws/board/topic/237-hercules-renewal/ Also shortened clif->displaymessage to clif->message, removed the old clif->message and merged its functionality with clif->disp_overhead (both use the same packet and do the same thing :P) - and a gazillion other stuff: http://hercules.ws/board/topic/316-introducing-hercules-channel-system/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-29Hercules Renewal: clif.cshennetsind1-33/+33
1st Phase Complete. http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>