So, i'm fairly new here, still fiddling with GScript and learning it, mostly through small scripts at the moment.
Right now on my dev server I just want to try things out using the default sword, arrow, bombs etc.
My troubles are with NPCs/Baddies. Obviously the generic baddies from the Editor are deprecated and useless, so I've managed to work around that and create my own (very simple) baddy for random mobs, while I use Gambet's GBaddy (This thing kick's my arse...over...and over...even after i've tweaked him lol) for a boss.
My problem is that using the default weapons, sword mostly (Gbaddy cannot be harmed by anything else right now). I do not hurt them at all, any NPCs I have, my sword goes right through them and does not injure them. I thought Perhaps it was something with the Function OnWasH.it (Minus the .) - I used the default code from GBaddy for this function but it still didn't let me hit him, I even tweaked the line
if (this.health[0]-(player.swordpower/2) > 0) to read
if (this.health[0) > 0) so it should force the NPC to get hurt without doing any sword checks. But I still do not damage to an NPC.
Perhaps it's something with the default weapons as I have no weapons scripted? Any advice would be great

Thanks