1234567891011121314151617 |
- event.load("block-break");
- setVar("amount", ggv($player-name, "rpgamount"));
- setVar("blocktype", ggv($player-name, "rpgblock"));
- @wait
- wait();
- if(equal($event, "block-break")) goto("break");
- goto("wait");
- @break
- if(equal($block-type, $blocktype)) dec("amount");
- if(lessequal($amount, 0)) {
- term();
- //jobxp erhöhen
- }
- goto("wait");
|