summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2006-05-03- Fixed standing up not really standing you up.skotlex4-71/+54
- Moved battle_consume_ammo to the end of skill_castend_damage_id, skill_castend_nodamage_id and skill_castend_pos2 rather than battle_calc_weapon_attack. They will trigger when the player's arrow_atk state is active and a ground skill was not invoked. It should fix all issues with splash/ground skills consuming ammo per target rather than once per skill use. - Added structure state to the ground skills, their fields are magic_power, into_abyss and ammo_consume to indicate the states that were previously stored in val3. - Corrected Desperado ammo consumption (should be 10) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03- Implemented desperado as explained by Rockman-EXE.skotlex2-7/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Removed the unit_can_move checks in skill cast-end, they should be ↵skotlex1-12/+4
performed in skill_check_require when the skill's state is move_enabled. - Changed extremity fist's state to move_enabled, the explosion spirits check is now hardcoded. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Absorb Spirit Sphere now gives +10SP per sphere as per discussions with Haplo.skotlex3-19/+39
- Changed a <= into a < in pc_steal_item. This means drops with 0.01% are impossible to steal unless you have at least 100% steal-rate (where steal rate is dex - opponent dex + skill_lv*3% + 10%) - Cleaned up clif_parse_action_request to enable sitting/standing while in shops, interacting with npcs, etc. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Kaite now works against all types of spells.skotlex3-22/+32
- Kaupe now works against all skills. - Sanctuary now won't damage non-enemies. - Blessing now will always give you bonus stats even if you are wearing undead armor. - Linking skills now have their cast-time reduced by dex. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Modified how Rogue's treasure works so that you get +1% to your steal rate ↵skotlex4-51/+64
rather than +0.01% to the final rate. - Rewrote Warmth to use ground-skill-units, it should behave now like in officials (implementation is not quite the same, but it should yield the same effects while consuming less bandwidth). "Stacking", as it's called, is possible now, but limited to eA's minimum timer skill interval (100ms). - Modified NPC_POWERUP so that it gives +10 dex * skill level rather than +5+lv to all stats (as explained by Playtester and Tharis on how the skill behaves). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Fixed Jump Kick's range to 9.skotlex3-6/+4
- Allowed SG_FEEL memorizing the same map for all three. - SC_FUSION won't end when you die now. - Added knockback when you run into a wall during running. However position is not being refreshed on the client yet... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Fixed pc_disguise not allowing you to "redisguise".skotlex1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Corrected a crash when sd is null in npc_eventskotlex1-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02added support to regulate MVP drops [Reddozen]reddozen3-17/+68
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02- Removed OPTION_XMAS, it seems to not exist....skotlex6-36/+20
- Added SC_SMA to handle "ready to use SMA" status (rather than SC_COMBO) since it has a visual effect to use. - Corrected the value of OPTION_FLYING - Using SG_FUSION ends Soul Linked effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- status_setviewdata will set your option accordingly when the previous/new ↵skotlex2-2/+9
view-class is wedding or xmas suit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Added function map_foreachinshootrange, behaves the same way as ↵skotlex3-3/+80
map_foreachinrange, but it also performs a "shoot-path" check before invoking the function. Used in the skill subtimer function if skill_wall_check is defined. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Added -DMAPREGSQL to Makefile, commented out by default for now.skotlex2-17/+28
- Fixed AL_WARP displaying "Unknown Area" selections when you don't have all memo points used up. - Fixed alive_count not being reset on skill unitsetting, which leads to some groups not being cleared once all their units expire. - Optimized Kahii, will now only show the amount of HP healed. Moved to skill_counter additional effect so it may trigger even on miss. - SKA no longer blocks skills. - Modified the AM_TWILIGHT* skills to require 200 medicine bowls. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01Dangling pointer~Lance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Optimized fake npc system. Added npc_checknear back to npc_buysellsel.Lance3-20/+26
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Skills with the move_enable state won't get the walkdelay increased on a ↵skotlex1-1/+3
skill-cast. - Changed TK_RUN's state from none to move_enable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Fixed a small typo/logic-error in pet_ai_sub_hardskotlex2-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01- Some corrections in the clif_parse_whisper function which should fix ↵skotlex1-9/+11
crashes in the chat_log under "certain" conditions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Fixed dangling pointer in pc_steal_item (missing lines) causing crash. Lance1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01* Fixed lack of initialization in chrif_authreq causing crashes in chrif_authok.Lance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Fixed a logic error that was likely the cause of pet loot drops not working.skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- If someone is expulsed from a guild while the guild storage is open, it ↵skotlex5-2/+30
will be auto-closed now. - Modified battle_consume_ammo to prevent consuming multiple arrows on AC_SHOWER. - Readded script command skillpointcount. (who removed it? <.<) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Merged the code of NJ_SHADOWJUMP with TK_JUMPKICK.skotlex1-17/+5
- Moved the hiding requirement to the skill_require_db.txt as it should be. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30fixed STEAL. 8) and tested at lhz_dun03Lupus1-6/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Implemented NJ_SHADOWJUMP. Tell me if I forgot anything (especially DB entries).blackhole891-2/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Fixed scripts relying on older event calling methods.. Still searching for ↵Lance1-1/+1
other scripts.. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Removed attack_type from sd->state structure (it's only use was for ↵skotlex5-12/+16
soul-drain!) - Moved the soul-drain code to skill_counter_additionaleffect git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- Fixed possible crash when mob drop logs is enabled. skotlex1-1/+1
- The drop log tables are useless now that mobs have more slots, that thing needs to be rewritten... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6391 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30- and more typosLance1-16/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30Fixed typo in script.cLance1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Changed the HT_DETECTING method from invoking clif_changetraplook to ↵skotlex1-1/+3
clif_skill_setunit since in the first the client ignores the fact that it is now a trap (rendering skills like Remove Trap useless). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6386 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- pc_resetskill flag can now be &2, it only returns the total amount of ↵skotlex4-17/+36
skill points spent, it doesn't does a reset. - added script command skillpointcount. Returns total amount of skill points a char has (the value returned is the same that SkillPoint would have after invoking a skill reset) - Modified Defender. Speed reduction is 35-5*lv%, damage reduction on devoted chars is 5+5*lv%. These values are custom, but should be closer to "reality" than what we have. - When you have the wrong ammo type equipped, the equip arrows first message will be sent, as suggested by Haplo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Cleaned up unused variables in npc.cLance1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Changed checks of item's identify field from 0/1 to 0/non-zeroskotlex2-6/+17
- Corrected TK_JUMPKICK to place the caster on the tile next to the target rather than on top of it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Small change in pc_calc_skilltree which should fix the infinite loop...skotlex1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29temp steal disableLupus1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29fixed STEAL. now workingLupus3-13/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29Added @noask command: enable/disable deals/invites autorejecting.LuzZza4-7/+98
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29temp steal disableLupus1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Removed unreferenced local variable in pc.cLance1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Reverted npc_checknear to exclude check for class_ -1.Lance2-10/+12
* Removed npc_checknear in npc_buysellsel, npc_selllist and npc_buylist as enough preventive measures of hacking are already implemented. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29Updated STEAL skill (WIP), added a battle config option: ↵Lupus5-18/+22
'skill_steal_max_tries' to set max number of stealing tries. It could help to fix stealing exploit on mobs with few drops git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Added another missing prev/next = NULL setting in chat.cskotlex1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Added support for packet 0x229 (clif_changeoption).skotlex4-15/+74
- Bumped up PACKETVER to 7 to enable use of packets 0x229 and 0x22c - Small cleanup on the calculation in the skill tree regarding spirit skills. - Added missing next/prev initialization in chat-creation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6357 ↵Lance1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Clones can't be class-changed nowskotlex3-8/+9
- Readded the class == -1 distance check in npc_checknear - Replaced check sd->trade_partner for sd->state.trading in clif.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29* Using malloc for memory allocations that doesn't need to be pre-initialized.Lance14-134/+110
* Eliminated initializations for pointers returned by calloc. * Moved grfio_final to do_init since it's not used after server boot. * Optimized scripts to return CONSTSTR instead of allocating memory just to return a constant string. Some buildin functions still need work. * Disabled graph since it doesn't work yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-29- Modified the mob_db structure. The mvp related columns were moved to ↵skotlex2-86/+85
before the drops, amount of drops increased from 10 to 15. - Updated sql-files/mob_db.sql to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-28- Modified HP conversion so that it fails when you don't have enough Hp. ↵skotlex1-29/+68
Also updated it to enable casting on "someone else" (effect: target loses Hp and gains Sp based on the max HP of the caster, will someone ever use this? who knows, but it's nice to have :P) - Cleaned up Strip skills so that the skill animation will only show when something was stripped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6349 54d463be-8e91-2dee-dedb-b68131a5f0ec