summaryrefslogtreecommitdiff
path: root/src/map/battle.c
AgeCommit message (Collapse)AuthorFilesLines
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>
2013-03-11Dropping leftovers from when battle.c wasn't all wired to the interfaceshennetsind1-3/+0
Signed-off-by: shennetsind <ind@henn.et>
2013-03-09Hercules Renewal: battle.c completeshennetsind1-61/+60
Added the last missing functions into the interface, all functions in battle.c are now wired to the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-03-08Fixed Bug #7114malufett1-1/+1
-revised/added 'npc_isnear' where it checks if an NPC is nearby when making chat rooms or using vending. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-06Fixed Bug #7110malufett1-0/+1
-where some skill causes the map server to crash Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-02Fixed Bug #7107shennetsind1-2/+1
MSVC Warning http://hercules.ws/board/tracker/issue-7107-compiling-warning-c4113/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-02Hercules Renewal: skill.cshennetsind1-144/+140
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-01Hercules Renewal: battle.cshennetsind1-68/+99
http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-27Fixed Bug #6527malufett1-0/+1
-Where all NPC don't allow changing of equipments by default and now can be set in 'items.conf'.
2013-02-24Fixed logical issue / gcc warningshennetsind1-1/+1
Signed-off-by: shennetsind <ind@henn.et>
2013-02-24Fixed Bug #7091malufett1-1/+6
-Updated SN_SIGHT to its RE behavior. -Updated RE behavior that deals with NPC dialogs and using items/skills. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-22Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett1-0/+15
2013-02-22Fixed Bug #7087malufett1-1/+1
-Updated official behavior of warp portal dealing with skill requirement and casting. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-02-21Merge branch 'master' of github.com:HerculesWS/HerculesStreusel1-1/+1
2013-02-21> Follow up to r17140.aleos1-0/+15
- Crush Strike now lasts for 30 seconds. - Phantom Thrust is now targeted to allies. - Updated SP requirement for Death Bound. - Giant Growth now has a .1% chance to break caster's weapon. - Stone Hard Skin now has a 30% chance to break caster's weapon. - Stone Hard Skin now has a 30% chance to reduce 25% damage from monsters for 10 seconds. - Corrected Stone Hard Skin's DEF/MDEF increase formula. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17145 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-21Fixed Bug #7066 and Follow up Bug #4832malufett1-1/+1
-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-18Improvements all over the placeshennetsind1-5/+6
Committing on the behalf of mkbu95 who is unable to do it himself, he coded it all and sent me the diff. Thanks mkbu95! Signed-off-by: shennetsind <ind@henn.et>
2013-02-16Updating the Headers across source filesshennetsind1-1/+1
And adding missing ones. Signed-off-by: shennetsind <ind@henn.et>
2013-02-15Adjusted 'adjust_skill_damage' Mapflagshennetsind1-7/+6
The flag is now respected by all unit types, not only players. This also fixes a previous problem as reported by exneval (Thanks!) Signed-off-by: shennetsind <ind@henn.et>
2013-02-15Fixed Bug #7039shennetsind1-6/+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_skill_damageshennetsind1-0/+22
Made as a improvement of the original ADJUST_SKILL_DAMAGE -- special thanks to Muad_Dib! . This mapflag allows you to modify the damage of any skill in any map, for example "prontera mapflag adjust_skill_damage MG_FIREBOLT 200" doubles the damage of Firebolt in prontera Another Example: "prontera mapflag adjust_skill_damage MG_FIREBOLT 50" Halves the damage of Firebolt in prontera. Signed-off-by: shennetsind <ind@henn.et>