Jump to content

Photo

Scripted explosions deal way too much damage to Link

Bombs Explosions lweapons

  • Please log in to reply
4 replies to this topic

#1 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 28 March 2015 - 11:44 PM

This is rather bizarre. There seems to be a discrepancy in the damage scripted BOMBBLAST and SBOMBBLAST do to enemies, and the damage they do to Link.

 

Example: I have a spell called FireBomb that makes a super bomb blast with damage set to 12. To enemies, this deals 12 HP. That's 6 times the damage of the wooden sword. To Link, it deals 12 hearts. TWELVE. HEARTS. That's half my maximum health in one friendly-fire hit.

 

I recall this bug being present long before, but back then I just worked around it. In Carnage in Space I turned off lweapons hurting the player. In Solaris, I had turned down the damage of this spell until it was near-useless.

 

So... how can I make a scripted bomb blast that will hurt me and do more than annoy enemies, but not KILL ME OUTRIGHT if I wander into it?



#2 Moosh

Moosh

    The Mush

  • Moderators

Posted 29 March 2015 - 12:17 AM

Why not create an eweapon explosion and an lweapon explosion on top of each other? Shouldn't that allow you to set the damage to Link and to enemies differently?


  • Binx likes this

#3 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 29 March 2015 - 12:23 AM

Huh... I suppose I could try that. But that means I'll have to disable lweapon explosions hurting Link, and replace the explosions the normal bombs make.



#4 justin

justin

    Adept

  • Members

Posted 29 March 2015 - 07:52 AM

Give link back a certain amount of hp if hit by the blast?

#5 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 29 March 2015 - 01:53 PM

Well... that worked. I'm a bit worried about what will happen if something else hurts you while you're in the explosion, but at least the main problem is solved.


  • Binx likes this



Also tagged with one or more of these keywords: Bombs, Explosions, lweapons

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users