Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Rook System #14

Merged
merged 26 commits into from
Jan 6, 2025
Merged

[FEATURE] Rook System #14

merged 26 commits into from
Jan 6, 2025

Conversation

jprzimba
Copy link
Owner

@jprzimba jprzimba commented Jan 2, 2025

Description

This feature allow players to be rooked.

TODO

  • Configurables rook system
  • Reset player to level 1, skills and other things
  • Remove player outfits
  • Remove player mounts
  • Clear storages and leave from party
  • Remove items from inventory
  • Update The Oracle npc to work witth rook system
  • Add configurable items for players when they are sent to Rookgaard.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update (config.lua)

How Has This Been Tested

  • Killing a character below the configured levelToRook in config.lua will send them to Rookgaard, resetting skills, stats, and removing inventory items.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@jprzimba jprzimba added the enhancement New feature or request label Jan 2, 2025
jprzimba and others added 20 commits January 2, 2025 09:36
- Now rook system will get correct experience for level if level > 1
- Fix updating base speed when rooked
- If the player had a red or black skull in mainland before he was rooked, he will still have one in Rookgaard and/or  Dawnport
- All possessions except those in the character's depots, including his/her Bank Account, spells and quests are deleted upon being rooked. However, Achievements and Charm Points will remain assigned to him/her.
 - The character will lose all outfits, except those obtained through the Store, Newly Wed Outfits, and Recruiter Outfits.
@jprzimba jprzimba merged commit a308257 into main Jan 6, 2025
@jprzimba jprzimba deleted the rook-system branch January 6, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant