Poison Status
Enemies can now poison Dink taking away x amount life every second for x seconds
Dink's life bar turns green to signify that he is poisoned.
Antidote potions will lessen the effects of poison or cure it depending on the potency.
Poison resist is included but very easy to remove if you don't want it (instructions @ bottom of readme)
Works with touch monsters, attack monsters, missiles... just about anything
*Best Non D-Mod file of Q2 2010*
Dink's life bar turns green to signify that he is poisoned.
Antidote potions will lessen the effects of poison or cure it depending on the potency.
Poison resist is included but very easy to remove if you don't want it (instructions @ bottom of readme)
Works with touch monsters, attack monsters, missiles... just about anything
*Best Non D-Mod file of Q2 2010*
Released: | April 26th, 2010 |
---|---|
File Size: | 81.15 KB |
Downloads: | 116 |
Release Notes: | Initial version. |
Play: | Play this D-Mod right now in your web browser! (More Info) |
This file actually taught me a lot about scripting- if indirectly. It works by attaching a script to dink that has a hit check in it. If you're hit by a specific monster/attack it launches a new script creates the poison status and makes sure you can't walk it off(screen) to get rid of it. The script works by setting two sp_custom()s in the enemy's main(). These determine how potent the poison will be and how long it will last. Attaching a script to dink with a hit check is honestly one of the most enjoyable things I've ever messed with.
You can also be poisoned through a touch, so if you want to make a poison swamp you can totally do that. When you get poisoned your health-bar turns green and you take continuous damage until you either use one of the poison curing elixirs provided or wait until it goes away. It's a fantastic mechanic which desperately needs some loving.
I highly recommend this.
You can also be poisoned through a touch, so if you want to make a poison swamp you can totally do that. When you get poisoned your health-bar turns green and you take continuous damage until you either use one of the poison curing elixirs provided or wait until it goes away. It's a fantastic mechanic which desperately needs some loving.
I highly recommend this.