Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
forcefully cast skill on on invoking character.
|
|
skill without cast time.
|
|
* itemskill() script command should check for the skill's conditions and also consumes them. SP are not consumed.
* The same applies to Hocus-pocus skill. Conditions should be checked and consumed, SP are not consumed.
* This was bugged for more than 6 years now. See linked bug report and commits.
Related bug:
* https://herc.ws/oldboard/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/
Related commits:
* https://github.com/HerculesWS/Hercules/commit/b864056b8d088660fca9129bddad477732ed8df9
* https://github.com/HerculesWS/Hercules/commit/07272f7a16db87970583286db03167ca79604a69
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Dehardcode Status Icons
|
|
Fix ud->target_to not being cleared appropriately
|
|
|
|
|
|
It has a chance to roll for enemy and heal the enemy,
While calculating the chance was correct,
it was getting the enemy with battle->check_target.
But unit->stop_attack has been called before in
unit->skilluse_id2, making battle->check_target return NULL at that
point, since it has no attack target anymore.
So it defaulted to heal the Homunculus itself, instead of the
enemy.
|
|
This fixes not being able to use Homunculus skills when having
90% overweight.
This also fixes not being able to use Homunculus skills when the owner has
low HP or SP, even though the Homunculus has enough HP or SP to use the
skill.
|
|
Update unitwarp script command.
|
|
|
|
- allow NPC to warp to non-walkable cell. Just like `*movenpc`
|
|
|
|
Fix allychat leaveguild
|
|
This removes some shady array compaction code and prepares the ground
for some further fixes.
Signed-off-by: Haru <haru@dotalux.com>
|
|
* The defense penalty for being attacked by many enemies at the same time can no longer make DEF go negative
* Fixed two potential overflow exploits
When being hit by a lot of monsters, your DEF will become negative and then eventually overflow, making you almost invincible.
On official servers the simultaneous attacker count is limited to 22. So at max, your def is reduced by ((22-2)*5%) = 100%. So it should neither be able to make your DEF negative nor cause an overflow.
Merge from https://github.com/rathena/rathena/commit/590f42cd15c58de78cff8be6053109852375bce1#diff-d96b6365b4bdad78139e676d6e7e3295R4589
|
|
|
|
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
Script Commands -
```
achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>});
```
Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out.
This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules.
Does not include the title system yet.
A big thanks to -
@MishimaHaruna for constantly reviewing.
@4144 for all the support.
@Asheraf for a lot of official information.
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
|
|
|
|
This fixes issues with plugins defining symbols with the same names
Signed-off-by: Haru <haru@dotalux.com>
|
|
Add new *pcblock script command
|
|
|
|
thanks to @MishimaHaruna for the updated syntax
|
|
Implemented HatEffect
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Allows the player to have hatEffect specialeffects.
Base taken from rAthena
|
|
All official features work including the autokick for inactive members
And the system is completely customizable.
|
|
- This improves the Dancer Quest experience as well as other cases of
hidden NPCs blocking off certain cells
- Fixes #1135
Signed-off-by: Haru <haru@dotalux.com>
|
|
Remove loading and saving of storage_data through char.c
Re-declaration of structure storage_data as a vector.
Re-code of portions in the map-server using storage_data.
A new approach is taken by saving the loaded storage data from sql into memory for the duration of the session, thereby removing the need of querying the database to re-load all items everytime a storage save routine is issued from the map-server.
Saving of storage items is done through a new function that significantly reduces the number of queries compared to char_memitemdata_tosql(), and therefore run-time speed. This method potentially reduces the number of update and delete queries from MAX_STORAGE (which could be >= 600) times to literally 1.
Storage items are stored in a dynamically allocated array and handled accordingly.
struct mmo_charstatus size reduces by 34,800 bytes.
Update pc_checkitem() with masks for item checks.
`sd->state.itemcheck` has been changed to `sd->itemcheck` of type `enum pc_checkitem_types`
`battle/items.conf` has been updated to reflect configuration changes.
Further updates to assert a successful reception of storage data in related functions.
|
|
kRO does not prevent players from logging out after connecting to its zone servers.
Credits to @secretdataz of rAthena
|
|
Fix assert in unit_resume_running.
|
|
Fixes Range Exploit
|
|
Fix issue from http://herc.ws/board/topic/13719-map-error-need-help-here/
|
|
|
|
Duration: (5+(2*SkillLv)) seconds.
Cannot be used on Boss Monsters. Effect is cancelled when Heaven's Drive
or Trample is used.
Enemies trapped on roots receive poison property damage.
|
|
Skill Cannot be Used on GvG/Battlegrounds.
Cast time of Emergency Call doubles.
Moves to Another Position by performing High Jump:
Lv 1: Move 6 cells
Lv 2: Move 10 cells
Lv 3: Move 14 cells
|
|
Transforms into Bush.
|
|
issue#841
Original Commit by Playtester on rAthena, https://github.com/rathena/rathena/commit/6f74f67da060a063183e1147dfc893c9454af853
* Players will no longer get +2 range server-sided when using a target spell
* This will prevent players from modifying the client to get extra range
|
|
- Don't skip the check for Free Cast's absence unless the cast skill's
INF2_FREE_CAST_* flags aren't unset.
- Follow-up to 19a06cae9a03ae7c390db18ca95b74bd6033dc4e
- Fixes #1439
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- The check was originally meant to have guild skills ignore
SA_FREECAST (and always block movements)
- Since 8953417
- Fixes #1428
Signed-off-by: Haru <haru@dotalux.com>
|
|
New SkillInfo attributes:
FreeCastReduced - allow move while casting with slowdown
FreeCastNormal - allow move while casting with normal speed
|
|
|
|
Introduce method unit->init_ud.
|
|
- Chat IDs are signed integers.
- Resolves various warnings, depending on the compiler settings.
Signed-off-by: Haru <haru@dotalux.com>
|