Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread of questions
#21
I was working on changing my things around in my NPCs (read Portal To Bakaria development logs to see exactly) and after changing the getNpcMaxHP sub, I couldn't attack me NPC's. Looking into it I found this code:
Code:
' ////////////////////////////////////////////////////////
                ' // This is used for checking if an NPC is dead or not //
                ' ////////////////////////////////////////////////////////
                ' Check if the npc is dead or not
                'If MapNpc(y, x).Num > 0 Then
                '    If MapNpc(y, x).HP  0 And Npc(MapNpc(y, x).Num).DEF > 0 Then
                '        MapNpc(y, x).Num = 0
                '        MapNpc(y, x).SpawnWait = TickCount
                '   End If
                'End If

I uncommented it and it worked fine. But why has it been commented out? In a vanilla MSE1 it is commented out to...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)