55 Commits

Author SHA1 Message Date
skotlex
a312cf5d84 - Corrected @whomap directly invoking msg_table[] rather than msg_txt()
- Guessed where the pet data goes in spawn packet 0x7c
- Updated Charge Attack's state from none to move_enable.
- Made tomahawk an NPC_SKILL so that it may not be plagiarized.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 14:15:20 +00:00
skotlex
827f003768 - Fixed standing up not really standing you up.
- 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://svn.code.sf.net/p/rathena/svn/trunk@6455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-03 04:02:17 +00:00
skotlex
f977066536 - Removed the unit_can_move checks in skill cast-end, they should be 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://svn.code.sf.net/p/rathena/svn/trunk@6452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-02 21:21:00 +00:00
skotlex
41aa178964 - Added -DMAPREGSQL to Makefile, commented out by default for now.
- 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://svn.code.sf.net/p/rathena/svn/trunk@6435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 21:14:27 +00:00
skotlex
54d5c82e12 - Skills with the move_enable state won't get the walkdelay increased on a skill-cast.
- Changed TK_RUN's state from none to move_enable.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 05:01:15 +00:00
skotlex
0c0fe1e647 - Merged the code of NJ_SHADOWJUMP with TK_JUMPKICK.
- Moved the hiding requirement to the skill_require_db.txt as it should be.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-30 17:20:31 +00:00
skotlex
e5ee6b1fc0 - Changed the npc_id mismatch warning to be more informative.
- Modified @monster command to use map_search_freecell (prevents mobs spawning on non-walkable tiles)
- Modified @nuke to invoke skill_cast_nodamage_id instead of the damage_id version (fixes sprite and splash damage for the skill)
- Corrected Venom Knife's requiring two knives per use.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-17 00:57:42 +00:00
skotlex
e030ff6086 - Modified @allstats to prevent negative/overflow issues.
- Fixed HP/SP requirements for WE_MALE/WE_FEMALE
- Fixed a typo in skill.h which fixes a compilation warning.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 13:49:29 +00:00
skotlex
bafbe708b2 - Modified the item_db and added view_types to ammo: 1 arrows, 2 dagger (venom knife), 3 bullets, 4 shells, 5 grenades, 6 shurikens, 7 kunais.
- Fixed parsing of job_db1.txt due to the MAX_WEAPON_TYPE change.
- Updated skill_require_db to specify the ammo types required for GS/NJ skills (as best as I could understand them)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-06 00:02:50 +00:00
reddozen
4a125139e4 setting arrows to 1 wont work... the server was looking for daggers to be equipped into your arrow slot. so i set arrows to 22 in the item DB and in skill require.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 06:20:04 +00:00
skotlex
a1eabcc481 - Fixed skill_require_db loading.
- Added a column to specify the amount of ammo required for skills that require ammo.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 18:19:10 +00:00
skotlex
b1a0b58110 - Changed the look field of all arrows to 1.
- Added column "RequiredArrowType" to skill_require_db, set to 1 all arrow-based skills.
- Added support for ArrowType requirement on skills. It checks for having an item equipped on the arrow-slot who's view has to match with the required arrow-type (works the same way it does for weapons).
- Skills will automatically be ranged and arrow-types when they have a arrow-requirement.
- Skills will automatically consume arrows if used with a bow and the skill is an attack weapon-based skill even if the skill_require_db doesn't specifies arrow requirements (this is for stuff like backstab used with bows)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-31 17:22:06 +00:00
Lupus
26782193f2 updated sp cost (from stable)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-30 13:04:13 +00:00
Lupus
3209b9e3af upd: sp cost, item weight
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-29 16:44:59 +00:00
reddozen
26fb455a43 * Fixed Gunslinger and Ninja skills not showing up and not working due to an error
in skill_require_db
	  - also commited a commented block for GS_FLING that needs to be looked at and posiably
	    cleaned before it's uncommented.
	  - fixed exp2 not accepting Gunslingers and ninjas
	  - fixed the "jobmaster" having the same problem as rebirth
	  - added the Gunslinger shops for guns and ammo [Reddozen]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-28 10:26:32 +00:00
Vicious
5dfd882273 jA's db work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 19:21:27 +00:00
reddozen
7f2dafc887 * Fixed / finished most of Gunslinger [Reddozen]
- fixed some bullets in the item DB
  - adjusted a few rates in skill_cast_db.txt for Gunslingers
  - adjusted a couple skills in skill_db.txt to act correctly
  - adjusted all the SP values for Gunslinger skills
  - changed piercing shot to lv 5 from lv 10
  - made ki Translation fail giving coins to Gunslingers
  - equipping a weapon other than a gatlin gun should cancel SC_GATLINGING. Also made Gatlinfeaver on/off togelable
  - GS_CRACKER will no longer stun players
  - added GS_Disarm

* View changes here:
http://diviniaro.com/data/reddozen_3_24_2006.patch

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 23:13:37 +00:00
skotlex
b6ff4970fa - Changed Preserve's cost to 30sp
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS
- Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-23 01:56:52 +00:00
Lance
a4bf5eb3d0 [reddozen's fix]
- Updated Full Buster's damage, status effects, and skill levels
- Bullseye now only uses 1 coin
- changed Adjustment's required SP
- changed Incerase Accuracy's effect bonuses
- changed Magical Bullet's SP cost
- changed Piercing Shot's damage and SP
- changed Desperado's range, hit count, aftercast delay, and SP
- fixed Absorb Spirit Sphere being able to remove coins
- changed Acid Demonstration's damage to the new Japanese formula

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 07:24:47 +00:00
MasterOfMuppets
9a0ac94596 A small fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-16 23:05:49 +00:00
Vicious
ae8573f399 * included MAX_WEAPON_SIZE for flexible weapon types
* more ninja/GS work

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 05:43:51 +00:00
Vicious
10f9078ab9 some skill check condition
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-08 15:43:04 +00:00
Vicious
396e392fd0 more ground work for ninja/GS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-07 21:11:54 +00:00
blackhole89
fc52720f62 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5499 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-07 21:00:09 +00:00
skotlex
c1263b25da - Hiding cancels Close Confine.
- Added the move enable condition to High Jump and Jump Kick.
- ST_MOVE_ENABLE now also checks for pc_can_move(), and only perform a walk check if the skill is ground targetted.
- Moved the berserk_cancel_buffs code to status_change_start.
- Moved most checks of status_isimmune() to status_get_sc_def
- Allowed Endow skills to go through status_isinmune characters.
- Added variable type to skill_castend_nodamage_id which holds the value of SkillStatusChangeTable[skillid] to simplify code reading afterwards.
- Fixed PR_BENEDICTIO not taking away all SP
- Fixed the most horrible typo ever. (SC_STAN -> SC_STUN)
- Added StatusSkillChangeTable which returns the Skill for a given SC. Used in skill_additional_effect for SC cards.
- Removed the whole ugly static implementation of SkillStatusChangeTable, see status_initChangeTables() for new format which is much easier to read.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-14 21:35:53 +00:00
skotlex
8ab9f5988d - Weapon Repair update. Cost to 30SP, cast time to 7500, interruptable.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 14:32:42 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +00:00
(no author)
d5b829dbfb * Fixed a mistake that was causing Ruwach to only work in PvP and PvM
* Updated code for Joint Beat

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-03 04:32:15 +00:00
(no author)
d530bc485d Fixed a typo in Pressure causing it to deduct sp from the caster, and remove its sp_rate requirement
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-01 14:51:58 +00:00
celest
2d61cf08f7 * Added 'bDelayrate' and changed Phen card, Marduk Card and Berzebub Card's effects to use this
* Some tidying up of skill_castfix and skill_delayfix

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-07 07:28:20 +00:00
celest
b249fe2444 * Updated Sacrifice
* Fixed compile errors in party.c
* Moved SC_EDP back to 114

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-23 11:44:57 +00:00
celest
b7690af868 * Corrected job requirements for some garments
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 10:52:16 +00:00
celest
adcd97b45e * Added the new spell scrolls
* Corrected a few skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-16 16:51:12 +00:00
celest
6f77353e4c * Updated Forging and Potion making formulas
* Modified guild skills
* Initialise 'canregen' when logging into map
- Updated Steel Body, Thunderstorm, Investigate and Magic Crasher
- Removed elunium and oridecon from produce_db

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-15 19:37:40 +00:00
celest
fa5bc90101 * Added nullpo_retb
* Replaced some parts in skill.c with nullpo checks
* Updated most of 12/14's skills patch

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-13 19:02:17 +00:00
celest
83ce547b5a * Added 'Throw Tomahawk'
* Added some new monster skills - still not complete.
* Adjusted Palm Strike, Tiger Fist and Chain Crush
* Removed redundant 'sg_count'
* Save both persons' data after trading
* Removed 'type' paramater from pc_unequipitem
* Moved unequip checking code from clif.c to pc.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-13 13:54:56 +00:00
celest
6b295f3eb7 - Shooting skills will now need arrows
* Added 'guildgetexp' script command
* Added bLongAtkRate item effect
* Updated Bow Thimble, Archer Skeleton Card, Tribal Solidarity, Sleipnir, Brisingamen, Mjolnir, Megingord, Counter Dagger, Poison Knife
* Updated SP requirements for Full Strip, Full Chemical Protection, Cannibalize

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-07 08:16:25 +00:00
celest
917f07c754 Changed spiritball requirements for Chain Crush to 1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-06 11:50:46 +00:00
celest
18788ab4ea * Updated Stone Curse, Soul Drain, Auto Berserk
* Fixed MVP exp being multiplied twice

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-03 11:57:50 +00:00
celest
5e8f67eb9d - Updated Poison React
- Added Soul Change, Soul Burn
- Added a somewhat crude timer for Venom splasher
- Added a fix for Guild Skills causing crashes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@431 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-01 16:00:51 +00:00
Lupus
e0f0b2249b Fixed Abrakadabra skill
and 2 minor bugs in skills.c (related to consumed items)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-26 20:49:37 +00:00
celest
af56e64377 Finished Full Strip, Weapon Refine, Slim Pitcher and Full Protection
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-26 10:02:29 +00:00
Lupus
f2fc05fe17 restored some db files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-24 08:47:22 +00:00
(no author)
dfda8e8e45 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@341 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-24 07:45:00 +00:00
celest
3af0e7d98a - Added some code for the new guild skills (10%) and Moonlit
- Corrected Hilt Binding and Assassin Cross' dual wield

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-23 09:33:44 +00:00
celest
a9276df18a changed weapon requirements for Sharp Shooting
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-23 02:29:35 +00:00
celest
c7058348a0 Updated napalm vulcan, enchant and create deadly poison, slow poison, meteor assault.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@266 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-20 10:41:21 +00:00
valaris
d92c9ac88a * Re-added check for empty bottle when using aqua benedicta.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-19 14:59:02 +00:00