Advertisement
Axelut

Resurrection time acis 401

May 15th, 2023 (edited)
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: Player.java
  2.         if ((isPet && _summon != null && _summon.isDead()) || (!isPet && isDead()))
  3.         {
  4.             _reviveRequested = 1;
  5.             _revivePower = (isPhoenixBlessed()) ? 100 : Formulas.calculateSkillResurrectRestorePercent(skill.getPower(), reviver);
  6.             _revivePet = isPet;
  7.            
  8.             ConfirmDlg confirm = new ConfirmDlg(SystemMessageId.RESSURECTION_REQUEST_BY_S1.getId());
  9. +             confirm.addString("Do you wish to Res?");
  10. +             confirm.addTime(45000);
  11. +             confirm.addRequesterId(reviver.getObjectId());
  12. +             confirm.addString(reviver.getName());
  13. +             sendPacket(confirm);
  14.            }
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement