Scripting for Attribute Handling on Players, Items, Totals, etc

This commit is contained in:
Kam committed 2025-03-14 05:35:23 -04:00
1 parent 7f5ba9a1c4
commit 9691c90ffc
13 files changed
+242 -46

No files matched your search

@@ -1,5 +1,6 @@
package noppes.npcs.scripted.entity;
import kamkeel.npcs.controllers.AttributeController;
import kamkeel.npcs.network.PacketHandler;
import kamkeel.npcs.network.packets.data.AchievementPacket;
import kamkeel.npcs.network.packets.data.ChatAlertPacket;
@@ -836,4 +837,6 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
public IMagicData getMagicData() {
return this.getData().magicData;
}
public IPlayerAttributes getAttributes(){ return AttributeController.getTracker(this.player); }
}