Recieve DoT without specific item in an area
Possible for code to make a character receive damage over time if that character does not have a specific item equipped in an area?
For example.. Your toon will recieve X damage per second if you walk on lava WITHOUT an item equiped eg; Fire Walker Boots
Thanks
13 years, 27 weeks ago
|
Re: Recieve DoT without specific item in an area
Its possible. Its going to require a timer though. I would post some code but im currently on my phone.
---
Andrewbob - I would be on the fucking copter of rofls
Programmer, Web Developer, and Graphics Designer
13 years, 27 weeks ago
|
DanScott

Joined: 19th Aug 2010
Posts: 1212
Re: Recieve DoT without specific item in an area
https://eoserv.net/forum/topic/6162
this code should be easy enough to modify for a recent rev, and just add the if statement for the item req, like if (!character->hasitem(id)) just throwing that out there. I might give it a shot and tell you how I get on. ---
If money doesn't grow on trees, then why do banks have branches?
13 years, 27 weeks ago
|
Re: Recieve DoT without specific item in an area
okay cool, i have no clue about anything involving code but I can tell im gna learn alot from making this game of mine
13 years, 27 weeks ago
| | | |