Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package l1j.extendsSys;
- import l1j.server.server.model.Instance.L1MonsterInstance;
- import l1j.server.server.model.Instance.L1NpcInstance;
- import l1j.server.server.model.Instance.L1PcInstance;
- /**
- * 怪物智商解卡系統
- * @author RR-
- *
- */
- public class L1IdleAttack {
- public static void _addIdleAtk(L1PcInstance pc, L1NpcInstance targetNpc) {
- if (targetNpc instanceof L1MonsterInstance) {
- targetNpc._addAttack(1);
- }
- }
- public static void _resetIdleAtk(L1NpcInstance targetNpc) {
- if (targetNpc instanceof L1MonsterInstance) {
- targetNpc._setidleAttack(0);
- }
- }
- }
Add Comment
Please, Sign In to add comment