hello, i making Desert Treasure quest.
my problem is, if you click on Vampire tomb, it spawn npc: Dessous.
if its spawn for the first time it hits you back, but if you teleport away or run Dessous gets removed in game. so if you click again on vampire tomb it spawns again Dessous but this time it doesn't hit anymore.
i found out it has to do with this code
Code:
if ((DesertBoss.isDesertBoss(this)) && (owner != null)) {
owner.setDesertNpc(null);
owner.getCombat().resetCombatTimer();
}
this code: owner.setDesertNpc(null);
if i delete that line, then the vampire tomb says that dessous already has spawned, but dessous is gone.
can anyone help me please?