Convert portal scripts to Graal

This commit is contained in:
P0nk
2021-04-17 19:59:27 +02:00
parent 938f7c9390
commit 984adc7885
6 changed files with 14 additions and 17 deletions

View File

@@ -18,9 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
importPackage(Packages.client);
function isTigunMorphed(ch) {
const MapleBuffStat = Java.type('client.MapleBuffStat');
return ch.getBuffSource(MapleBuffStat.MORPH) == 2210005;
}