Jump to content

Zindokar

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Core Infomation

  • Core
    Zero

Contact Methods

  • Discord
    Zindokar

Zindokar's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Like classic hardcore servers, you can stay spirit forever. So you want modify this function from src/game/Object/Player.cpp. void Player::ResurrectPlayer(float restore_percent, bool applySickness) But according to Hardcore, soulstone an ahnk are not able to use for resurrection. So my method is like this: void Player::ResurrectPlayer(float restore_percent, bool applySickness) { ChatHandler(this).SendSysMessage(LANG_HARDCORE_DEAD); } Angel resurrection gives the message (in yellow). If someone tries to resurrect you gives the message (in yellow). But if you try to revive near your corpse, just spam the button that you wont be alive. So you can control if soulstone or ahnk you can calculate resSpellId and allow res only by those IDs. How? I need to investigate, but I remember reading some resSpellId somewhere in the code. EDIT: And duels must be edited too, because I think they don't kill you, and classic hardcore is like Mak'gora, you combat to death.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use