SHOW:
|
|
- or go back to the newest paste.
| 1 | quest levelup_notice begin | |
| 2 | state start begin | |
| 3 | when levelup with not pc.is_gm() begin | |
| 4 | - | if math.mod(pc.level, 10) == 0 then |
| 4 | + | if math.mod(pc.level, 10, 20, 30) == 0 then |
| 5 | notice_all(string.format("Congratulations! %s reached the %d level!", pc.get_name(), pc.level))
| |
| 6 | end | |
| 7 | end | |
| 8 | end | |
| 9 | end |