Skip to content
Youtube-Lede edited this page Apr 12, 2021 · 26 revisions

레벨과 경험치

플레이어에게 경험치는 어떻게 지급하나요?

  • 레벨 시스템에서 다음 함수를 제공합니다.
rpp_RunExp(p:offlineplayer, exp:number)
  • 제공되는 함수를 이용하여 플레이어에게 경험치를 지급할 수 있습니다.
  • 사용 예시는 다음과 같습니다.
on break:
  if event-block is stone:
    rpp_RunExp(player, 100)

command /getExp:
  trigger:
    rpp_RunExp(player, 1)

Clone this wiki locally